September 14, 2000, 06:45
|
#1
|
Chieftain
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!!
|
|
|
|
September 14, 2000, 08:03
|
#2
|
Prince
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.
|
|
|
|
September 14, 2000, 18:51
|
#3
|
Chieftain
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).]
|
|
|
|
September 15, 2000, 22:44
|
#4
|
Chieftain
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
|
|
|
|
September 16, 2000, 00:14
|
#5
|
Prince
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.
|
|
|
|
September 18, 2000, 09:15
|
#6
|
Prince
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.
|
|
|
|
September 19, 2000, 07:27
|
#7
|
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.
|
|
|
|
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:09.
|
|