Edwin P. Posted June 6, 2006 Share Posted June 6, 2006 In a game vs the AI, I as Allies took Ireland and Norway. Swedish leanings towards Germany jumped to 56%. Yet Germany did nothing. So I propose the following two scripts, which increase Germany's chance of purchasing diplomacy chits based on the leading of Sweden; IF Sweden 50% or more towards Germany - then Germany is 25% likely to purchase chits diplomacy chits. IF Sweden 70% or more towards Germany - then Germany is 100% likely to purchase diplomacy chits. Any Comments? ; { #NAME= Germany Presses Sweden (if 70% or greater) #POPUP= #FLAG= 1 #TYPE= 2 #COUNTRY_ID= 5 #TRIGGER= 100 #LEVEL= 0 #DIPLOMATIC_ID= 39 #DATE= 1940/01/01 ; Set friendly positions: ; 1st Line - Berlin #FRIENDLY_POSITION= 84,16 ; Set variable conditions: ; 1st Line - Germany politically aligned with Axis and not surrendered #VARIABLE_CONDITION= 5 [1] [100] [0] #VARIABLE_CONDITION= 39 [1] [70] [0] ; Set tactical conditions: ; 1st Line - Berlin not tactically threatened (dummy condition) #TACTICAL_CONDITION= 84,16 [3] ; Set dummy activate position (no units at position 0,0) #ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0] ; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no ; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION #CANCEL_POSITION= 0,0 [0,0] [1,1] [0] } ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; { #NAME= Germany Presses Sweden (if 50% or greater) #POPUP= #FLAG= 1 #TYPE= 2 #COUNTRY_ID= 5 #TRIGGER= 25 #LEVEL= 0 #DIPLOMATIC_ID= 39 #DATE= 1940/01/01 ; Set friendly positions: ; 1st Line - Berlin #FRIENDLY_POSITION= 84,16 ; Set variable conditions: ; 1st Line - Germany politically aligned with Axis and not surrendered #VARIABLE_CONDITION= 5 [1] [100] [0] #VARIABLE_CONDITION= 39 [1] [50] [0] ; Set tactical conditions: ; 1st Line - Berlin not tactically threatened (dummy condition) #TACTICAL_CONDITION= 84,16 [3] ; Set dummy activate position (no units at position 0,0) #ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0] ; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no ; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION #CANCEL_POSITION= 0,0 [0,0] [1,1] [0] } A similar script would be added for Spain too; { #NAME= Germany Presses Spain (if 70% or greater) #POPUP= #FLAG= 1 #TYPE= 2 #COUNTRY_ID= 5 #TRIGGER= 100 #LEVEL= 0 #DIPLOMATIC_ID= 38 #DATE= 1940/01/01 ; Set friendly positions: ; 1st Line - Berlin #FRIENDLY_POSITION= 84,16 ; Set variable conditions: ; 1st Line - Germany politically aligned with Axis and not surrendered ; 2nd Line - Spain aligned leaning 70% towards Axis and not surrendered #VARIABLE_CONDITION= 5 [1] [100] [0] #VARIABLE_CONDITION= 38 [1][70] [0] ; Set tactical conditions: ; 1st Line - Berlin not tactically threatened (dummy condition) #TACTICAL_CONDITION= 84,16 [3] ; Set dummy activate position (no units at position 0,0) #ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0] ; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no ; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION #CANCEL_POSITION= 0,0 [0,0] [1,1] [0] } 0 Quote Link to comment Share on other sites More sharing options...
ChrisND Posted June 6, 2006 Share Posted June 6, 2006 I like the ideas, and I'm going to incorporate them in my improved Axis AI script set. Speaking of which, I'm almost done with the pre-barbarossa scripts 0 Quote Link to comment Share on other sites More sharing options...
Edwin P. Posted June 6, 2006 Author Share Posted June 6, 2006 I am looking forward to seeing your scripts, I created an offensive script for Finland (country 19) - it sends 1 corps (Size=1) to Tile 111,1 (Archangel). If the allied player is not careful he may lose this northern port. The script is triggered 50% of the time while Lenningrad is Soviet held, and 100% of the time if Lenningrad is held by the Axis (this is done using 2 scripts, by adding an additional Friendly position). Of course - the AI does not know how to take Leningrad, but perhaps HC will rectify this in a future patch. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.