Announcement

Collapse
No announcement yet.

PANZER BATTLES on the RIVER CHIR!

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

  • #61
    Originally posted by Mercator
    I'm pretty sure that's not true.
    Whoops, you're right. I thought it was different.

    Comment


    • #62
      Ok, I'm missing it. Merc, how is the event I posted different from your correction? Of course you're correct, but for some reason, I am just not seeing any difference.

      Am I blind or something?

      Lost in America.
      "a freaking mastermind." --Stefu
      "or a very good liar." --Stefu
      "Jesus" avatars created by Mercator and Laszlo.

      Comment


      • #63
        Incorrect:

        @THEN
        CHANGETERRAIN
        TERRAINTYPE=5
        MAPRECT=17,17,17,17,17,17,17,17
        @ENDIF


        Correct

        @THEN
        CHANGETERRAIN
        TERRAINTYPE=5
        MAPRECT
        17,17,17,17,17,17,17,17

        @ENDIF

        Comment


        • #64
          Well, I tried that and it didn't work either.

          I'm about to give up on the artillery and just remove them.

          Everytime I try to make a changeterrain event, it gives me a events.txt error when I load it.

          This is getting ridiculous. I only need to do 1 damn thing, and the program just isn't doing what it's supposed to do.



          Here is the event;

          @IF
          UNITKILLED
          unit=A Battery
          attacker=Russians
          defender=Germans
          @THEN
          CHANGETERRAIN
          TERRAINTYPE=5
          MAPRECT
          17,17,17,17,17,17,17,17
          @ENDIF
          Lost in America.
          "a freaking mastermind." --Stefu
          "or a very good liar." --Stefu
          "Jesus" avatars created by Mercator and Laszlo.

          Comment


          • #65
            Originally posted by Exile
            Well, I tried that and it didn't work either.

            I'm about to give up on the artillery and just remove them.

            Everytime I try to make a changeterrain event, it gives me a events.txt error when I load it.

            This is getting ridiculous. I only need to do 1 damn thing, and the program just isn't doing what it's supposed to do.



            Here is the event;

            @IF
            UNITKILLED
            unit=A Battery
            attacker=Russians
            defender=Germans
            @THEN
            CHANGETERRAIN
            TERRAINTYPE=5
            MAPRECT
            17,17,17,17,17,17,17,17
            @ENDIF
            Sorry if I'm being obvious, but I just saw in the other thread that I sometimes should be!

            Are your sure of the spelling of "A Battery" (Isn't it "A. Battery"?) , "Germans" and "Russians"??

            And isn't your event file already full?
            Ankh-Morpork, we have an orangutan...
            Discworld Scenario: http://apolyton.net/forums/showthrea...8&pagenumber=1
            POMARJ Scenario:http://www.apolyton.com/forums/showt...8&pagenumber=1
            LOST LEGIONS Scenario:http://www.apolyton.com/forums/showt...hreadid=169464

            Comment


            • #66
              16.3 KB is just about the max for MGE event space. Check the text file properties.

              Try just making the event in a blank scenario file using the event editor and see if it comes out different. In fact, copy the rules into the blank scenario folder before you use the event editor. Cyrion might be right, the unit name might be spelled wrong. I've gone back to the event editor time to time to make sure I've written the event in correctly. The computer will always dump in the correct info if only for that one specific event.

              Also, this is a dumb question, but the tile coordinates are definately 17 by 17, right?

              Comment


              • #67
                No, sorry. MGE has a 32 kb events "heap", whatever that is. ToT is 100kb.
                Tecumseh's Village, Home of Fine Civilization Scenarios

                www.tecumseh.150m.com

                Comment


                • #68
                  Originally posted by techumseh
                  No, sorry. MGE has a 32 kb events "heap", whatever that is. ToT is 100kb.
                  Well I have a max of 16.3 KB file size for the text file itself. I don't know how that translates in the editor.

                  Comment


                  • #69
                    You may want to try the following logical sequence.

                    1. Delete 4-5 events or disable them with semi-colons. If that works, then you have a size problem.

                    2. If that doesn't work, simplify the problem event to

                    @IF
                    TURN
                    turn=XXXXXX
                    @THEN
                    CHANGETERRAIN
                    TERRAINTYPE=5
                    MAPRECT
                    17,17,17,17,17,17,17,17
                    @ENDIF

                    and fill in XXXXXX. If it works, that'll tell you that the problem is in the first part of the @IF.

                    3. If that doesn't work, I have no more ideas.
                    Excerpts from the Manual of the Civilization Fanatic :

                    Money can buy happiness, just raise the luxury rate to 50%.
                    Money is not the root of all evil, it is the root of great empires.

                    Comment


                    • #70
                      Finally got it to change terrain. No idea what the difference was between the initial version and the successful version. It's a mystery.

                      The coordinates are correct. The spelling of the unit names is correct. I don't use the event editor. I only do events manually.

                      But now I can't get the specified unit to appear where the artillery unit was.

                      Brian, I think you're right about not being able to do this. I even took your advice literally and changed the terrain to ocean to see if that was the trick. I can't get the Russian unit to appear in any of the three squares.
                      Lost in America.
                      "a freaking mastermind." --Stefu
                      "or a very good liar." --Stefu
                      "Jesus" avatars created by Mercator and Laszlo.

                      Comment


                      • #71
                        Maybe it's the UnitKilled that really causes the problems.

                        Both techumseh and Cyrion fixed the CreateUnit by delaying it. Maybe the ChangeTerrain isn't really necessary at all, maybe it's simply a problem with the UnitKilled event, or rather the square that unit was on, on the turn it happened.
                        Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                        Comment


                        • #72
                          Re: Ok, in order . . . . .

                          Originally posted by Exile
                          Have you got an SU-76 graphic around somewhere? It'd be more appropriate if so. *HINT*
                          Here you go:
                          Attached Files
                          http://sleague.apolyton.net/index.ph...ory:Civ2_Units

                          Comment


                          • #73
                            I forgot about this project until recently. Was it ever released?
                            STDs are like pokemon... you gotta catch them ALL!!!

                            Comment


                            • #74
                              I don't think so. Either way, I wanna play it!
                              "Peace cannot be kept by force.
                              It can only be achieved by understanding"

                              Comment


                              • #75
                                Originally posted by Exile
                                But now I can't get the specified unit to appear where the artillery unit was.
                                I hope my understanding isn't too simplistic, but are you trying to use the same event trigger for both the ChangeTerrain and CreateUnit actions in a single statement? If so, I think you'll be stymied by the order of execution. CT occurs after CU.
                                El Aurens v2 Beta!

                                Comment

                                Working...
                                X