Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Event design

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> WW2: Road to Victory >> Mods and Scenarios >> Event design Page: [1]
Login
Message << Older Topic   Newer Topic >>
Event design - 8/12/2008 3:59:54 AM   
Maddoc06

 

Posts: 58
Joined: 8/9/2008
Status: offline
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.
Post #: 1
RE: Event design - 8/12/2008 7:48:15 AM   
doomtrader


Posts: 5321
Joined: 7/22/2008
From: Poland
Status: offline
how long the hex strip is

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

_____________________________


(in reply to Maddoc06)
Post #: 2
RE: Event design - 8/13/2008 11:38:08 PM   
Maddoc06

 

Posts: 58
Joined: 8/9/2008
Status: offline
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)?

(in reply to doomtrader)
Post #: 3
RE: Event design - 8/13/2008 11:43:54 PM   
Maddoc06

 

Posts: 58
Joined: 8/9/2008
Status: offline
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?

(in reply to Maddoc06)
Post #: 4
RE: Event design - 8/14/2008 7:24:01 AM   
doomtrader


Posts: 5321
Joined: 7/22/2008
From: Poland
Status: offline
Not, the game was not designed to simulate 'tiny wars'

_____________________________


(in reply to Maddoc06)
Post #: 5
RE: Event design - 8/16/2008 10:46:39 AM   
comrade

 

Posts: 167
Joined: 6/7/2006
Status: offline
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.

_____________________________


(in reply to doomtrader)
Post #: 6
RE: Event design - 8/18/2008 10:44:03 AM   
JMass


Posts: 2364
Joined: 6/3/2006
From: Italy
Status: offline
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?

_____________________________

"Klotzen, nicht Kleckern!"Generaloberst Heinz Wilhelm Guderian

My boardgames collection: http://www.boardgamegeek.com/collection/user/JMass?own=1&subtype=boardgame&ff=1

(in reply to comrade)
Post #: 7
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> WW2: Road to Victory >> Mods and Scenarios >> Event design Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.547