Event design (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> WW2: Road to Victory >> Mods and Scenarios



Message


Maddoc06 -> Event design (8/12/2008 3:59:54 AM)

Does anyone know what 'param2' in the 'HexStripe.ChangeControllerAndOwner' method actually represents in the events.xml file? I've worked out the other 3 parameters.




doomtrader -> RE: Event design (8/12/2008 7:48:15 AM)

how long the hex strip is

x, y coordinates tells you which hex, and another one parameter tells how many hexes (counting down)?




Maddoc06 -> RE: Event design (8/13/2008 11:38:08 PM)

A mod design quetion using the events system.

I'm trying to get an event to trigger either when the Greeks occupy the Istanbul hex or if the Turks occupy the Thessaloniki hex.

My mod works reasonably well at the moment and the events I've added work well.

Obviously they are both 'neutral' countries. I don't want the event to trigger once one or other country is defeated and the appropriate hex occupied and controlled (I've tested that and it works). I want the event to trigger only upon the hex being taken.

I've used the "Hex.Occupied param x param y param z" method to try and simulate this paramaters x, y being city coordinates and z being the country with troops on the hex. With the "Hex.ControlledbyAliance" and "Hex.OccupiedAndCOntrolledByAlliance" methods that third paramater represents one of the 3 alliances and is therefore country specific. Is this 3rd parameter also referring to alliance or can it be a specific country (like Greece or Turkey who are both neutrals in my mod)?




Maddoc06 -> RE: Event design (8/13/2008 11:43:54 PM)

Sorry In my last post second last sentence I meant the third parameter "therefore is NOT country specific".

So what I'm asking is whether in "Hex.Occupied param x param y param z" the third paramater is referring simply to alliance or can it be a specific country?




doomtrader -> RE: Event design (8/14/2008 7:24:01 AM)

Not, the game was not designed to simulate 'tiny wars'




comrade -> RE: Event design (8/16/2008 10:46:39 AM)

Check out doc\Event engine manual.txt, there's a description of params to all (or I think most) different methods to be used in <expression> and <effect> blocks.




JMass -> RE: Event design (8/18/2008 10:44:03 AM)

quote:

ORIGINAL: comrade

Check out doc\Event engine manual.txt, there's a description of params


I don't find params to switch nations from, as an example, pro-axis to pro-allied, it is possible?




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.875