Jump to content

Resource event problem!


Recommended Posts

Not sure what happened but after i installed the new editor and made a few changes in other areas is trated to play my mod that starts 1938, in my first turn all these resource events fired even US activation is only 5%, when i played yesterday before i had new editor installed but the new patch for the game it worked fine!

There are a few other resource events that do not fire (USSR, IRAN, UK and one German)

; Goebbels demands Industry to Mobilize For Total War

{

#NAME= Goebbels demands Industry to Mobilize For Total War

#POPUP= Goebbels demands Industry to Mobilize For Total War

#IMAGE= goebbels.bmp

#SOUND= industry.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#COUNTRY_ID= 5

#TRIGGER= 100

#GV= 1[1,100]

#LINK= 0[0]

#DATE= 1943/02/18

#RESOURCE= 108,23

#RESOURCE= 102,33

#RESOURCE= 100,29

#RESOURCE= 110,31

#RESOURCE= 111,31

#RESOURCE= 106,30

; Set Variable Condition:

; 1st Line - Germany politically aligned with Axis and not surrendered

#VARIABLE_CONDITION= 5 [1] [100] [0]

; Dummy Condition Position, always satisfied

#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]

}

; USA Victory in the Pacific

{

#NAME= USA Victory in the Pacific

#POPUP= Japan Surrenders, US Industry Mobilizes For Total War In Europe

#IMAGE= american_industry.bmp

#SOUND= industry.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#COUNTRY_ID= 3

#TRIGGER= 100

#GV= 1[1,100]

#LINK= 0[0]

; Failsafe Activation Date on Surrender of Japan

#DATE= 1945/08/15

#RESOURCE= 0,25

#RESOURCE= 0,26

#RESOURCE= 0,27

#RESOURCE= 0,28

#RESOURCE= 0,29

#RESOURCE= 0,30

#RESOURCE= 0,31

; 1st Line - US politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 3 [2] [100] [0]

; Dummy Condition Position, always satisfied

#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]

}

; Roosewelt demands 48hrs weeks at 32 key industries to increase production before D-day

{

#NAME= Roosewelt demands 48hrs weeks at 32 key industries to increase production before D-day

#POPUP= Roosewelt demands 48hrs weeks at 32 key industries to increase production before D-day

#IMAGE= american_industry.bmp

#SOUND= industry.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#COUNTRY_ID= 3

#TRIGGER= 100

#GV= 1[1,100]

#LINK= 0[0]

; Failsafe Activation Date 430209

#DATE= 1943/02/09

#RESOURCE= 1,26

#RESOURCE= 1,27

#RESOURCE= 1,29

#RESOURCE= 1,30

#RESOURCE= 1,31

; 1st Line - US politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 3 [2] [100] [0]

; Dummy Condition Position, always satisfied

#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]

}

; USA Victory in the Pacific

{

#NAME= Canadian Industry Mobilizes For Total War

#POPUP= Canadian Industry Mobilizes For Total War

#IMAGE=

#SOUND= troops2.wav, industry.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#COUNTRY_ID= 14

#TRIGGER= 100

#GV= 1[1,100]

#LINK= 0[0]

; Failsafe Activation Date on Surrender of Japan

#DATE= 1945/08/10

#RESOURCE= 0,22

#RESOURCE= 0,23

#RESOURCE= 0,24

; 1st Line - US politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 3 [2] [100] [0]

; Dummy Condition Position, always satisfied

#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]

}

Link to comment
Share on other sites

These script did not fire 1938 in my first turn:

; Successful Soviet Five Year Plan

; Extra Oil at Krasnovodsk

{

#NAME= VARIANT - Successful Soviet Five Year Plan

#POPUP= VARIANT - Successful Soviet Five Year Plan

#IMAGE=

#SOUND= industry.wav

#FLAG= 1

#TYPE= 0

#AI= 0

#LEVEL= 0

#GV= 1[1,100]

#LINK= 0[0]

#COUNTRY_ID= 4

#TRIGGER= 5

#DATE= 1946/01/01

#RESOURCE= 169,44

; Set Variable Condition:

; 1st Line - USSR politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 4 [2] [100] [0]

#CONDITION_POSITION= 135,21 [0,0] [1,1] [1] [0]

#CONDITION_POSITION= 130,31 [0,0] [1,1] [1] [0]

}

; Iran Begins Oil Production

; Extra Oil at Abadan

