UK / Pacific event file issue

Moderator: AlvaroSousa

Post Reply
User avatar
stjeand
Posts: 2702
Joined: Sun Jan 10, 2021 1:14 pm
Location: Aurora, NC

UK / Pacific event file issue

Post by stjeand »

Found what looks like an issue in the event file.


//UK resources get reduced due to Japan entering the war
$GiveResource
if_Date=12/7/1941
actionCountry=1
lifespan=tillTrigger
//reduced 40 production resource to 20 production resource
xyArea=237,76,60
addReportTo=All
$End


This does not work since the xyArea is in the middle of the Ural mountains and not owned by the UK.

It states it is changing the location removing 20 resources.

The UK Pacific resources listed are 25, 20, 20 in the 0 row.


Honestly what should happen is all those resources should be gone...since they are in WPP and being used there.
BUT since that might change things to much...just need to fix this to be correct.


I am guessing it should be:

//UK resources get reduced due to Japan entering the war
$GiveResource
if_Date=12/7/1941
actionCountry=1
lifespan=tillTrigger
//reduced 20 production resource to no production
xyArea=237,0,0
addReportTo=All
$End


That would remove a 20 PP spot.
User avatar
AlvaroSousa
Posts: 12127
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: UK / Pacific event file issue

Post by AlvaroSousa »

Weird I have fixed this twice so far. Maybe I forgot to save it?
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
User avatar
AlvaroSousa
Posts: 12127
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: UK / Pacific event file issue

Post by AlvaroSousa »

Ok fixed.
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
User avatar
stjeand
Posts: 2702
Joined: Sun Jan 10, 2021 1:14 pm
Location: Aurora, NC

RE: UK / Pacific event file issue

Post by stjeand »

Might I ask what is the fix?

Is it to basically remove one of the 20 PP locations or change the 25 to 5? I want to put that in my test with Harry coming up where we change rail repair to 2...
User avatar
stjeand
Posts: 2702
Joined: Sun Jan 10, 2021 1:14 pm
Location: Aurora, NC

RE: UK / Pacific event file issue

Post by stjeand »

I added my guess and it worked as expected...

The production spot was removed so -20 as designed.

Just wanted to duplicate what you were doing in the next patch was all.
Post Reply

Return to “War Plan: Tech Support”