 |
|  |
 |
|
Bennie
|
|
Hi. I first got turned on to Civ 2 by my gf who had a copy. We play it so much that we refer to it as "our" game. I finally got my own copy of ToT, and am working on a scenario. This will sound very basic for you people, because you're obviously (based on the posts I've read) alot more experienced at this than I am. This is what I have in one section of my events file:
@IF
TURN
turn=555
@THEN
JustOnce
CreateUnit
owner=Americans
unit=Armor
Count=1
veteran=Yes
homecity=New York
locations
x7,y81
endlocations
TEXT
U.S. forces have used alien technology to teleport into the Russian territory! They are advancing towards Moscow! I recommend using one of our cruise missiles in Asiatic Outpost to destroy the U.S. Armor which is advancing! (You will have only one opportunity to save Moscow. When this turn ends, so does Russia, if you are unsuccessful!)
ENDTEXT
@ENDIF
What is wrong with this? It seems to all look right according to the manual, but whenever I try to start up my scenario, it says there was an error. I checked my reopt file, and it said this was an Illegal CreateUnit command. What's illegal about it? pleas ehelp. I really would like to get the hang of this so I can make scenarios for my friends. Any advice or suggestions would be very greatly appreciated. Thanks! ^_^
|
|
|  |
 |
|
Bennie
|
|
OK...Now I changed it to this:
@IF
TURN
turn=555
@THEN
TEXT
U.S. forces have used alien technology to teleport into the Russian territory! They are advancing towards Moscow! I recommend using one of our cruise missiles in Asiatic Outpost to destroy the U.S. Armor which is advancing! (You will have only one opportunity to save Moscow. When this turn ends, so does Russia, if you are unsuccessful!)
ENDTEXT
JustOnce
CreateUnit
owner=Americans
unit=Armor
veteran=true
homecity=None
locations
7,81
endlocations
@ENDIF
THis works perfectly, except for one small problem: The unit that's created also gets created along with several nuclear missiles, and they appear in several different locations...none of which are the square I specified in my file. (And no, they arne't just units that the AI sent there...they're being created randomly for some reason). PLEASE help!
|
|
|  |
 |
|
Bennie
|
|
the map numbered as 0 is whatever map the game generated for you right? That could be the problem if I'm wrong about that. Am I?
|
|
|  |
All times are GMT. The time now is 05:12. Apolyton Time is 00:12. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|