Thread Tools
Old June 4, 2003, 02:02   #1
Steff
Warlord
 
Steff's Avatar
 
Local Time: 02:57
Local Date: November 2, 2010
Join Date: Oct 2002
Location: Somewhere in Bavaria
Posts: 63
Problem with CREATEUNIT Command
I have a problem with the CREATEUNIT command in the event file. It is only possible for me to create one unit per event and not more. I saw it in other eventfiles that the creation of more units at different locations is possible, but not for me.....

Here is an example of my event:

@IF
CITYTAKEN
city=Groningen
attacker=Germans
defender=Europeans
@THEN
TEXT
^More British troops arrive at the french coast !
ENDTEXT
JUSTONCE
CREATEUNIT
unit=Crusader MkI
owner=Allies
veteran=yes
homecity=none
locations
89,39
endlocations
@ENDIF

I have to create this event three times to create three tanks. And this takes a lot of space in the event file. By the way, I use MGE German Edition.
Steff is offline  
Old June 4, 2003, 02:18   #2
EZRhino
Scenario League / Civ2-Creation
Prince
 
EZRhino's Avatar
 
Local Time: 19:57
Local Date: November 1, 2010
Join Date: Jun 2002
Location: Sunset and the evening star And one clear call for me.
Posts: 784
Dont you just write in additional co-ordinates in the locations bracket?
__________________
Sea Kings TOT

Sors salutis/ et virtutis/ michi nunc contraria,/ est affectus/ et defectus/ semper in angaria./
Hac in hora/ sine mora/ corde pulsem tangite;/ quod per sortem/ sternit fortem,/ mecum omnes plangite!
EZRhino is offline  
Old June 4, 2003, 02:23   #3
Steff
Warlord
 
Steff's Avatar
 
Local Time: 02:57
Local Date: November 2, 2010
Join Date: Oct 2002
Location: Somewhere in Bavaria
Posts: 63
Of course I wrote in additional coordinates, but civ ignores it. It only creates one unit in the first coordinate. All other locations/coordinates are ignored....
Steff is offline  
Old June 4, 2003, 02:30   #4
EZRhino
Scenario League / Civ2-Creation
Prince
 
EZRhino's Avatar
 
Local Time: 19:57
Local Date: November 1, 2010
Join Date: Jun 2002
Location: Sunset and the evening star And one clear call for me.
Posts: 784
Make a specific example.

Edit: that is make sure they are on different lines.

locations
89,39
89,39
89,39
endlocations

Not

locations
89,39 89,39 89,39
endlocations
etc...

Edit: also, I think "JUSTONCE" should go right in between "endlocations" and "@ENDIF", likewise "owner" goes before "unit" and not vice versa.
__________________
Sea Kings TOT

Sors salutis/ et virtutis/ michi nunc contraria,/ est affectus/ et defectus/ semper in angaria./
Hac in hora/ sine mora/ corde pulsem tangite;/ quod per sortem/ sternit fortem,/ mecum omnes plangite!

Last edited by EZRhino; June 4, 2003 at 02:43.
EZRhino is offline  
Old June 4, 2003, 02:37   #5
Steff
Warlord
 
Steff's Avatar
 
Local Time: 02:57
Local Date: November 2, 2010
Join Date: Oct 2002
Location: Somewhere in Bavaria
Posts: 63
A specific example ? Just put in the above mentioned event two or three others coordinates and only one unit will be created. I tried every possibility like three units in different coordinates, three units in similar coordinates, three units in coordinates with cities, without cities, only sea units, only land units, only air units, different owners, homecity "xxxxx" or none, nothing works.

Only one single unit appears
Steff is offline  
Old June 4, 2003, 02:38   #6
Steff
Warlord
 
Steff's Avatar
 
Local Time: 02:57
Local Date: November 2, 2010
Join Date: Oct 2002
Location: Somewhere in Bavaria
Posts: 63
A specific example ? Just put in the above mentioned event two or three others coordinates and only one unit will be created. I tried every possibility like three units in different coordinates, three units in similar coordinates, three units in coordinates with cities, without cities, only sea units, only land units, only air units, different owners, homecity "xxxxx" or none, nothing works.

