editor
-
ericdauriac
- Posts: 99
- Joined: Wed Sep 14, 2016 7:53 am
- Location: Limoges
editor
Some questions....
How to change the amount of MPP received by disbandement of units?
In Campaign/edit country data/Modifiers:
What is : Soft Build MPP penalty?
Merci!
How to change the amount of MPP received by disbandement of units?
In Campaign/edit country data/Modifiers:
What is : Soft Build MPP penalty?
Merci!
-
ericdauriac
- Posts: 99
- Joined: Wed Sep 14, 2016 7:53 am
- Location: Limoges
RE: editor
Another question: in the script: events: units, to which corresponds the value level = -1
Merci!
Merci!
- BillRunacre
- Posts: 6890
- Joined: Mon Jul 22, 2013 2:57 pm
- Contact:
RE: editor
ORIGINAL: ericdauriac
Some questions....
How to change the amount of MPP received by disbandement of units?
In Campaign/edit country data/Modifiers:
What is : Soft Build MPP penalty?
Merci!
Hi
The proportion of a unit's cost that can be received by disbanding a unit is set by the engine, so cannot be amended in the Editor.
Soft Builds are explained on page 9 of the Manual. Essentially it's a way to make increasing an army beyond its default size cost more MPPs per extra unit.
Follow us on Twitter: https://twitter.com/FurySoftware
We're also on Facebook! https://www.facebook.com/FurySoftware/
We're also on Facebook! https://www.facebook.com/FurySoftware/
- BillRunacre
- Posts: 6890
- Joined: Mon Jul 22, 2013 2:57 pm
- Contact:
RE: editor
ORIGINAL: ericdauriac
Another question: in the script: events: units, to which corresponds the value level = -1
Merci!
I'm not sure. Can you post an example and I'll take a look?
Thanks
Follow us on Twitter: https://twitter.com/FurySoftware
We're also on Facebook! https://www.facebook.com/FurySoftware/
We're also on Facebook! https://www.facebook.com/FurySoftware/
-
ericdauriac
- Posts: 99
- Joined: Wed Sep 14, 2016 7:53 am
- Location: Limoges
RE: editor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Allied AI Unit Events (FRIENDLY MAJOR HELPERS)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; UK (Engineers)
{
#NAME= ALLIED AI: UK - Engineers - Alexandria - 1940
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 2
#LEVEL= -1
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#COUNTRY_ID= 112
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_TURN= 0
#FULL_RESEARCH= 1
#DATE= 1940/03/01
#FAILSAFE_DATE= 1948/01/01
#DESTINATION_RESOURCE= 206,124
#VARIABLE_CONDITION= 112 [2] [100] [0]
; Axis units in range of Paris
#CONDITION_POSITION= 151,84 [4,4] [1,1] [1] [0]
#UNIT= 8 [5] [0] []
}
; Allied AI Unit Events (FRIENDLY MAJOR HELPERS)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; UK (Engineers)
{
#NAME= ALLIED AI: UK - Engineers - Alexandria - 1940
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 2
#LEVEL= -1
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#COUNTRY_ID= 112
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_TURN= 0
#FULL_RESEARCH= 1
#DATE= 1940/03/01
#FAILSAFE_DATE= 1948/01/01
#DESTINATION_RESOURCE= 206,124
#VARIABLE_CONDITION= 112 [2] [100] [0]
; Axis units in range of Paris
#CONDITION_POSITION= 151,84 [4,4] [1,1] [1] [0]
#UNIT= 8 [5] [0] []
}
- BillRunacre
- Posts: 6890
- Joined: Mon Jul 22, 2013 2:57 pm
- Contact:
RE: editor
Thanks, I think they should be #LEVEL= 1 rather than #LEVEL= -1.
Follow us on Twitter: https://twitter.com/FurySoftware
We're also on Facebook! https://www.facebook.com/FurySoftware/
We're also on Facebook! https://www.facebook.com/FurySoftware/
-
ericdauriac
- Posts: 99
- Joined: Wed Sep 14, 2016 7:53 am
- Location: Limoges
RE: editor
I do not think, in the same file there is :
; UK (Engineers)
{
#NAME= ALLIED AI: UK - Engineers - Alexandria - 1940
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 2
#LEVEL= 1
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#COUNTRY_ID= 112
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_TURN= 0
#FULL_RESEARCH= 1
#DATE= 1940/03/01
#FAILSAFE_DATE= 1948/01/01
#DESTINATION_RESOURCE= 206,124
#VARIABLE_CONDITION= 112 [2] [100] [0]
; Axis units in range of Paris
#CONDITION_POSITION= 151,84 [4,4] [1,1] [1] [0]
#UNIT= 8 [5] [0] []
}
; UK (Engineers)
{
#NAME= ALLIED AI: UK - Engineers - Alexandria - 1940
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 2
#LEVEL= 1
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#COUNTRY_ID= 112
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_TURN= 0
#FULL_RESEARCH= 1
#DATE= 1940/03/01
#FAILSAFE_DATE= 1948/01/01
#DESTINATION_RESOURCE= 206,124
#VARIABLE_CONDITION= 112 [2] [100] [0]
; Axis units in range of Paris
#CONDITION_POSITION= 151,84 [4,4] [1,1] [1] [0]
#UNIT= 8 [5] [0] []
}
- BillRunacre
- Posts: 6890
- Joined: Mon Jul 22, 2013 2:57 pm
- Contact:
RE: editor
Thanks, it's something I'll ask Hubert once he's better.
Follow us on Twitter: https://twitter.com/FurySoftware
We're also on Facebook! https://www.facebook.com/FurySoftware/
We're also on Facebook! https://www.facebook.com/FurySoftware/
- TheBattlefield
- Posts: 507
- Joined: Sat Jun 11, 2016 10:09 am
RE: editor
"Value = -1 is used to specify a script that should only fire for AI friendly controlled majors on your turn..."ORIGINAL: ericdauriac
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Allied AI Unit Events (FRIENDLY MAJOR HELPERS)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; UK (Engineers)
{
#NAME= ALLIED AI: UK - Engineers - Alexandria - 1940
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 2
#LEVEL= -1
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]
#COUNTRY_ID= 112
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_TURN= 0
#FULL_RESEARCH= 1
#DATE= 1940/03/01
#FAILSAFE_DATE= 1948/01/01
#DESTINATION_RESOURCE= 206,124
#VARIABLE_CONDITION= 112 [2] [100] [0]
; Axis units in range of Paris
#CONDITION_POSITION= 151,84 [4,4] [1,1] [1] [0]
#UNIT= 8 [5] [0] []
}
Elite Forces - SC3 Mod
tm.asp?m=4491689
tm.asp?m=4491689
RE: editor
#TYPE=
; 0 = Single check regardless if #TRIGGER is satisfied
; 1 = Multiple check until #TRIGGER is satisfied
I like using '1', but wonder about '0'. What is the 'single check' triggered by, and when is it appropriate to use '0' ?
; 0 = Single check regardless if #TRIGGER is satisfied
; 1 = Multiple check until #TRIGGER is satisfied
I like using '1', but wonder about '0'. What is the 'single check' triggered by, and when is it appropriate to use '0' ?
- crispy131313
- Posts: 2125
- Joined: Fri Nov 29, 2013 11:37 pm
RE: editor
Use Type= 0 when you have a trigger less than 100%. That way even if conditions are satisfied there is only a chance the event will fire. If it does not, it will not try to again. An example below:
{
#NAME= DE 822 - UK: Switzerland Ends Axis Relations (AI - 90% Yes)
#POPUP= Prime Minister %NWinston Churchill %N%NReports indicate that Switzerland could be convinced to end its relationship with the Axis. Now that the Swiss and German diplomacy is at an all-time low, our government should move quickly to persuade Switzerland to severe ties and end it's relationship as a facilitator for German trade. The Swiss are confident that Germany will not declare war on their country as a result. %N%NDo we approve payments to Switzerland to sway the government to severe Axis and Swiss relations? It will cost 150 MPP for 2 Turns.
#IMAGE=
#SOUND= teletype_1.ogg, teletype_2.ogg
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
#LINK= 905[1]
#COUNTRY_ID= 112
#TRIGGER= 100
#DISPLAY_ORDER= 1
; Set decision value
#DECISION= 822
#MPP_UPDOWN= -150
#MPP_TURNS= 2
#MPP_TEXT= Payments To Switzerland
#NOTES= %N%NIf you select (YES) Switzerland will swing 30-40% towards the Allies. %N%NThere is also the possibility (50%) that Switzerland will seize German gold reserves which could result in large MPP losses for our enemy.
#NOTES_POSITION= 161,89
; Set AI acceptance % (AI will accept 100% of the time)
#AI_RESPONSE= 90
#AI_RESPONSE_POPUP= Allied Intervention Leads to Switzerland Ending Axis Relations
#DATE= 1939/09/01
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; London is in Allied hands
#ALIGNMENT_POSITION= 147,77 [2]
;Set National Morale Trigger (dummy value)
#NATIONAL_MORALE_TRIGGER= 0 [0]
; Set variable conditions:
; 1st Line - Germany politically aligned with Axis and Fully Active
; 2nd Line - Switzerland politically aligned with Axis (not fully active) and not surrendered
; 3rd Line - UK politically aligned with Allies and Fully Active
#VARIABLE_CONDITION= 45 [1] [100] [0]
#VARIABLE_CONDITION= 104 [2] [1] [0]
#VARIABLE_CONDITION= 112 [2] [100] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
;
{
#NAME= DE 843 - Germany: Switzerland Seizes German Gold (AI - 100% Yes)
#POPUP=
#IMAGE=
#SOUND= teletype_1.ogg, teletype_2.ogg
#FLAG= 1
#TYPE= 0
#AI= 0
#LEVEL= 0
;Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
;Set link value to Dummy
#LINK= 822[1]
#COUNTRY_ID= 45
#TRIGGER= 50
#DISPLAY_ORDER= 0
; Set decision value
#DECISION= 843
#MPP_UPDOWN= -400
#MPP_TURNS= 1
#MPP_TEXT= Switzerland Seizes German Gold
#NOTES=
#NOTES_POSITION= 173,74
; Set AI acceptance % (AI will not accept 100% of the time)
#AI_RESPONSE= 100
#AI_RESPONSE_POPUP= Reports Of German Gold Seizures In Switzerland
#DATE= 1939/09/03
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; London is in Allied hands
#ALIGNMENT_POSITION= 173,74 [1]
;Set National Morale Trigger (dummy value)
#NATIONAL_MORALE_TRIGGER= 0 [0]
; Set variable conditions:
; 1st Line - UK politically aligned with Allies and not surrendered
; 2nd Line - Switzerland politically aligned with the Allie not fully active and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
#VARIABLE_CONDITION= 104 [2] [0] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
{
#NAME= DE 822 - UK: Switzerland Ends Axis Relations (AI - 90% Yes)
#POPUP= Prime Minister %NWinston Churchill %N%NReports indicate that Switzerland could be convinced to end its relationship with the Axis. Now that the Swiss and German diplomacy is at an all-time low, our government should move quickly to persuade Switzerland to severe ties and end it's relationship as a facilitator for German trade. The Swiss are confident that Germany will not declare war on their country as a result. %N%NDo we approve payments to Switzerland to sway the government to severe Axis and Swiss relations? It will cost 150 MPP for 2 Turns.
#IMAGE=
#SOUND= teletype_1.ogg, teletype_2.ogg
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
#LINK= 905[1]
#COUNTRY_ID= 112
#TRIGGER= 100
#DISPLAY_ORDER= 1
; Set decision value
#DECISION= 822
#MPP_UPDOWN= -150
#MPP_TURNS= 2
#MPP_TEXT= Payments To Switzerland
#NOTES= %N%NIf you select (YES) Switzerland will swing 30-40% towards the Allies. %N%NThere is also the possibility (50%) that Switzerland will seize German gold reserves which could result in large MPP losses for our enemy.
#NOTES_POSITION= 161,89
; Set AI acceptance % (AI will accept 100% of the time)
#AI_RESPONSE= 90
#AI_RESPONSE_POPUP= Allied Intervention Leads to Switzerland Ending Axis Relations
#DATE= 1939/09/01
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; London is in Allied hands
#ALIGNMENT_POSITION= 147,77 [2]
;Set National Morale Trigger (dummy value)
#NATIONAL_MORALE_TRIGGER= 0 [0]
; Set variable conditions:
; 1st Line - Germany politically aligned with Axis and Fully Active
; 2nd Line - Switzerland politically aligned with Axis (not fully active) and not surrendered
; 3rd Line - UK politically aligned with Allies and Fully Active
#VARIABLE_CONDITION= 45 [1] [100] [0]
#VARIABLE_CONDITION= 104 [2] [1] [0]
#VARIABLE_CONDITION= 112 [2] [100] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
;
{
#NAME= DE 843 - Germany: Switzerland Seizes German Gold (AI - 100% Yes)
#POPUP=
#IMAGE=
#SOUND= teletype_1.ogg, teletype_2.ogg
#FLAG= 1
#TYPE= 0
#AI= 0
#LEVEL= 0
;Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
;Set link value to Dummy
#LINK= 822[1]
#COUNTRY_ID= 45
#TRIGGER= 50
#DISPLAY_ORDER= 0
; Set decision value
#DECISION= 843
#MPP_UPDOWN= -400
#MPP_TURNS= 1
#MPP_TEXT= Switzerland Seizes German Gold
#NOTES=
#NOTES_POSITION= 173,74
; Set AI acceptance % (AI will not accept 100% of the time)
#AI_RESPONSE= 100
#AI_RESPONSE_POPUP= Reports Of German Gold Seizures In Switzerland
#DATE= 1939/09/03
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; London is in Allied hands
#ALIGNMENT_POSITION= 173,74 [1]
;Set National Morale Trigger (dummy value)
#NATIONAL_MORALE_TRIGGER= 0 [0]
; Set variable conditions:
; 1st Line - UK politically aligned with Allies and not surrendered
; 2nd Line - Switzerland politically aligned with the Allie not fully active and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
#VARIABLE_CONDITION= 104 [2] [0] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
Fall Weiss II - SC3 Mod
tm.asp?m=4183873
tm.asp?m=4183873
RE: editor
Excellent ! Thanks very much [&o]


