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.
Announcement
Collapse
No announcement yet.
Mod or hack needed
Collapse
X
-
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.
-
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?
Comment
-
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?
Comment
-
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.
Comment
Comment