Only one single unit appears
Steff is offline  
Old June 4, 2003, 02:39   #7
Steff
Warlord
 
Steff's Avatar
 
Local Time: 02:57
Local Date: November 2, 2010
Join Date: Oct 2002
Location: Somewhere in Bavaria
Posts: 63
Sorry, double post........
Steff is offline  
Old June 4, 2003, 02:48   #8
Dr Kellogg
Warlord
 
Dr Kellogg's Avatar
 
Local Time: 04:57
Local Date: November 2, 2010
Join Date: Apr 2003
Location: Ye Olde Europe
Posts: 155
Re: Problem with CREATEUNIT Command
Quote:
Originally posted by Steff
I have a problem with the CREATEUNIT command in the event file. It is only possible for me to create one unit per event and not more.
There's nothing wrong. Each unit needs its own event.. (well, not in ToT, but in FW/MGE)
Dr Kellogg is offline  
Old June 4, 2003, 02:55   #9
EZRhino
Scenario League / Civ2-Creation
Prince
 
EZRhino's Avatar
 
Local Time: 19:57
Local Date: November 1, 2010
Join Date: Jun 2002
Location: Sunset and the evening star And one clear call for me.
Posts: 784
Stupid me The extra co-ordinates are alternates in case one is occupied. Sorry Steff.
__________________
Sea Kings TOT

Sors salutis/ et virtutis/ michi nunc contraria,/ est affectus/ et defectus/ semper in angaria./
Hac in hora/ sine mora/ corde pulsem tangite;/ quod per sortem/ sternit fortem,/ mecum omnes plangite!
EZRhino is offline  
Old June 4, 2003, 02:59   #10
Steff
Warlord
 
Steff's Avatar
 
Local Time: 02:57
Local Date: November 2, 2010
Join Date: Oct 2002
Location: Somewhere in Bavaria
Posts: 63
Sorry, maybe I did not explain it clearly. I want to create a specific unit (e.g. a british Crusader tank) at multiple (e.g. three) locations (1,2,3) with only one event. At present I have to use several events for it. One for creating the tank at location 1, and the two others for locations 2 and 3. And this costs a lot of event space.

When I look at others scen, (e.g. the new Fortress Sevastopol) several specific units (e.g only Wehrmacht) are created with only one event at different locations.
Steff is offline  
Old June 4, 2003, 03:02   #11
Steff
Warlord
 
Steff's Avatar
 
Local Time: 02:57
Local Date: November 2, 2010
Join Date: Oct 2002
Location: Somewhere in Bavaria
Posts: 63
EZRhino
you mean that the first coordinate is the main intended location and all the others are alternate locations if the first one is occupied ? This could be the solution....Thanx a lot.
Steff is offline  
Old June 4, 2003, 03:05   #12
Dr Kellogg
Warlord
 
Dr Kellogg's Avatar
 
Local Time: 04:57
Local Date: November 2, 2010
Join Date: Apr 2003
Location: Ye Olde Europe
Posts: 155
Quote:
Originally posted by Steff
EZRhino
you mean that the first coordinate is the main intended location and all the others are alternate locations if the first one is occupied ? This could be the solution....Thanx a lot.
Yep!

For creating more than one unit with only one event, you need TestOfTime..
Dr Kellogg is offline  
Old June 4, 2003, 05:12   #13
curtsibling
staff
Scenario League / Civ2-Creation
Moderator
 
curtsibling's Avatar
 
Local Time: 03:57
Local Date: November 2, 2010
Join Date: May 2002
Location: Spamingrad
Posts: 5,693
I wish MGE had TOT's events power....
curtsibling is offline  
Old June 4, 2003, 06:48   #14
Dr Kellogg
Warlord
 
Dr Kellogg's Avatar
 
Local Time: 04:57
Local Date: November 2, 2010
Join Date: Apr 2003
Location: Ye Olde Europe
Posts: 155
Quote:
Originally posted by curtsibling
I wish MGE had TOT's events power....
true..
Dr Kellogg 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 22:57.


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