Occupation links (Full Version)

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


Kossatx -> Occupation links (11/8/2018 11:39:38 AM)

Hi, I'm trying to find the way to link the occupation of a hex to the occupation of other hex. For example, "if any country occupies hex a,b then the hex c,d is also assigned as occupied to this country". In the map, the hex c,d will be inaccessible from any other way, only will be "occupable" if any country occupies with troops hex a,b. So, anyone have idea how it should be scripted? I think it should be with "territory" script, but I don't know how [&:]

El Condoro -> RE: Occupation links (11/8/2018 7:02:49 PM)

Perhaps a 2-step approach: a decision that fires when the first hex is occupied and that fires the territory script? How close to each other are the hexes?

BillRunacre -> RE: Occupation links (11/8/2018 7:04:48 PM)


There is no script based way to change occupation as such without changing the country that a hex belongs to, unless one wants the country itself to surrender and ownership to change that way.

The Territory script is therefore generally the best one to use (one of the Surrender scripts can also be used for this, as mentioned above).

What I would recommend would be to open up the Territory script file for one of the official campaigns, and work through one of them to understand what it sets out to do.

With that done, it'll make answering any questions you have easier, as hopefully you'll have some grasp of it already then. [:)]

Judging from the circumstance in which you wish it to happen, the Territory script will need a Decision event to trigger it. This doesn't have to be a real Decision, as if no text is added then it becomes what we call a Dummy Decision, i.e. there is no player choice, but the Decision fires when its trigger conditions are met, and it then triggers your Territory script.

You'll find examples of Dummy Decisions within the official campaigns. Find one, and then look in the other script files to find the script(s) it triggers. These will have that Decision's number in their link= section.

Kossatx -> RE: Occupation links (11/8/2018 7:37:12 PM)

@El Condoro. The hexes are far away, unaccessible one from the other. Thanks for your answer!

@BillRunacre. Thanks for your help again, I'll try what you say [:)]

Page: [1]

Valid CSS!

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI