![]() |
Fantastic Worlds' Events Quirks by Gothmog |
(February 99) |
The 'ins and outs' of editing the events.txt file using both the Fantastic Worlds editor and notepad. Co-ordinating between both editors can be tricky because of problems with 'embedded events'. |
The Events.txt File Figured Out | |
Let me say at the outset that I didn't have to figure out EVENTS.TXT until I bought Fantastic Worlds! The inclusion of events in Conflicts in Civilization is what got me interested in scenario creation in the first place. So when FW came out, I thought event creation would be better and easier. I was half right. It was better, but not necessarily easier. That was where figuring it out came in.
|
|
So, what's better about it? | |
FW doubled the number of events you could have.
|
|
Why Isn't It Necessarily Easier? | |
First, you have to make a choice
between doing events in the FW editor or doing it the old
fashioned way with a text editor, e.g. Notepad. For actions such
as CreateUnit, where you're going to create a bunch of them,
it's easier to use Notepad. That's because the FW editor
has no cut and paste tool. The lack of a cut and paste tool also means
you can't reorganize your events later on. I like to group related
events together. After you've play tested, you often decide
that for reasons of balance you need to create some more
units. In FW the new events go to the end of the line.
|
|
Two Things the Fantastic Worlds Editor Makes Easier | |
It's definitely easier to use
GiveTechnology and ReceivedTechnology In FW, you see the
name of the technology, in Notepad you have to specify the technology
by number. ![]()
|
|
Known Bugs in the Events Handler | |
|
|
Problems Surrounding Embedded Events | |
In FW, you can see the events
in two places: within the scenario editor and in the EVENTS.TXT
file. I assumed wrongly that the EVENTS.TXT file was always read
into the editor. The key fact in all of this is that sometimes
the events are embedded in the SAV or SCN file; sometimes
they are not! The reason for this is that the game needs to
keep track of things like firing only once.
Now this could be a BIG PROBLEM if you want to create barbarian units with events after you have embedded events in your SCN and SAV files. Fortunately, there is a way around this. Load your SAV game, letting it create the copy of EVENTS.TXT. At this point, make a backup copy of EVENTS.TXT just in case anything goes wrong below. Now go into the FW events editor and delete all of the events. Save the game and create a scenario. Edit EVENTS.TXT using Notepad to add or change events. From now on when you load a SAV file, you won't see events in the game, but you will see them whenever you load a SCN file. You can use the FW events editor to VIEW your events. You might want to do this to check out a GiveTechnology event you've created. If you CANCEL out of the editor, your EVENTS.TXT should remain unmodified. If you forget to CANCEL out of the editor, your EVENTS.TXT will be overwritten. That's why you need the backup!
|
|
The Delevents.exe file - an alternative approach | |
The Delevents.exe file in the main Civ2 directory may be used to address embedded events. Drag and drop your SAV file onto the delevents.exe program or a shortcut to it and it will strip out all embedded events. ![]()
|
|
So which method should you use for creating events? | |
It all depends on you personal preferences. Because I like to create barbarian units using events and also tend to create lots of similar units with a single event, I prefer using a text editor. On the other hand, if I was doing a scenario that had mostly technology events and no barbarians, I would probably use the FW editor. I might even live dangerously and enter the technology events in FW, save the game, reload the game, delete the events, save the game, and then finish up events in Notepad.
|