Announcement

Collapse
No announcement yet.

CivStack... utility to add fortresses/airbases to all squares

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

  • #31
    It's magic!
    I think I know what happens. An aribase is city code + fortress code. So removing the fortress will leave only the city code (I would have to fix that).
    So Civ2 will treat the square as a city (i.e. unit icons disappear, terrain editing impossible etc.)

    Oh, what the heck... Here's CivEngineer. More advanced than CivStack, but as John pointed out, more buggy as well! Use at your own risk!!
    Attached Files
    Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

    Comment


    • #32
      Every time I try to use CivStack it gives me a Path\File access error. Is there some way to fix it?
      "If you are not confused by quantum physics, then you haven't really understood it." -Niels Bohr
      "The true test of your character is what it takes to stop you." -Dr. Bob Jones Sr.

      Comment


      • #33
        Do you have the game you're trying to edit opened in Civ2 as well?
        Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

        Comment


        • #34
          Good work

          Good work, Mercator

          I only have a minor thing to point out: Did you know that even if there is a 'Unit present' or 'City present' flag toggled on in a square, the civilizations will not see the unit or the city?

          BTW, Mac people is my reason for programming in Java
          Trying to rehabilitateh and contribuing again to the civ-community

          Comment


          • #35
            You mean with the CivEngineer thing?
            None of the things you add will be visible. To make them visible I would have to update the civilization's views of the map as well. That was the main reason for only doing the stacking things first, since those don't need to be visible.
            Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

            Comment


            • #36
              One question: Why do you need to update the map?

              You can do that from your utility, with only a few more lines of code
              Trying to rehabilitateh and contribuing again to the civ-community

              Comment


              • #37
                I tried using Civstack after exiting Civ2 and it still gave me the same message, but it seemed to work anyway.
                Thanks for your work on Civ2.
                "If you are not confused by quantum physics, then you haven't really understood it." -Niels Bohr
                "The true test of your character is what it takes to stop you." -Dr. Bob Jones Sr.

                Comment


                • #38
                  yaroslav: Well yes, but quite a few more lines of code. I'd have to edit an entirely different part of the map data.
                  Java is indeed better for the Mac users among us, unfortunately I don't know Java.

                  Alex: When exactly do you get the error? Do you have the latest version (only applicable if you've had it for some time already).
                  Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                  Comment


                  • #39
                    Originally posted by Mercator
                    yaroslav: Well yes, but quite a few more lines of code. I'd have to edit an entirely different part of the map data.
                    Java is indeed better for the Mac users among us, unfortunately I don't know Java.
                    If you know C++, Java is pretty easy (I don't know if you have programmed CivFortress in C, C++ or any other language).

                    I've programmed a library that works with maps, because in my CivDip I need to exchange maps between users (and now I do it without problems). I'll send it to you if that could be usefull (it's written on Java, but if you know C++ there is no problem at all to use that)

                    Also, I posted in this forum a thread some time ago about how editing maps, cities and units in to order to reveal them

                    And a little addition that I'll find very useful - if the utility let's you enter a coordinate in order to change only one square (I know that you can do it in Civ2, but changing a square from ocean to landand from land to ocean in a scen it's difficult)
                    Trying to rehabilitateh and contribuing again to the civ-community

                    Comment


                    • #40
                      I don't know C++, I do know C and Perl, but I've never done any Windows programming with those (nor any others, except VB)... All my utilities are written in VB6.

                      I know in principle how everything's supposed to be done, but I'm a little busy, and most importantly I'm a perfectionist. Once I get started, I can't stop. But at this time, frankly, I don't feel like doing it (it's just a hobby, you know).

                      But well, I would like to see that library. It could probably help me here and there... I don't know if I'll even look at it until I start working on things again, though. I'll be sure to credit you if I ever use it.

                      You can find my e-mail address on my site(s) (see homepage link/signature), if you don't know it already.
                      Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                      Comment


                      • #41
                        I only get the error after selecting the savegame\scenario file to add fortresses to. But, as I said already, it works anyway.
                        "If you are not confused by quantum physics, then you haven't really understood it." -Niels Bohr
                        "The true test of your character is what it takes to stop you." -Dr. Bob Jones Sr.

                        Comment


                        • #42
                          Does this utility then effectively give each unit a + 100% defensive bonus b/c they are in a "fort" ???

                          If so we'd need to increase the attack str of all units by 2 to even it out.

                          Please someone clarify!
                          ---------------------------------------------
                          Pavlov Zangalis - Hero of the capture of Berlin RFDG.
                          ---------------------------------------------

                          Comment


                          • #43
                            Yes. Adjusting unit af's is one way to compensate. So's adjusting terrain defense modifiers. You'll also need to decide how to handle cities. Forts everywhere make cities less advantageous. Some designers like that. Others underlie the city with a 'Buildings' terrain that has a defense benefit (e.g. Herbstnebel). I'm embarrassed to say that I don't remember how they're handled in RF.
                            El Aurens v2 Beta!

                            Comment


                            • #44
                              Ah, Colwyn... I guess you mailed me too about this, I didn't know it was you...

                              Just to be complete, a reference to the Great Library combat thread:
                              Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                              Comment

                              Working...
                              X