View Full Version : Its going,,,,,,,going....going...darn it missed the Garbage
Civfan
November 1, 1999, 04:32
Thats how I feel with this damn thing right now. I can't get any of the events to work anymore. The Text, Turn , Negoations , Createunit and Citytaken are the only things working. I'm trying to get the thing to play AVI movies... This is the command for that
@IF
TURN
turn=1
@THEN
PLAYAVIFILE
FIRE.AVI
@ENDIF
It should work. The file FIRE.AVI is in the same folder as the Scenario.
Another problem I'm having is with this DELAY command. It just won't work. These are the commands I've tried
@IF
CITYTAKEN
city=JOKER
attacker=BATMAN
defender=CHEEZE
@THEN
@DELAY
delay=3
CREATEUNIT
unit=SMELLY
owner=Morons
veteran=no
homecity=NONE
locations
15,77
endlocations
@ENDIF
@IF
TURN
turn=3
@THEN
CREATEUNIT
unit=Maze
owner=cows
veteran=no
homecity=CowsIRS
locations
11,66
endlocations
@ENDIF
Help..................
Bill3000
November 1, 1999, 08:15
For the first one, it has to be in a folder called video. Like the sound file. :p
John Possidente
November 1, 1999, 09:47
I noticed a couple of things right off.
* Delay shouldn't have an @ before it. That'll mess up the event big time.
* You only have one location for creating the unit. If that location is no good (an enemy unit is sitting there, for example), then the unit won't happen. Try setting a few alternate locations, as appropriate to your scenario.
* You should also specify what map you want the unit created on, like this:
Locations
11,66,0
12,65,0
EndLocations
I'm not sure what's going on with the avi file; the event seems to be written correctly. Try moving the avi file into the main CivToT folder, where all the other avi files are.
Just checking: Have you installed the patch?
William Keenan
November 1, 1999, 11:02
Civfan ...
AVI do not need to be in the vidio folder the scenario folder is fine. The reason your PlayAVI is not working is because the event structure above it is missing (or misspelled) the @ENDIF.
Civfan
November 2, 1999, 01:18
Heys guys, thanks for the replies. I finally got the delay thing working.. yaaaah..... http://apolyton.net/forums/smile.gif
The AVI files don't work. The command I used was
@IF
TURN
turn=2
@THEN
PLAYAVIFILE
fire.avi
@ENDIF
spelling is fine, I tried moving the AVI file around. TOT main folder, the folder the scenario was in but whats this Video folder you guys are talking about? Do you mean the folder on the actual CD? I looked for Video folder on the drive the game was installed on but can't find anything. I only have Original game and extended game installed not the fantasy/Sci-Fi scenario's, "not totally interested in them right now".
If anyone gets the AVI movies working with the events file, hope ya post it on the Apolyton site.
John, was the PLAYAVIFILE tested using the events.txt? I truly believe it doesn't work.
William Keenan
November 2, 1999, 01:28
Civfan, I have had AVIs work just fine. Send me the events file and I will look at it.
Civfan
November 2, 1999, 02:41
sending the events right now........ hope you can help out........Civfan
John Possidente
November 2, 1999, 10:42
Yes, we tested it. Heck, we use it in all of the sub-games. Maybe what you should do is copy one of the working AVI events out of one of our events.txt files, then modify it as you need to to match your design.
I remember there being a problem with AVI events on turn 1--that is, they didn't work at one point during development. Try turn=5. If it works then, but not on turn 1 or 2, then we didn't fix that one (although I'm pretty sure we did find it and fix it).
Civfan
November 3, 1999, 00:13
oh no. If its the patch thing thats doing this then I'm seriously screwed. The patch makes other scenario's obsolete. I'm mean I'm creating my Caesar scenario, if I install the patch, I can't continue the Scenario........Damn.......What to do??????????????? I guess no movies for now til I figure this one out.
unless I heard wrong about the patch.
William Keenan
November 3, 1999, 01:46
Civfan, the file you sent me works fine on my system. Try reinstalling the ToT patch.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.