Events Questions

frunobulax

High Sheriff of Catford
Joined
Jun 18, 2001
Messages
698
Location
London, England
Two questions about events.txt files :
  • Is there a limit on the number of events one can have in a scenario ?
  • Is there an option to have a city-related event trigger that would look like this:
    CITY=ANY
    Is that a valid command, or does CITY always have to = an actual city in your scenario name ?

thanks

Fruno
 
Originally posted by frunobulax
  • Is there a limit on the number of events one can have in a scenario ?
Yes and it's different depending of the CIV2 platform. CIV2 has what is called an events stack. The amount of space used by an event depends on the kind of event. When the stack is filled, no more events can be parsed. If you have too many events it crashes the game.
Here are the limits for each platform
CIC 16K
FW 32K
MGE 48K
TOT 48K?
How many events this translates to I cannot say.

Originally posted by frunobulax
  • Is there an option to have a city-related event trigger that would look like this:
    CITY=ANY
    Is that a valid command, or does CITY always have to = an actual city in your scenario name ?
You need to use a real city name. Although the CITY=ANY statement won't be flagged as an error, the trigger will never fire unless of course there was a city named ANY. I believe the validity of city names is not checked by the events parser because a city could always be renamed or destroyed.
 
u could use these parameters

There are a few "wildcard" values that are legitimate for certain
parameters.

Anybody If a parameter requires a civilization name as its value, this value sets it so that any single civilization meets the requirements.

AnyUnit If a parameter requires the name of a type of unit as its value, this value sets it so that any type of unit meets the requirements.


AnyCity If a parameter requires the name of a city as its value, this value sets it so that any city meets the requirements.
 
I haven't tested this, but I thought I recalled William Keenan saying this: AnyCity works as advertised for the FIRST time the event is triggered. Subsequently, it is triggered ONLY by the city that initially triggered it.
 
I think that he said it about ANY parameter in FW/MGE. In ToT this bug seems to be fixed. I know that ANYUNIT works in ToT as intended, so I suppose that ANYCITY too. Techumseh and Mike can possibly say more because they have more practical knowledge on subject.
 
for his WW2 scenario Global Power IV, Curt Sibling use this option to play a wav each time germans capture a city and it works well, i 'll made the same event-type but for all civs in my own WW2 scenario update


And i 'll be very happy if some of u could give me some URL where i can found GB, Japan and Russian songs (in wav format)

thanks
 
Back
Top Bottom