• 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
182
11
  • 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?
 

KostasL

Dead already!
6 Badges
Jan 17, 2005
1.025
65
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • 500k Club
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
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 ?
 

Endibear

Second Lieutenant
11 Badges
May 20, 2004
182
11
  • 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
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
 

Endibear

Second Lieutenant
11 Badges
May 20, 2004
182
11
  • 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
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
 

Titan79

War is over! if you want it
48 Badges
Sep 11, 2005
3.377
298
  • Victoria 2: Heart of Darkness
  • Europa Universalis III Complete
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Sword of the Stars
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Heir to the Throne
  • Warlock 2: The Exiled
  • 500k Club
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Achtung Panzer
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Hearts of Iron III
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...
 

Endibear

Second Lieutenant
11 Badges
May 20, 2004
182
11
  • 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
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]
 

Endibear

Second Lieutenant
11 Badges
May 20, 2004
182
11
  • 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
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 }
 

NiL_FisK|Urd

First Lieutenant
24 Badges
Mar 21, 2012
249
0
  • Arsenal of Democracy
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Age of Wonders III
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • 500k Club
  • Stellaris: Synthetic Dawn
  • Semper Fi
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Darkest Hour
  • Crusader Kings II
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: