June 2, 2003, 11:31
|
#1
|
King
Local Time: 21:52
Local Date: November 1, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
|
On the Creation of Cities.
Ok, for the sake of argument, let's say that these conditions are accomplished facts;
1.) An event creates a settler on a specific turn in a specific place/square--one coordinate number.
2.) It belongs to a player, not barbarian.
3.) It creates a city, on that square, every time.
4.) The newly-founded city's name comes from the City.txt list, and uses the same name every time.
Now, can I then use an event on the next or subsequent turn to create a unit in that newly-founded city?
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
|
|
|
|
June 2, 2003, 11:42
|
#2
|
King
Local Time: 21:52
Local Date: November 1, 2010
Join Date: Jan 2001
Location: of underdogs
Posts: 1,774
|
Am I overlooking something?
To create it, the CreateUnit event should work, since you already know the coordinates. To get the city to build it or to home it to the new city is a tougher matter. Is that what you're after?
|
|
|
|
June 2, 2003, 15:29
|
#3
|
King
Local Time: 21:52
Local Date: November 1, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
|
Yep.
Right; the CreateUnit event will create the settler, and the settler will create the city.
The question is; can I then create a NON unit in that city just created? using the CreateUnit event 1 or 2 turns later, and also using the city's name as the location of the 2nd CreateUnit event?
That sounds really confusing.
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
|
|
|
|
June 2, 2003, 16:51
|
#4
|
Emperor
Local Time: 20:52
Local Date: November 1, 2010
Join Date: Apr 1999
Location: of the frozen North.
Posts: 4,197
|
I don't see why not. Have you tried it?
|
|
|
|
June 2, 2003, 16:55
|
#5
|
Emperor
Local Time: 18:52
Local Date: November 1, 2010
Join Date: Dec 1969
Location: Fascist
Posts: 3,161
|
As long as the city and the unit created are the same civilization it would work. If the owners are different its a no go.
__________________
Re-elect Bush!
|
|
|
|
June 2, 2003, 18:37
|
#6
|
Local Time: 22:52
Local Date: November 1, 2010
Join Date: Jul 2005
Location: In search of pants
Posts: 5,085
|
Are you triggering the settler from something other than the turn number? In that case, you are going to have to use ToT's event delaying (though I don't know exactly how it works).
|
|
|
|
June 3, 2003, 13:04
|
#7
|
Emperor
Local Time: 03:52
Local Date: November 2, 2010
Join Date: Dec 2000
Location: The European Union, Sweden, Lund
Posts: 3,682
|
Surely, if your events refer to cities not yet created the scenario won't load the events?
__________________
No Fighting here, this is the war room!
Last edited by Henrik; June 3, 2003 at 13:20.
|
|
|
|
June 3, 2003, 21:18
|
#8
|
King
Local Time: 21:52
Local Date: November 1, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
|
Yep.
Yeah, Henrik, and that is what's on my mind with this. I'll have to try it and see what happens.
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
|
|
|
|
June 3, 2003, 22:16
|
#9
|
King
Local Time: 21:52
Local Date: November 1, 2010
Join Date: Jan 2001
Location: of underdogs
Posts: 1,774
|
I thought invalid homecity references revert to NONE. If that's true, wouldn't that include city names that don't exist when the event structure is created?
Perhaps you could fool the parser if you had 'Exile City' on the map at the start, eliminate it with a ChangeTerrain, and create a new 'Exile City' with the sequence you described above.
|
|
|
|
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 22:52.
|
|