Create an option panel for in-game triggers

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
El_Condoro
Posts: 597
Joined: Sat Aug 03, 2019 4:35 am

Create an option panel for in-game triggers

Post by El_Condoro »

We know that event scripts can be turned off before a game starts but those options apply for the entirety of that game. As a campaign designer, I have been wanting a way to enable triggers in the game and not just at the beginning, so I came up with this idea. Option Panel

It enables any event script to be triggered through the movement of a button on the map as part of a panel.

As an example, what if the US > Russia transfer of MPPs could be done on a turn-by-turn basis, rather than every turn as it is now. Please note, this is an example and I'm sure Stalin would have had a thing or two to say to Roosevelt if it happened in history but bear with me! With the option panel, the Allies player could decide to send the MPPs for a period of time and turn it off when the US needs them. And back on again when the Russians need them.

As a designer, there are plenty of times I want to test something but don't want to play the whole game to get to that bit - the option button panel could help by allowing a designer to switch on an event when it's needed. Use a saved game to test what happens in various circumstances etc etc.

Anyway, have a look and let me know what you think.

NB: This will have no effect on scripts that use Global Variables [GV] as they are set at the beginning of a game. e.g. whether the Allied expedition to Finland succeeds or fails (50%).
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
User avatar
BillRunacre
Posts: 6520
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: Create an option panel for in-game triggers

Post by BillRunacre »

Great thinking, I like what you've done here! [:)]

I wonder, if you were to put these on an out of way part of the map, on resources that are set to Hidden (right click in properties in the Editor to do this) whether that might help keep them unnoticed.

If you're using the official map then places like Canada and Greenland can be useful for this, at least to prevent anyone attacking them.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
SittingDuck
Posts: 1186
Joined: Sat Aug 31, 2002 9:08 pm

RE: Create an option panel for in-game triggers

Post by SittingDuck »

Bill, did you all do this in SC:WaW? I note some resources in the bottom right on the half-hexes. Are those not considered reachable, and yet 'within the world system' so as to count?
User avatar
BillRunacre
Posts: 6520
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: Create an option panel for in-game triggers

Post by BillRunacre »

They are hidden resources so they just have an economic value as and when the scripts dictate they should be in play.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Post Reply

Return to “Scenario Design and Modding”