Announcement

Collapse
No announcement yet.

Computer-controlled units!

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

  • Computer-controlled units!

    Hi all!

    As I was toying with hex-editor in order to discover where the agglomerate work of settlers is stored, I discover something very interesting. In MGE (I've not checked it in other versions) if you put the leftmost bit of the 6th byte of a unit to 1, you get that unit controlled by the AI! If you are in war against a civ, the AI would launch this unit again the nearest city; if not, the unit will roaming free or enter in a city and don't move. For trade units, the AI will try to create a trade route.

    I wonder if having computer-controlled units in human's civ is interesting for scen-creators.

    BTW, regrettabily enough, is very easy to get rid off of "AI-control": only by clicking in the unit you put the unit in manual mode
    Trying to rehabilitateh and contribuing again to the civ-community

  • #2
    Yep... I discovered that too a while ago. It's the bit that turns your settlers into automated settlers, and works for all units (although you need hexediting to achieve it for anything other than settlers)... So it works in FW as well.

    No, I don't think I have any other things up my sleeve... Not written down anyway.
    Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

    Comment


    • #3
      Oppss, sorry Mercartor. I didn't want to take out your credit I didn't know

      I've though that if you put your starting army as "invisible" and AI-controlled, and allow it to move for some turns before starting a war in a scen, you could "randomize" the starting positions of the army. What do you think?
      Trying to rehabilitateh and contribuing again to the civ-community

      Comment


      • #4
        I didn't tell anybody, that's why you didin't know. So take all the credit you want.

        How would you go about making it invisible, and make sure the player really keeps his hands off it for those few turns?

        I guess it could be used as some sort of a surprise or micromanagement reduction thing. I'm not sure if I can think of any concrete examples, though... But damnit, it must be good for SOMETHING!
        Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

        Comment


        • #5
          Originally posted by Mercator
          How would you go about making it invisible, and make sure the player really keeps his hands off it for those few turns?
          You couldn't be sure, but if the units have non support and are invisible, you have to gess where they are in order to delete their orders
          Trying to rehabilitateh and contribuing again to the civ-community

          Comment


          • #6
            What happens if you automate a diplomat or spy? I somehow doubt it, but could you have a little Gavril Princip unit running amok?
            1011 1100
            Pyrebound--a free online serial fantasy novel

            Comment


            • #7
              Interesting! Could you edit a specific type of unit so that if it were created by events, it would automatically operate independently?
              Tecumseh's Village, Home of Fine Civilization Scenarios

              www.tecumseh.150m.com

              Comment


              • #8
                You could simulate vassals or something...
                "I realise I hold the key to freedom,
                I cannot let my life be ruled by threads" The Web Frogs
                Middle East!

                Comment


                • #9
                  Originally posted by Heresson
                  You could simulate vassals or something...
                  Naval vassals?
                  Tecumseh's Village, Home of Fine Civilization Scenarios

                  www.tecumseh.150m.com

                  Comment


                  • #10
                    So what does an enemy civ's units look like with this bit? Can you turn it off? Then you have enemy/allied units to control...

                    Comment


                    • #11
                      Arggggghhhh.

                      Tech, that was AWFUL!!!

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

                      Comment


                      • #12
                        tech: I'm not able to create AI-controlled units via events, sorry

                        DarthVeda: Good idea. I'm going to check it, but I don't believe that you can control enemy units

                        Elok: They probably will roam, but I'll check it
                        Trying to rehabilitateh and contribuing again to the civ-community

                        Comment


                        • #13
                          Too bad. Anyway, thanks for the new (and almost new ) research. Keep it up!
                          Tecumseh's Village, Home of Fine Civilization Scenarios

                          www.tecumseh.150m.com

                          Comment


                          • #14
                            Well, one of my projects is doing a super-extendend MACRO language for Civ2 MGE. With the macro-language I'm thinking in it, it'll be possible...

                            If I end quickly the third version of Civ2PBEM Diplomacy there will be a "window" of time for my to do that macro-language...
                            Trying to rehabilitateh and contribuing again to the civ-community

                            Comment


                            • #15
                              You'd better talk to Angelo "CSPL" Scotto.
                              Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                              Comment

                              Working...
                              X