Announcement

Collapse
No announcement yet.

Technical questions

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

  • Technical questions

    I have some doubts about a few things, where I'm not sure my way of doing things is correct!

    I hope someone can answer, as I intend to try and validate my events file this week-end.


    1. Change terrain effect

    If I change the terrain of a square (via events file), will the units sitting in that spot be destroyed??

    If not, how could I make sure I destroy units in a definite square??

    2. Change terrain and Barbarians

    I read somewhere that when a change terrain takes place in the events file, all barbarians on the map disappear, unless they possess a city, is that correct?

    I intend to give the barbarians an unreachable city from the start, to make sure they stay on the map. Is that necessary?? and is that the best solution??

    3. Barbarian city

    To create my initial barbarian city, I intend to manually create a size 2 city from another civ, and then to create a barbarian unit through event file next to it, so that it takes the city.

    Is there an easier way to directly create barbarian cities or units (without using the events file) ?

    And in the events file, what "civ" name should I use: "Barbarian" or "Barbarians" ??

    4. Units in the same spot

    I intend to use the events file to create barbarians units at a definite spot, unless another civ's unit is still sitting on this spot! Does it work?? I mean, what happens if the events file try to create an unit on a spot already occupied by another civ's unit: does the creation take place and the 2 units sit on the same spot, or is the game stopped from creating the unit (as I think and hope) ??
    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

  • #2
    the units are destroyed on a square where the terrain s changed.

    use the CivCity utility to change the owner of the city to barbarians. it can be found on mercator's homepage:

    look @ the bottom of the page, Carl Fritz's Scenario Tools.
    "Peace cannot be kept by force.
    It can only be achieved by understanding"

    Comment


    • #3
      Thanks Arthedain!

      And about questions 2 and 4, anybody's got an idea??
      And about the name to use for Barbarians in the events file??
      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


      • #4
        Re: Technical questions

        Originally posted by Cyrion
        2. Change terrain and Barbarians
        No. That doesn't happen.

        4. Units in the same spot

        I intend to use the events file to create barbarians units at a definite spot, unless another civ's unit is still sitting on this spot! Does it work?? I mean, what happens if the events file try to create an unit on a spot already occupied by another civ's unit: does the creation take place and the 2 units sit on the same spot, or is the game stopped from creating the unit (as I think and hope) ??
        A CREATE UNIT event will not create units that occupy the the location as units or a city of another civ. If they square is occupied it will try to create the units in the next spot listed in LOCATIONS. If all loactions are invalid the unit will not be created.

        Comment


        • #5
          Thanks William, I'll try without the barb city then !!

          And I intend to use a "Nature" civ, wihout any settler or such (actually just for impassable terrain).

          Do I need to give them a city or not?

          Edit: and thanks for the 2nd answer too, it's what I hoped it would be!
          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


          • #6
            I'm pretty sure they can be cityless, at least from FW onwards. I've heard that cityless civs at the beginning of a scenario in prior versions make the game crash. If you really wanna play it safe, why not make the immobile "impassible terrain" units into settlers? It's not like the AI could use them as such.
            1011 1100
            Pyrebound--a free online serial fantasy novel

            Comment


            • #7
              I had some problems with that change terrain event.
              Although i set the map rectangle just fine, amazingly the terrain changed is 6(six squares) instead of the normal 5(The four edges and the center).


              And remember Cyrion, Change Event eliminates not only units but cities as well.
              "Military training has three purposes: 1)To save ourselves from becoming subjects to others, 2)to win for our own city a possition of leadership, exercised for the benefit of others and 3)to exercise the rule of a master over those who deserve to be treated as slaves."-Aristotle, The Politics, Book VII

              All those who want to die, follow me!
              Last words of Emperor Constantine XII Palaiologos, before charging the Turkish hordes, on the 29th of May 1453AD.

              Comment


              • #8
                Originally posted by Palaiologos
                And remember Cyrion, Change Event eliminates not only units but cities as well.
                Thanks Palaiokogos, but that should be no problem for me: I'll use a concept I saw on this forum from someone who was building a Byzantine scenario, and cities are not involved in the change terrain (for more infos on that, wait for me to finish it! )
                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


                • #9
                  Further Questions

                  First a comment: I still think that the Changeterrain destroys the barbarians units IF they don't own a city at the time it happens! That's what happened in my tests, and it stops after I gave them a city!

                  Second (somehow related to Palaiologos "rectangular" remark): if I want to change a few squares at a time, can I only define a rectangular shape that is fully aligned with the vertical and horizontal? I mean would it be possible to use, for instance, "58,88,60,86,58,88,60,86"?? and would I then get a change in the 3 squares: 58,88; 59,87; 60,86 ?? I tried it, but it didn't seem to work! Is there a way to get it, apart from using 3 Changeterrain? Or maybe there was another problem in my event??

                  Third and last: I had a visual problem with an unit: if I create a particular unit (and I tried a few ones, it only happened with that particular unit) it looks just fine with any Civ, except the barbarians: if I create it for the barbarians, everything is fine EXCEPT that I can't see it, only the shield and health bar are visible on the terrain! What's up?? Did this already happen to anybody??
                  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


                  • #10
                    2) That obviously doesn't work... The ChangeTerrain needs the 4 corners of a rectangle, like so:
                    Code:
                    1--2
                    |  |
                    4--3
                    You can't just give any coordinates you fancy.

                    3) Was it the unit in the diplomat slot by any chance? Barbarian diplomats will get the graphic of the barbarian leader instead. If you blanked that one out, you'd get the effect you describe.
                    Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                    Comment


                    • #11
                      Thanks Mercator:

                      2) that's what I thought: you need a rectangle aligned with Horizontal and vertical

                      3) YES, the unit, though NOT a diplomat, is in the diplomat slot, AND the barbarian diplomat has been blanked out!

                      So, if I understood it right, I just need to swap this unit with one the Barbarians never get, and then it should be solved, right??

                      Thanks again! (this community is really great with so many helpful people! )
                      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


                      • #12
                        you can swap it with another unit, or you can provide the same graphic in the barb. leader slot (or even provide the barbs with the same unit but different graphic)
                        Indifference is Bliss

                        Comment


                        • #13
                          The barbarians automatically get terrain improvements (roads, irrigation, etc).

                          Comment


                          • #14
                            Next question

                            About the barbarian unit in the diplo slot: I just swaped with another unit, and it works perfectly, thanks!


                            Now I have another event problem: upon destruction of a (unique static) barbarian unit, I NEED another unit to be created on the same square. This works fine if the unit I create is Barbarian controlled to, but DOESN'T work if it belongs to another civ (which is what I NEED)!!

                            This is a really BIG problem for my scen! Any idea why it is so and how I could solve this problem??
                            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


                            • #15
                              I don't know, but logic might suggest that it's to stop units for more than one civ appearing in the same tile in the same turn.

                              Does it have to appear in the same turn? Do you have the Delay modifier available to you in the version of Civ2 you're using?
                              Catfish's Cave - Resources for Civ2: Test of Time | Test of Time FAQ | War of the Ring scenario

                              Comment

                              Working...
                              X