Announcement

Collapse
No announcement yet.

Mod or hack needed

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

  • Mod or hack needed

    I'm not a programmer myself, but does anyone know of a mod or hack to MGE (or someone who could make one) that would allow forcing gov'ts and creating barbarian units in the events.txt. It would be a handy feature in several of my scenario projects, and I imagine hundreds of other scenario makers (at least) could also benefit.

  • #2
    You don't need a hack to create barbarian units. Just edit the events text manually. The built in editor doesn't allow it.

    As for forcing government, I assume you mean forcing a change from one gov't type to another at some point during the scenario. You may be able to get the desired effect by giving the relevant tech for the new gov't by events. If It's a higher level gov't the AI may initiate a revolution, as long as you don't toggle "forbid government switching" in the scenario special rules.

    If you use Test of Time, you could use the "TakeTechnology" action to remove the old gov't tech so the AI couldn't switch back.
    Tecumseh's Village, Home of Fine Civilization Scenarios

    www.tecumseh.150m.com

    Comment


    • #3
      I think you have to re-embed the events after you edit them somehow though, by using delevents.exe or something. Or is that unnecessary in MGE?
      1011 1100
      Pyrebound--a free online serial fantasy novel

      Comment


      • #4
        no, you do have to do that.
        I refute it thus!
        "Destiny! Destiny! No escaping that for me!"

        Comment


        • #5
          Originally posted by Elok
          I think you have to re-embed the events after you edit them somehow though, by using delevents.exe or something. Or is that unnecessary in MGE?
          your current scenario that you are playing would have to have a delevents run on it, but any future game you start would work with the new events file

          Comment


          • #6
            Simply taking the tech has not, in my experience, caused the AI to switch to a lower level government type. IMHO the only way to accomplish that is by using CSPL and ToT to change the value of the field in memory during play.

            Comment


            • #7
              How do I find or create a delevents.exe and what do you mean by CSPL and changing the value of the field in memory?

              Comment


              • #8
                delevents.exe should be located in your main civ2 directory. If not, some recent scenarios contain the file as well. You can do a search on the filename with the Windows file search...

                CSPL is short for Civilization Scenario Programming Library. It's a set of functions that allow you to edit the civ2 game memory while civ2 is running. That means you can basically create your own events, and change things like AI government at any moment during play.

                But... so far, CSPL only works for Civilization II: Test of Time.
                Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                Comment

                Working...
                X