Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Scenario League / Civ2-Creation -Archive > Mod or hack needed
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Patine is offline Patine
Prince
Edmonton, Canada
Mar 2002
time: 22:30
  Old Post 06-09-2003 06:47 Visit Patine's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Mod or hack needed Support Apolyton buy from Amazon

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.

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:30
  Old Post 06-09-2003 08:37 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Get a bigger avatar today!

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.

Elok is offline Elok
Prince
Land of Ramen Dragons
Mar 2003
time: 00:30
  Old Post 06-09-2003 17:47
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton

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?

Goingonit is offline Goingonit
Warlord
Toronto, Canada - AECCP member
Apr 2001
time: 00:30
  Old Post 06-09-2003 21:17
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Lose 30 kilos (of popups)

no, you do have to do that.

H Tower is offline H Tower
Emperor

Jul 2001
time: 23:30
  Old Post 11-09-2003 09:58
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
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

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:30
  Old Post 11-09-2003 19:19 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization 2

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.

Patine is offline Patine
Prince
Edmonton, Canada
Mar 2002
time: 22:30
  Old Post 11-09-2003 20:59 Visit Patine's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Help yourself to an AD-FREE life

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?

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:30
  Old Post 13-09-2003 03:16 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization 2

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.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:30.
Apolyton Time is 00:30.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0391 seconds (86.67% PHP - 13.33% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net