• 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.

Endibear

Second Lieutenant
11 Badges
May 20, 2004
184
12
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Darkest Hour
  • Hearts of Iron III
  • Iron Cross
  • Victoria 2
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
Hello, I have a little problem.

Via event, I will add german tech-team ARADO researchtype "artillery" with this command:

command = { type = add_team_research_type which = 3 value = artillery }

but I get "mechanics", can anybody help me?
 
This command of yours seems correct and should do the job !
command = { type = add_team_research_type which = 3 value = artillery }

Does this event of yours, include several other commands ?
 
Many thanks,

Here is my next question, if I put this command, I get an "illegal command error".

command = { type = tactical_attack = multi_role value = 10 }

What is wrong?

tia
 
Thanks,

"10" was an copy&paste error, correct = 1.

my new try ends with this error " illegal command type" type = tactical_attack line ... file ... and crash

tia
 
Thanks,

"10" was an copy&paste error, correct = 1.

my new try ends with this error " illegal command type" type = tactical_attack line ... file ... and crash

tia
You're welcome. Actually, I've deleted my former reply, as you can see, since I misunderstood what you meant - but the "10" was indeed the cause of the problem :D .

As for the new issue, I don't know, sorry...
 
Yes Sir, but in the event commands

# Air unit bonuses
command = { type = [air_attack/strategic_attack/tactical_attack/naval_attack/air_defense/build_cost/build_time/manpower/speed/surface_detection/air detection/transport_capacity/supply_consumption/fuel_consumption/range]
which = [air/division type/brigade type]
value = [additive value modifier]
 
My command-testing looks like this:
command = { type = speed which = multi_role value = 1 }
command = { type = tactical_attack = which = multi_role value = 1 }
command = { type = air_attack which = multi_role value = 1 }
command = { type = naval_attack which = multi_role value = 1 }
command = { type = air_defense which = multi_role value = 1 }
command = { type = strategic_attack which = multi_role value = 1 }
command = { type = range which = multi_role value = 50 }
 
Several strings in event_commands.txt are plain wrong or outdated - e.g. the gas commands are from HOI 1 or Victoria.
Try hard_attack and soft_attack instead.
 
Last edited: