Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization II > Scenario League / Civ2-Creation > Problem with Events
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD
CivGroups
Scenario League / Civ2-Creation (66): Not a Member - Join

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
valmont is offline valmont
Warlord
Kansas City
Aug 1999
time: 05:16
Question  Old Post 16-01-2005 09:09
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Problem with Events Got spare money?

I don't know what I'm doing wrong. I made a file with a single event to test. It is in the same folder as the .scn file. But the game is not loading the events file. I included the debugging command, and the debuggin window does not open as promised.

I tried making an events file from the FW editor thinking perhaps I made a typo, but that file didn't load either.

here is the file:

@BEGINEVENTS
@DEBUG

@IF
CITYTAKEN
city=Garage2
attacker=Uniforce
defender=ANYBODY
@THEN
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=60
@ENDIF

@ENDEVENTS


Even if there is an error in the event command, shouldn't the alleged debug window open and show me that the statement can't be processed? wtf?

I am running MGE 5.40f on Windows XP. Events seem to work when I play other scenarios.

Harry Tuttle is offline Harry Tuttle

Prince
of the Hoople Heads
Mar 2003
time: 00:16
  Old Post 16-01-2005 09:54
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Get a bigger avatar today!

Hmmmm, when you say "Not loading the event file" do you mean that the event is not occuring?

Here's a tip:

1) When you make an event file with the FW editor the game "inserts" the events file in whatever scenario file or save game file you are in. If you change the events file in a text editor outside of the game and then attempt to run the new events file in the game the new events file will not load.

What you have to do is "clear" the save game or scenario file by dragging the actual save game or scenario file icon onto a file called "delevent". This will "clear" the old event file out of the save or scenario file and allow you to load the new file when you open the game again.

Delevent sould be in the Civ2 directory. Copy it into your scenario directory and perform the procedure there.

I hope this helps. I can't see anything really wrong with the command itself. I've also never used the debug command before.

valmont is offline valmont
Warlord
Kansas City
Aug 1999
time: 05:16
  Old Post 17-01-2005 07:51
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Full PM-box? Change here!

Thanks for the help. I added an event that shows text when the scenario loads, figuring that would tell me if the events are working. Weird. If I had the "music" option checked in the game options, then the text would be displayed, but if I had it unchecked, the text was not displayed. WTF?

So the events are loading, but the givetech still failed. I nearly lost my mind trying all sorts of variations - changing defender, receiver, name of city in the trigger. I dragged my .scn files onto delevent until my fingers were numb. There are a gazillion scenarios out there, this can't be THAT difficult.

I'm going to start a new game from scratch and see if that helps. ...Maybe I need a new hobby.

valmont is offline valmont
Warlord
Kansas City
Aug 1999
time: 05:16
  Old Post 18-01-2005 10:06
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Call to Power 2

I couldn't begin to guess exactly why, but the game just did not like the city name Garage2. I changed the trigger to unitKilled and the event worked as expected.

Hm, does the game actually read all the characters in the city name? If all your cities begin with the same sequence of chars (Garage1, Garage2, Garage3...) maybe the game, or whatever part of the game interprets event script, is unable to distinguish between them, and so it does nothing? (The reason I imagine this might be so is that when you look at units in the city window, it only gives the first 3 letters of their home city.)

Oh well.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:16
  Old Post 18-01-2005 18:27 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
Originally posted by valmont
I couldn't begin to guess exactly why, but the game just did not like the city name Garage2. I changed the trigger to unitKilled and the event worked as expected.


Are you sure you didn't make any typos then? Maybe you accidentally put a space after "Garage2" or something. Or maybe you got the technology number wrong and they already have the tech... That's all I can think of.

quote:
(The reason I imagine this might be so is that when you look at units in the city window, it only gives the first 3 letters of their home city.)


Nope, that has nothing to do with it. The 3 letter abbreviation is just for the user's convernience and is never actually used internally to identify a city.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0397 seconds (86.63% PHP - 13.37% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net