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

vonCarstein1984

Second Lieutenant
35 Badges
Sep 26, 2007
104
0
  • Arsenal of Democracy
  • Hearts of Iron Anthology
  • Hearts of Iron III Collection
  • Majesty 2 Collection
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Pillars of Eternity
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Apocalypse
  • BATTLETECH: Heavy Metal
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Stellaris
  • 500k Club
  • Victoria 2
  • Steel Division: Normand 44 - Second Wave
  • Crusader Kings II
I want that certain techs to increase the combat values of my units
(f. e. researching better a better Machinegun should give increased soft attack values to all the units in the infantry tree)
is that doable?

because I remember mod_34 where there was kind of a workaround implemented with a std country annexing anonther std country (offmap countries) and when that happend the values of all units got upgraded...
is such a workaround still necessary?

edit: nevermind it's working fine i just had a typo.. -.- sorry

edit2: No I got it wrong. It's not working fine.
Thats the command I'm using:

command = { type = soft_attack which = infantry value = 1 when = now }

All the units I already built got the upgrade but all units that I build afterwards dont get the bonus. Has anyone an idea on how i could do that?
It seems I now finally found the reason for the workaround (std annexed std thingy) in Mod34

edit3: ok.. in case any one is interested I'll post it here:
this is peculiar
when I change when = now to when = on_upgrade something strange happens...
the game now somehow remembers which upgrades a unit is supposed to get (I'm not sure how its doing that but ok)
but it only executes the change when something happens... f. e. anyone annexes anybody...

does anyone know what kind of "event" triggers on_upgrade?
because having 2 countries that own dummy provinces and that keep annexing each other seems to be a rather inelegant solution
or maybe anyone knows a different "when =" option I could use for the same effect?
 
Last edited: