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 > Miscellaneous > Archive > Scenario League / Civ2-Creation -Archive > Events.txt: Turn triggers won't fire
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Eternal is offline Eternal
King
FNORD
May 2000
time: 00:12
Post  Old Post 03-06-2000 08:07 Visit Eternal's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Events.txt: Turn triggers won't fire Support Apolyton, pre-order Civilization IV

This is the first scenario I've made in a while, and the first with a lot of events. I figure someone here must have had this problem: I was making my Events.txt from within Fantastic Worlds, and have several Turn= triggers, but they don't seem to come up when I play, the texts or the units that they are supposed to create. And after I made these I added a random event and that the text comes up, though it seems to only create one Scud, if any. So it doesn't seem to be really a problem of embedding the events.

I'm stumped. Can anyone tell me what's up?

myrlyn is offline myrlyn
Chieftain
Bloomington,Il
Jan 2000
time: 05:12
Post  Old Post 03-06-2000 08:48
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Help yourself to an AD-FREE life

If ya would, send me a copy of the events.txt you are using. I would like to take a look at it.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:12
Smile  Old Post 04-06-2000 04:44 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Enter the AD-FREE zone

There could be several reason that this could happen, the most common is typing the trigger like this:

@IF
TURN=20
@THEN
...

Which, by the way, does not cause an error.

The correct way of course is:
@IF
TURN
TURN=20
@THEN
...

myrlyn is offline myrlyn
Chieftain
Bloomington,Il
Jan 2000
time: 05:12
Post  Old Post 04-06-2000 09:09
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Remove this text

is "Then" case sensetive?
he has it in the right format unless "then" is case sensetive

Eternal is offline Eternal
King
FNORD
May 2000
time: 00:12
Post  Old Post 04-06-2000 09:57 Visit Eternal's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Well, I was making the events in using hte FW world editor, so it oculdn't be a mistype of that sort.

Alinestra Covelia is offline Alinestra Covelia
Queen
I sense the dodgy presence of Bing - a presence I've not felt since...
Feb 2000
time: 00:12
Post  Old Post 04-06-2000 13:08
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

I'm having similar problems with my text file (as those of you who remember my relentless droning will doubtless attest).

Personally I'm convinced it must be something wrong with the starting turn vs. the events turn relationship. So far, the suggestions I've had are:

1) Ensure turn=x terminology is absolutely correct.

2) Try to make sure unit names, city names, etc are less than 15 characters long.

3) Ensure that terrain squares are absolutely correct when specified, and ALSO have no units on them.

4) wav. files should not be longer than 8 characters.

I have tried all these and it hasn't worked. I hope that your problems might be solved with this, though

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:12
Smile  Old Post 04-06-2000 17:48 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Increase the size of your Attachments

I do not beleive that anything in the events.txt is case sensitive. I could be wrong however since I have never tested this.

I suggest that you post the events.txt file so we can all look at it.

Eternal is offline Eternal
King
FNORD
May 2000
time: 00:12
Post  Old Post 05-06-2000 04:37 Visit Eternal's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Browse Apolyton AD-FREE

Only the Turn trigger does not fire. It doesn't create the units, display the text, or declare war. I have three Turn triggers thus far, and here they are:

@IF
TURN
turn=2
@THEN
TEXT
Shocked by the speed of the Iraqi advance through Kuwait, President of the United States
George Bush leaps into action, trying to convince Saudi Arabian King Fahd that he was in
imminent danger, that the situation cannot be handled diplomatically, as they both had previously
thought, and that a U.S. presence was needed. King Fahd agrees. Within days the first planes
arrive.
ENDTEXT
CREATEUNIT
unit=F-16 Falcon
owner=Coalition
veteran=no
homecity=NONE
locations
56,96
56,86
50,86
50,86
63,81
48,82
endlocations
MAKEAGGRESSION
who=Coalition
whom=Iraqis
JUSTONCE
@ENDIF


@IF
TURN
turn=3
@THEN
TEXT
The Coalition continues to amass military force- particularly aerial force.
ENDTEXT
CREATEUNIT
unit=F-15 Eagle
owner=Coalition
veteran=no
homecity=NONE
locations
56,86
56,86
50,86
39,75
31,65
37,5
endlocations
JUSTONCE
@ENDIF


@IF
TURN
turn=2
@THEN
CREATEUNIT
unit=NATO Mechanized
owner=Coalition
veteran=no
homecity=NONE
locations
63,81
60,82
endlocations
JUSTONCE
@ENDIF

Eternal is offline Eternal
King
FNORD
May 2000
time: 00:12
Post  Old Post 05-06-2000 04:38 Visit Eternal's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Suffering from ads?

I also learned something else from this scenario. Did you know the computer can airlift units with moves of zero? That cheating bastich.

Gothmog is offline Gothmog
Prince
Minas Morgul
Jan 1970
time: 00:12
Post  Old Post 05-06-2000 05:01
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Help yourself to an AD-FREE life

Eternal
Your event looks OK to me and since you say you created the events in FW, they shouldn't have syntax errors. So, it must be something else. When you open the cheat menu, set game year, what does it say. I'll bet it's greater than 3, which would explain why the turn triggers don't fire. You should set this value to 1.

For setting the start date of your scenario, you need to set that in the Scenario Parameters, set starting year. There you put in the actual date if your turns are 1 year long or times 12 if turns are 1 month long.

Eternal is offline Eternal
King
FNORD
May 2000
time: 00:12
Post  Old Post 05-06-2000 10:34 Visit Eternal's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Increase Your PM Length

That's it! When I had problems with the setting the scenario start year I tinkered with the Set Game Year. Thanks, Gothmog, and all who wasted their time looking at this post.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:12.
Apolyton Time is 00:12.
    top of page
Rate This Thread:
archivepost
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.0409 seconds (88.93% PHP - 11.07% MySQL) with 31 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