{

#NAME= VARIANT - Iran Increases Oil Production

#POPUP= VARIANT - Iran Increases Oil Production

#IMAGE=

#SOUND= industry.wav

#FLAG= 1

#TYPE= 0

#AI= 0

#LEVEL= 0

#GV= 1[1,100]

#LINK= 0[0]

#COUNTRY_ID= 23

#TRIGGER= 5

#DATE= 1946/01/01

#RESOURCE= 165,65

; Set Variable Condition:

; 1st Line - USA politically aligned with Allies and not surrendered

; 2nd Line - USSR politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 3 [2] [100] [0]

#VARIABLE_CONDITION= 4 [2] [100] [0]

; dummy condition position

#CONDITION_POSITION= 0,2 [0,0] [0,0] [0] [0]

}

; USSR rebuilds industry in the Urals

; Smolensk or Dnepropetrovsk triggers Kuibyshev, Sverdlovsk, Chelyabinsk and Magnitogorsk

{

#NAME= Urals Industry

#POPUP= USSR Rebuilds Damaged Industry In The Urals

#IMAGE=

#SOUND= industry.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#GV= 1[1,100]

#LINK= 0[0]

#COUNTRY_ID= 4

#TRIGGER= 40

#DATE= 1943/01/01

#RESOURCE= 159,18

#RESOURCE= 171,15

#RESOURCE= 172,17

#RESOURCE= 170,20

; Set Variable Condition:

; 1st Line - USSR politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 4 [2] [100] [0]

#CONDITION_POSITION= 135,21 [0,0] [1,1] [1] [0]

#CONDITION_POSITION= 140,34 [0,0] [1,1] [1] [0]

}

; USSR rebuilds industry in the Urals

; Kharkov or Kursk triggers 6 resources

{

#NAME= Urals Industry

#POPUP= USSR Rebuilds Damaged Industry In The Urals

#IMAGE=

#SOUND= industry.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#GV= 1[1,100]

#LINK= 0[0]

#COUNTRY_ID= 4

#TRIGGER= 40

#DATE= 1943/07/01

#RESOURCE= 172,22

#RESOURCE= 172,19

#RESOURCE= 173,10

#RESOURCE= 173,13

#RESOURCE= 175,15

#RESOURCE= 175,19

#RESOURCE= 175,22

#RESOURCE= 175,17

; Set Variable Condition:

; 1st Line - USSR politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 4 [2] [100] [0]

#CONDITION_POSITION= 141,30 [0,0] [1,1] [1] [0]

#CONDITION_POSITION= 139,27 [0,0] [1,1] [1] [0]

}

; UK Industry Activation

; Start of WWII triggers activation of UK industry

{

#NAME= UK Industry Activation

#POPUP= UK Industry Activation

#IMAGE=

#SOUND= industry.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#GV= 1[1,100]

#LINK= 49[1]

#COUNTRY_ID= 1

#TRIGGER= 100

#DATE= 1939/09/01

#RESOURCE= 84,23

#RESOURCE= 88,21

; Set Variable Condition:

; 1st Line - Poland politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 33 [2] [100] [0]

; dummy condition position

#CONDITION_POSITION= 0,2 [0,0] [0,0] [0] [0]

}

; German Industry Activation

; Start of WWII triggers activation of Bonn and Essen industrial area

{

#NAME= German Industry Activation

#POPUP= German Industry Activation increases

#IMAGE=

#SOUND= industry.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#GV= 1[1,100]

#LINK= 49[1]

#COUNTRY_ID= 5

#TRIGGER= 100

#DATE= 1939/09/01

#RESOURCE= 98,30

#RESOURCE= 99,26

; Set Variable Condition:

; 1st Line - Poland politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 33 [2] [100] [0]

; dummy condition position

#CONDITION_POSITION= 0,2 [0,0] [0,0] [0] [0]

}

It seems that the game ignores the date requirement and US activation requirement, but not Poland & USSR activation

Link to comment
Share on other sites

Looks like an error regarding the #VARIABLE_CONDITION where it was implemented in the Editor but not in the game EXE.

The date field should be working as it is treated as a FAILSAFE, i.e. if the #CONDITION_POSITION does not satisfy the event, the event will still fire on or after the #DATE specified.

For the #VARIABLE_CONDITION error, the game simply does not read this condition, i.e. it will always fire regardless of the value set, and I will correct this for the next patch.

Sorry about that,

Hubert

Link to comment
Share on other sites

I´m not sure if i undeerstood corretly, the script at the top, like "Japan Surrenders, US Industry Mobilizes For Total War In Europe" happened 1938 in the first turn of the game even the date is 1945 and the variable condition is US 100%

Link to comment
Share on other sites

×
×
  • Create New...