Thread Tools
Old March 5, 2000, 16:59   #1
C Chulainn
Warlord
 
Local Time: 00:15
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Leeds,WestYorks,UK
Posts: 113
Change Terrain - only one square
I want to change just one square of terrain, but can't seem to do it... if I name the same square 4 times as the map rectangle what ends up happening is that Civ changes a whole row of squares linked diagonally all the way to the edge of the map!
What should I be doing?
C Chulainn is offline  
Old March 5, 2000, 17:28   #2
Stefan Härtel
Civilization II Democracy Game: ExodusScenario League / Civ2-Creation
King
 
Stefan Härtel's Avatar
 
Local Time: 01:15
Local Date: October 31, 2010
Join Date: Jul 1999
Location: Some cold place
Posts: 2,336
You can't. This was a great bummer when I made "Artaxerxes", where I wanted to include smaller earthquakes and sandstorms.

------------------
Follow the masses!
30,000 lemmings can't be wrong.

We who grew up tall and proud
In the shadow of the mushroom cloud
Convinced our voices can't be heard
We just want to scream it louder and louder:
"What the hell are we fighting for?"
"Just surrender and it won't hurt at all"
-Brian May (Queen)
Stefan Härtel is offline  
Old March 5, 2000, 18:32   #3
Cam
King
 
Local Time: 09:45
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Australia
Posts: 1,282
.
[This message has been edited by Cam (edited March 05, 2000).]
Cam is offline  
Old March 5, 2000, 18:36   #4
Cam
King
 
Local Time: 09:45
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Australia
Posts: 1,282
That's strange! From the Microprose 'Atlantis' scenario that first appeared on Fantastic Worlds:

quote:

@IF
RANDOMTURN
denominator=400
@THEN
JUSTONCE
TEXT
A large volcano erupts in the Aegean sea
ENDTEXT
CHANGETERRAIN
terraintype=10
maprect
130,62,130,62,130,62,130,62
PLAYWAVEFILE
volcano.wav
@ENDIF


Perhaps a MP Gold Edition thing?
Cam is offline  
Old March 5, 2000, 19:15   #5
Paul Hanson
King
 
Paul Hanson's Avatar
 
Local Time: 01:15
Local Date: October 31, 2010
Join Date: Aug 1999
Location: Dilbert
Posts: 1,839
Another example, from Red Front:

quote:

@IF
TURN
turn=39
@THEN
TEXT
^RAF night bombers strike a massive blow at the Berlin-Potsdam industrial
complex. Airplane and tank factories, as well as military installations are
hit.
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
14,96,14,96,14,96,14,96
PLAYWAVEFILE
Extra2.wav
CHANGEMONEY
receiver=Germans
amount=-5000
@ENDIF


Paul Hanson is offline  
Old March 6, 2000, 07:38   #6
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 02:15
Local Date: October 31, 2010
Join Date: Dec 1969
Posts: 3,079
Michael Daumen's "Moscow" also used it. You must have mistyped something.
Be sure the X and Y coordinates are either both even or both odd.
Mercator is offline  
Old March 7, 2000, 14:09   #7
JPetroski
Prince
 
Local Time: 20:15
Local Date: October 30, 2010
Join Date: Dec 1969
Posts: 331
I used this in Afrika Korps which was MGE, and nothing bad like that happend?

Id get you a sample of how I did it, but im not on the same computer right now.

Thank you,

------------------
John Petroski
Vudak@aol.com
JPetroski is offline  
Old March 7, 2000, 20:34   #8
C Chulainn
Warlord
 
Local Time: 00:15
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Leeds,WestYorks,UK
Posts: 113
D'OH!
I typed 409 instead of 109 in one of the entries...
Interesting that they have to all be odd or all be even, though.
C Chulainn is offline  
Old March 12, 2000, 06:47   #9
Captain Nemo
Prince
 
Local Time: 00:15
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Red Front
Posts: 556
ALL MAP COORDINATES MUST BE ODD,ODD OR EVEN,EVEN... As a matter of fact Odd,Even and Even,Odd map coordinates DO NOT EXIST on the Civ2 map.

