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 > CtP2-Creation/AI/Mods/Scenarios-Archive > Small Victory number 692: Forcing Government Change
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
MrBaggins is offline MrBaggins
King

May 1999
time: 05:26
  Old Post 15-02-2003 08:28
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Small Victory number 692: Forcing Government Change Support Apolyton

Dale mentioned that in his mod, that he created a disadvantageous government: Dark Ages, but had to rely on a players honor to change to that government and keep the government.

Not sure anyone else has figured this out... no one has mentioned it, as far as I can tell... anyway...

Here is the solution:

remove all other government techs

invoke something like the following alertbox (with a message function)

It will give the player only one option: to press the button and invoke the government. The player cannot play on leaving the alert unanswered, because the only way to reenable the end turn button is to select the close button, and hence enact the government change.

PHP:

alertbox 'ShowTestMessage' {
    
Text(ID_TESTMESSAGE_M);
    
Show();
    
CantEndTurn(1);
    
Button(ID_T_BUTTON_CLOSE_FIRST) {
        
SetGovernment(GovernmentDB(GOVERNMENT_TYRANNY));

        
Kill();
        
CantEndTurn(0);
    }
}



N.B. The player must have the prequiste tech for the government to actually have this do anything.

Dale is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:26
  Old Post 15-02-2003 10:34
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Full PM-box? Change here!

Actually, what I was doing (and had it mostly running already) was that during the Dark Ages if the script noticed you were in a different govt there was a chance of "civic revolt" resulting in a change of govt.

But your answer is as good as many though.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:26.
Apolyton Time is 00:26.
    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.0305 seconds (84.59% PHP - 15.41% 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