• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Status
Not open for further replies.

Limith

Modding for Myself
18 Badges
Apr 7, 2010
3.740
369
  • Darkest Hour
  • Deus Vult
  • East India Company
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Heir to the Throne
  • Rome: Vae Victis
  • Rome Gold
  • Sword of the Stars
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Stellaris Sign-up
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
From event_commands.txt"
Code:
# UNIT VALUES
# [unit value] = soft_attack/hard_attack/ground_defense/air_attack/air_defense/build_cost/build_time/manpower/speed/max_organization/transport_weight/supply_consumption/fuel_consumption/speed_cap_art/speed_cap_eng/speed_cap_at/speed_cap_aa
#
# Land unit bonuses
	type = [unit value] which = [land/division type/brigade type] value = [additive value modifier] }
command = {type = ground_defense which = land value = 3} returns an error.
 
Upvote 0

Limith

Modding for Myself
18 Badges
Apr 7, 2010
3.740
369
  • Darkest Hour
  • Deus Vult
  • East India Company
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Heir to the Throne
  • Rome: Vae Victis
  • Rome Gold
  • Sword of the Stars
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Stellaris Sign-up
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
I found a different way of doing what I wanted that works which is not in the documentation:

command = { type = defensiveness ...}.

I'm sure ground_defense doesn't work.

Also, the documentation does not include (the perfectly working)

command = { type = task_efficiency which = planned_defense value = X}

I know there are some other errors in the event documentation, but I don't remember them all offhand.
 
Status
Not open for further replies.