Event Variants

The sequel of the legendary wargame with a complete graphics and interface overhaul, major new gameplay and design features such as full naval combat modelling, improved supply handling, numerous increases to scenario parameters to better support large scenarios, and integrated PBEM++.
Post Reply
User avatar
lion_of_judah
Posts: 2330
Joined: Mon Jan 08, 2007 6:36 pm
Location: somewhere over the rainbow

Event Variants

Post by lion_of_judah »

If I have objectives with a value, say a capital value is 20 and major cities are 8, how do I program an event variable for a side to win once a certain number has been reached. I've looked at the manual and cannot find any detailed information on how to actually create this.
User avatar
larryfulkerson
Posts: 42835
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Event Variants

Post by larryfulkerson »

The game engine keeps track of the EVV variable, it a organic part of the game engine and
as far as I know there's no way to "create" a variable. I'm not sure how to use the EVV
variable but Steve Sill would know I think.
Does the CIA still do wet work, from time to time, depending on the National Security threat say......?
https://www.youtube.com/watch?v=nTSJhBJeYKk
Raindem
Posts: 697
Joined: Sat Jul 15, 2000 8:00 am
Location: Arizona

RE: Event Variants

Post by Raindem »

To program an early victory based on points uses just a single event.

Event #1: Trigger = Force 1 Winning, Value = 20 (or whatever), Effect = End victory 1

And you would use another event to set early victory conditions for side 2.
Grab them by the balls. Their hearts and minds will follow.
User avatar
lion_of_judah
Posts: 2330
Joined: Mon Jan 08, 2007 6:36 pm
Location: somewhere over the rainbow

RE: Event Variants

Post by lion_of_judah »

do I have to add an event 1 occupies hex so and so, then this or just this.
User avatar
larryfulkerson
Posts: 42835
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Event Variants

Post by larryfulkerson »

ORIGINAL: Raindem

To program an early victory based on points uses just a single event.

Event #1: Trigger = Force 1 Winning, Value = 20 (or whatever), Effect = End victory 1

And you would use another event to set early victory conditions for side 2.
I'll have to remember that. Thanks Curt dude.
Does the CIA still do wet work, from time to time, depending on the National Security threat say......?
https://www.youtube.com/watch?v=nTSJhBJeYKk
Raindem
Posts: 697
Joined: Sat Jul 15, 2000 8:00 am
Location: Arizona

RE: Event Variants

Post by Raindem »

ORIGINAL: lion_of_judah

do I have to add an event 1 occupies hex so and so, then this or just this.

If you want the victory based on points then enter it as shown above.

If you want the victory based on occupation of a specific hex then just change the trigger to 1 (or 2) Occupies and then the hex coordinates.

If you want both victory conditions to apply then you'll need seperate events for each condition.
Grab them by the balls. Their hearts and minds will follow.
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: Event Variants

Post by Lobster »

To increment the Variable you can set a Trigger, say someone occupies a city. Then for the effect use the Variable+ to add some number to the Event Engine Value.

Use Variable Value to Trigger an event to signify the accumulation of Variable points. Once that value is reached it Triggers an effect.

So you use Variable+ or Variable- to increase or decrease the Event Engine Value. And you use Variable Value to trigger an event effect when the EEV reaches the value you want. You can use any number of things to add or subtract from the Event Engine Variable.

If you have used some kind of scripting before then you should be able to get a handle on this.

To be sure the Event Engine Variable is set to zero at the beginning of your scenario or to reset it to zero during a scenario just use Variable- and some very large number. It can never be set lower than zero.

ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: Event Variants

Post by Lobster »

Here one is added when Minsk is totally in German hands. Event 8 is simply a news item. However, when 8 is triggered then it allows 9 to also be triggered adding one to the Variable value.







Image
Attachments
ScreenHunt..2206.10.jpg
ScreenHunt..2206.10.jpg (230.63 KiB) Viewed 361 times
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
lion_of_judah
Posts: 2330
Joined: Mon Jan 08, 2007 6:36 pm
Location: somewhere over the rainbow

RE: Event Variants

Post by lion_of_judah »

I suck at programming and kinda understand what you are saying, but if it's not laid out in black and white for me with an example, then I'm almost totally lost. I know, this sucks but I was not any good at programming. :)
User avatar
lion_of_judah
Posts: 2330
Joined: Mon Jan 08, 2007 6:36 pm
Location: somewhere over the rainbow

RE: Event Variants

Post by lion_of_judah »

how do you determine what the total value for the winning side would be then. Say nation one has a total value of 51 and nation 2 has a value of 37,how would I program that.
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: Event Variants

Post by Lobster »

Variable Value as a Trigger. It reads the Event Engine Value and when it reaches the value you assign it one of several things can happen depending on what you want. Open the editor and check it out.
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
lion_of_judah
Posts: 2330
Joined: Mon Jan 08, 2007 6:36 pm
Location: somewhere over the rainbow

RE: Event Variants

Post by lion_of_judah »

okay, thanks
Post Reply

Return to “The Operational Art of War IV”