If you move right one column the horizontal coordinate increases by one, but since you must either go to the square that's slightly below or slightly above the starting square, the vertical coordinate either goes up by one or down by one:
10,10 > 11,9 or 11,11... to stay level with the starting square you move to the square that only touches the starting square by the corner... But that square is TWO columns to the right of the starting square 10,10 > 12, 10. That means a 50 x 50 map has 50 columns and 50 rows but only 1250 squares!

This is very important when building a scenario. If ODD,EVEN or EVEN,ODD coordinates are used in the placement of units (Createunit) VERY strange things happen! In terrain modifications and move coordinates, I think it only causes the command to be ignored.
Captain Nemo is offline  
Old April 15, 2001, 00:06   #10
Taipan
Settler
 
Local Time: 00:15
Local Date: October 31, 2010
Join Date: Apr 2001
Location: A large island where the beer is cold
Posts: 6
Nothing like digging up a thread from over a year ago.....

I've been doing a search on the boards for an answer to my question but have come up blank, and this thread was the closest to my question.

In "Random Event" can you specify a random map co-ordinate for a terrain change? What I am trying to achieve is a Volcano appearing in my world at a random co-ordinate. Is this possible or are you stuck with the volcano appearing in specified places?

Taipan
Taipan is offline  
Old April 15, 2001, 02:22   #11
Henrik
Civilization II PBEMScenario League / Civ2-CreationNationStatesMacCivilization II Democracy Game: Red FrontSpanish CiversCivilization IV Creators
Emperor
 
Henrik's Avatar
 
Local Time: 01:15
Local Date: October 31, 2010
Join Date: Dec 2000
Location: The European Union, Sweden, Lund
Posts: 3,682
No, you can't generate a raandom terrain coordinate, what you can do is to have several random vulcano events which will create a vulcano at a seemingly random spot.
Snog did something similar in his "Old and New" scenario, where a barbarian unit would be placed in one barbarian town (and there is plenty of those) in thew begining of the scenario, but the place where it is created vary from time to time.
And there is basicaly a chanse of it being placed in any of the towns, you never know which one.
The same kind of event could be used but for the placement of vulcanos instead, I think.
Henrik is offline  
Old April 15, 2001, 04:00   #12
Taipan
Settler
 
Local Time: 00:15
Local Date: October 31, 2010
Join Date: Apr 2001
Location: A large island where the beer is cold
Posts: 6
Thanks for the reply Henrik....yeah thats what I thought...

Pity, as I had a good idea (IMHO)..I think what you are saying is to have various starting options within the scenario (correct?)....If that is so, it was not what I wanted to achieve. I wanted a Volcano to appear at random times thoughout the game, at random places...ie: new islands being raised from the sea, areas being distroyed through earthquakes etc. I guess I can still do the same, by having a large number of random starts.

Does anyone know if there is a limit to the number of "random" starts?

Taipan

Taipan is offline  
Old April 15, 2001, 04:11   #13
Henrik
Civilization II PBEMScenario League / Civ2-CreationNationStatesMacCivilization II Democracy Game: Red FrontSpanish CiversCivilization IV Creators
Emperor
 
Henrik's Avatar
 
Local Time: 01:15
Local Date: October 31, 2010
Join Date: Dec 2000
Location: The European Union, Sweden, Lund
Posts: 3,682
Actually that wasn't what I was saying but that might work too.
his events.txt looks like this:

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
39,73
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
13,25
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
47,65
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
26,32
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
7,31
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
47,59
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
33,45
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
36,80
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
40,64
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
21,47
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
3,21
endlocations
@ENDIF

To me the events seem to indicate that there is a chanse of multiple units being created but there is never more than one in the game...
Henrik is offline  
Old April 15, 2001, 07:59   #14
Taipan
Settler
 
Local Time: 00:15
Local Date: October 31, 2010
Join Date: Apr 2001
Location: A large island where the beer is cold
Posts: 6
Ok, with you....

Yeah, that might just work for me.

Thanks, I'll give it a go.

Taipan
Taipan 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 20:15.


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