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

Herodotus

First Lieutenant
23 Badges
Jan 5, 2005
219
0
  • Europa Universalis III Complete
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Europa Universalis III: Collection
  • 500k Club
  • Semper Fi
  • Rome Gold
  • Hearts of Iron Anthology
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • Arsenal of Democracy
I stumbled across the ai-reactive.txt in the event folder...it is a nice idea to make the ai react to arms buildup in other ai or human controlled countries.

But how should the text look like if you want to add multiple brigades to a unit build command?
Eg a BB can have some 4 brigades. I know how to add one brigade to a unit build command...but how to make it mulitple brigades?


name = "AI_EVENT"

action_a = {
ai_chance = 60 # Build another CV TF & Naval Bomber
command = { type = build_division which = naval_bomber value = escort }
command = { type = build_division which = battleship value = naval_fire_controll_l }
command = { type = build_division which = light_cruiser value = naval_fire_controll_s }
command = { type = build_division which = destroyer value = naval_anti_air_s }
}
 
good question...I dont think its possible by event..ther is only space for one brigade..have you tried adding one more in the same bracket
Code:
[B]command = { type = build_division which = battleship value = naval_fire_controll_l [COLOR="Yellow"]value = naval_anti_air_s[/COLOR] }[/B]
seems an oversight when changing hardcoded things and making amendmends to the scripting language...

same goes for max_strength...only can used in scenario csv files but not in events (to create understrength units) durnig t game by event
another oversight is locking and unlocking divisions by their name rather than id cause if you throw a division into the game by event you dont know the id obviously...LOL...this could very useful for making even more detailed scenarios and campaigns