Thread Tools
Old September 14, 2000, 06:45   #1
PurpleWyrm
Chieftain
 
PurpleWyrm's Avatar
 
Local Time: 08:09
Local Date: October 31, 2010
Join Date: May 2000
Location: Western Australia
Posts: 41
Tribe names in Events.txt
I'm having problems editing events.txt. None of my events trigger when I specify tribe names. But they work fine when I use the "anybody" parameter. The names of the tribes match those in rules.txt, so the problem shouldn't be there. I'd change everything over to "anybody" except I've heard that it's buggy and gets stuck on the first triggering tribe. Help!!
PurpleWyrm is offline  
Old September 14, 2000, 08:03   #2
Gothmog
Scenario League / Civ2-Creation
Prince
 
Gothmog's Avatar
 
Local Time: 20:09
Local Date: October 30, 2010
Join Date: Dec 1969
Location: Minas Morgul
Posts: 421
You've got it right about the anybody parameter.
For events, the tribe names need to match those entered in the edit king cheat, not rules.txt.
Gothmog is offline  
Old September 14, 2000, 18:51   #3
PurpleWyrm
Chieftain
 
PurpleWyrm's Avatar
 
Local Time: 08:09
Local Date: October 31, 2010
Join Date: May 2000
Location: Western Australia
Posts: 41
They match both, I've even tried changing the names with the cheat menu, and changing them back. Still no luck. The events to stop negotiation seem to work fine, it's just the UnitKilled events that are failing. I've used @DEBUG, and the events parser seems to find no problems (all the units and tribes are found) but the events still fail to trigger


[This message has been edited by PurpleWyrm (edited September 15, 2000).]
PurpleWyrm is offline  
Old September 15, 2000, 22:44   #4
PurpleWyrm
Chieftain
 
PurpleWyrm's Avatar
 
Local Time: 08:09
Local Date: October 31, 2010
Join Date: May 2000
Location: Western Australia
Posts: 41
Here we go. I was using flags (hence the INITFLAG), but removed them while I tried to get this unitkilled problem sorted. The text every turn is just to show that the events are working at all

@BEGINEVENTS
@DEBUG
@INITFLAG


@IF
NOSCHISM
defender=Draconians
@THEN
@ENDIF
@IF
NOSCHISM
defender=Brukolak
@THEN
@ENDIF


;
; Introduction
;

@IF
Turn
turn=every
@THEN
Text
It works
EndText
@ENDIF

;
;Make War each turn
;

@IF
Turn
turn=every
@THEN
makeaggression
who=Draconians
whom=Brukolak
@ENDIF
@IF
Turn
turn=every
@THEN
makeaggression
who=Brukolak
whom=Draconians
@ENDIF


;
;Prevent Negotiation
;

@IF
NEGOTIATION
talker=Draconians
talkertype=HumanOrComputer
listener=Brukolak
listenertype=HumanOrComputer
@THEN
@ENDIF
@IF
NEGOTIATION
talker=Brukolak
talkertype=HumanOrComputer
listener=Draconians
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
UNITKILLED
unit=Vudolak
attacker=Draconians
defender=Brukolak
@THEN
TEXT
Explanatory text
ENDTEXT
@ENDIF

@ENDEVENTS

PurpleWyrm is offline  
Old September 16, 2000, 00:14   #5
Gothmog
Scenario League / Civ2-Creation
Prince
 
Gothmog's Avatar
 
Local Time: 20:09
Local Date: October 30, 2010
Join Date: Dec 1969
Location: Minas Morgul
Posts: 421
Then there must be some other problem. Post a copy of your event here.
Gothmog is offline  
Old September 18, 2000, 09:15   #6
Gothmog
Scenario League / Civ2-Creation
Prince
 
Gothmog's Avatar
 
Local Time: 20:09
Local Date: October 30, 2010
Join Date: Dec 1969
Location: Minas Morgul
Posts: 421
Uh oh, I didn't know you were using Test of Time. What you show here looks fine. Since you are using ToT and it has advanced unit attributes, maybe it has something to do with the attributes of a Vudolak. I'm only speculating here.
Gothmog is offline  
Old September 19, 2000, 07:27   #7
Johan T
Settler
 
Local Time: 00:09
Local Date: October 31, 2010
Join Date: Sep 2000
Location: Sweden
Posts: 16
A suggestion: Edit the rules so the tribe names don't match the events/cheat names. In the events there should be the correct tribe names and the same is for the cheat/edit king name. In the rules change the names to anything (Drac or something).

I don't know if this is going to work but it might be worth a try. In standard Civ2 (not ToT) that's the way I do to get the leaders' titles right. Maybe it works for events to.
Johan T is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 20:09.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team