More modding questions... (Full Version)

All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding



Message


The Land -> More modding questions... (12/22/2021 12:50:22 PM)

Two questions initially:

- Is there any way to give the units of neutral countries tech on mobilisation? I have turned off upgrades for my mod, so would like to be give e.g. Austria, Yugoslavia and Sweden the chance to have some technology if they enter the war. However the editor seems to believe that neutrals can have no tech. I have tried to bodge it by mobilising Austria, editing the tech, and then demobilising it - but when I save the tech vanishes.

- do Victory events affect how the engine views victory? IE if a victory event fires, does the game engine know the game is now over?

Thanks!




The Land -> RE: More modding questions... (12/22/2021 5:27:09 PM)


quote:

ORIGINAL: The Land

Two questions initially:

- Is there any way to give the units of neutral countries tech on mobilisation? I have turned off upgrades for my mod, so would like to be give e.g. Austria, Yugoslavia and Sweden the chance to have some technology if they enter the war. However the editor seems to believe that neutrals can have no tech. I have tried to bodge it by mobilising Austria, editing the tech, and then demobilising it - but when I save the tech vanishes.


I suppose this could just about be dealt with a mixture of new unit types, and events - I could create duplicates of the core defensive units and increase their stats to reflect their assumed tech level - and then when advanced units are needed (e.g. the Swedish navy) could have them appear by event. But wondering still if there's a better way!




The Land -> RE: More modding questions... (12/22/2021 6:08:48 PM)

Next question!

In: Campaign - Edit Penalties/ Bonuses Data - if you adjust Action Points in this, when is it applied? E.g. if I create a Mountain Brigade unit and set Hills, Mountains etc to give it +1 AP, does that benefit happen ... at the start of the turn, if it's in that terrain? If it moves through that terrain at any point? Every time it moves into a new hex?




BillRunacre -> RE: More modding questions... (12/23/2021 9:08:55 AM)


quote:

ORIGINAL: The Land

Two questions initially:

- Is there any way to give the units of neutral countries tech on mobilisation? I have turned off upgrades for my mod, so would like to be give e.g. Austria, Yugoslavia and Sweden the chance to have some technology if they enter the war. However the editor seems to believe that neutrals can have no tech. I have tried to bodge it by mobilising Austria, editing the tech, and then demobilising it - but when I save the tech vanishes.

- do Victory events affect how the engine views victory? IE if a victory event fires, does the game engine know the game is now over?

Thanks!


1. The units could be removed from the map and instead set to deploy via a UNIT script when the country enters the war. This does require two sets of scripts to be done, one where it joins the Allies and one where it joins the Axis.

Additionally, the tech setting is either none or full, i.e. whatever their parent Major has attained by that point, which could be more than is desired. But that could be mitigated by just having some of the Minor's units arrive in this way, rather than all of them.

2. Yes it does and the game will end then.




BillRunacre -> RE: More modding questions... (12/23/2021 9:10:30 AM)


quote:

ORIGINAL: The Land

Next question!

In: Campaign - Edit Penalties/ Bonuses Data - if you adjust Action Points in this, when is it applied? E.g. if I create a Mountain Brigade unit and set Hills, Mountains etc to give it +1 AP, does that benefit happen ... at the start of the turn, if it's in that terrain? If it moves through that terrain at any point? Every time it moves into a new hex?


These only apply if the unit starts in that terrain type.




The Land -> RE: More modding questions... (12/23/2021 12:30:55 PM)


quote:

ORIGINAL: BillRunacre


quote:

ORIGINAL: The Land

Next question!

In: Campaign - Edit Penalties/ Bonuses Data - if you adjust Action Points in this, when is it applied? E.g. if I create a Mountain Brigade unit and set Hills, Mountains etc to give it +1 AP, does that benefit happen ... at the start of the turn, if it's in that terrain? If it moves through that terrain at any point? Every time it moves into a new hex?


These only apply if the unit starts in that terrain type.


Thanks Bill!




The Land -> RE: More modding questions... (12/24/2021 11:58:01 AM)

Regarding Supply events, is the Trigger % checked per resource or per event? Say I want to have a 5% chance to reduce supply in several German cities if a Soviet submarine is in a particular place - is it that the event hits the supply of all the cities or none of them, or is it possible for some of them to be affected?

Also can Supply events be triggered by a #condition_position where you require a certain number of units in a certain radius, or only by exactly one unit in exactly one location?

Thanks!




BillRunacre -> RE: More modding questions... (12/24/2021 2:06:59 PM)

The trigger is per event, so if multiple resources are listed in one script, then if the event fires it will hit them all.

Yes, you can set a CONDITION_POSITION to check for any number of units to be within the radius you specify, which can also be as large or small as you desire.





The Land -> RE: More modding questions... (1/3/2022 6:57:34 PM)


quote:

ORIGINAL: BillRunacre

The trigger is per event, so if multiple resources are listed in one script, then if the event fires it will hit them all.

Yes, you can set a CONDITION_POSITION to check for any number of units to be within the radius you specify, which can also be as large or small as you desire.




Thanks Bill!

Next question - is there any way to get neutral troops to appear at full supply when a major DoWs them?




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.265625