June 2, 2000, 23:07
|
#1
|
King
Local Time: 19:07
Local Date: October 30, 2010
Join Date: May 2000
Location: FNORD
Posts: 1,773
|
Events.txt: Turn triggers won't fire
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?
|
|
|
|
June 2, 2000, 23:48
|
#2
|
Chieftain
Local Time: 00:07
Local Date: October 31, 2010
Join Date: Jan 2000
Location: Bloomington,Il
Posts: 94
|
If ya would, send me a copy of the events.txt you are using. I would like to take a look at it.
|
|
|
|
June 3, 2000, 19:44
|
#3
|
Prince
Local Time: 19:07
Local Date: October 30, 2010
Join Date: Sep 1999
Location: New Jersey, USA, Earth, Sol, Milky Way
Posts: 705
|
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
...
|
|
|
|
June 4, 2000, 00:09
|
#4
|
Chieftain
Local Time: 00:07
Local Date: October 31, 2010
Join Date: Jan 2000
Location: Bloomington,Il
Posts: 94
|
is "Then" case sensetive?
he has it in the right format unless "then" is case sensetive
|
|
|
|
June 4, 2000, 00:57
|
#5
|
King
Local Time: 19:07
Local Date: October 30, 2010
Join Date: May 2000
Location: FNORD
Posts: 1,773
|
Well, I was making the events in using hte FW world editor, so it oculdn't be a mistype of that sort.
|
|
|
|
June 4, 2000, 04:08
|
#6
|
Queen
Local Time: 20:07
Local Date: October 30, 2010
Join Date: Feb 2000
Posts: 5,848
|
 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
|
|
|
|
June 4, 2000, 08:48
|
#7
|
Prince
Local Time: 19:07
Local Date: October 30, 2010
Join Date: Sep 1999
Location: New Jersey, USA, Earth, Sol, Milky Way
Posts: 705
|
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.
|
|
|
|
June 4, 2000, 19:37
|
#8
|
King
Local Time: 19:07
Local Date: October 30, 2010
Join Date: May 2000
Location: FNORD
Posts: 1,773
|
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
|
|
|
|
June 4, 2000, 19:38
|
#9
|
King
Local Time: 19:07
Local Date: October 30, 2010
Join Date: May 2000
Location: FNORD
Posts: 1,773
|
I also learned something else from this scenario. Did you know the computer can airlift units with moves of zero? That cheating bastich.
|
|
|
|
June 4, 2000, 20:01
|
#10
|
Prince
Local Time: 20:07
Local Date: October 30, 2010
Join Date: Dec 1969
Location: Minas Morgul
Posts: 421
|
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.
|
|
|
|
June 5, 2000, 01:34
|
#11
|
King
Local Time: 19:07
Local Date: October 30, 2010
Join Date: May 2000
Location: FNORD
Posts: 1,773
|
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.
|
|
|
|
Posting 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
|
|
|
All times are GMT -4. The time now is 20:07.
|
|