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

Moderator: AlvaroSousa

Post Reply
Journier
Posts: 349
Joined: Sun Mar 28, 2010 3:41 pm

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

Post 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
User avatar
AlvaroSousa
Posts: 12076
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

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

Post by AlvaroSousa »

I fixed the air unit for 1941 thanks

The scripts should be firing. I tested them out myself just now.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Journier
Posts: 349
Joined: Sun Mar 28, 2010 3:41 pm

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

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

User avatar
AlvaroSousa
Posts: 12076
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

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

Post by AlvaroSousa »

I did. There was some other things wrong. The new v1.00.004c is out in beta and it fixed all that.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Post Reply

Return to “MODS and Scenarios”