Announcement

Collapse
No announcement yet.

Change Terrain - only one square

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    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)
    Follow the masses!
    30,000 lemmings can't be wrong!

    Comment


    • #3
      .
      [This message has been edited by Cam (edited March 05, 2000).]

      Comment


      • #4
        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?

        Comment


        • #5
          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, you should give Gibraltar back to the Spanish" - Paiktis, dramatically over-estimating my influence in diplomatic circles.

          Eyewerks - you know you want to visit. No really, you do. Go on, click me.

          Comment


          • #6
            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.
            Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

            Comment


            • #7
              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
              John Petroski
              PetroskiJP@hotmail.com

              Comment


              • #8
                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.

                Comment


                • #9
                  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.

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      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.
                      No Fighting here, this is the war room!

                      Comment


                      • #12
                        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

                        Comment


                        • #13
                          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...
                          No Fighting here, this is the war room!

                          Comment


                          • #14
                            Ok, with you....

                            Yeah, that might just work for me.

                            Thanks, I'll give it a go.

                            Taipan

                            Comment

                            Working...
                            X