Page 1 of 1

_Event file, and making dated changes to units on map.

Posted: Wed Dec 11, 2019 4:01 pm
by Journier
So i found the following set of dated changes to increase russian unit stats, in the 1941 scenario folder for events.

//USSR air units increase in values as 1933 I-15s and I-16s are replaced with modern aircraft in 1942
$ChangeUnitAttributes
if_Date=1/1/1942
lifespan=tillTrigger
targetCountry=4
unitID=11
stats=20,0,0,0,0,7,2,0,1,0,1,2,7,2,6,180,180,1,1
text=The USSR replaces obsolete fighters in noticable amounts. Air combat is increased to 7 and defense to 6 for air superiority groups.
$End

however the 1941 scenario the russian fighter stats for me are showing 7 air combat, and 6 defense already at start of scenario.

What occurs to make this event pop? is it simply the date being passed, or is there some other triggers im not seeing?

also currently testing the mechanized and armor dated unit changes and seemingly they dont function? the ones from 3/1/42 and 9/1/42

RE: _Event file, and making dated changes to units on map.

Posted: Thu Dec 12, 2019 12:05 am
by AlvaroSousa
I fixed the air unit for 1941 thanks

The scripts should be firing. I tested them out myself just now.

RE: _Event file, and making dated changes to units on map.

Posted: Thu Dec 12, 2019 12:17 am
by Journier
did you test in the 1941 scenario mech and armor events for operation points?

I just ran a test game in the base scenario 1941, and they didnt fire at the 3/1/42 mark nor at the 9/1/42 mark unless the trigger is more than just the date but i dont see that in the event. or and also the 1942 start scenario maybe as well an issue.

Sorry to bother you :) Really im just trying to wrap my head around the event system and noticed these things.


RE: _Event file, and making dated changes to units on map.

Posted: Fri Dec 20, 2019 10:58 pm
by AlvaroSousa
I did. There was some other things wrong. The new v1.00.004c is out in beta and it fixed all that.