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 > Looking for a custom mod
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
waltergr is offline waltergr
Settler

Dec 2001
time: 21:17
  Old Post 22-12-2001 22:19
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Looking for a custom mod Enter the AD-FREE zone

Don't think it's out there...at least I haven't seen it. But, here's what I want - maybe somebody could help me find it?

When a city is captured, you have 3 choices:
1. Expand your empire (control city)
2. Bloodbath (level city, decimate population - lowers regard)
3. Move population (level city, but population "immigrates" to your empire.)

Choice #1 is what the game currently does.

Choice #2 would give you gold (in the "sell" value of any buildings), and improvement funds (in the value of any tile improvements). However, it would also lower your regard among other nations.

Choice #3 wouldn't give you any gold/improvement funds - but neither would it affect your regard among the other nations. The city and any tile improvements would disappear. The population would be "absorbed" by your empire. At least the closest city, but preferably spread out among all your cities.

I feel this better represents the real outcome of warfare. You either take over the territory, destroy it and kill the population, or force the population to move to your cities.

Can anybody help me with this?

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:17
  Old Post 22-12-2001 22:38
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Matin Guhmann already made a Slic wich includes choice 1 and 2. Take a look at his website.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:17
  Old Post 23-12-2001 01:15 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Help yourself to an AD-FREE life

Yeah, Martin did most of this: http://apolyton.net/forums/showthre...=&threadid=2742

Here is the code. To get it to work, bung it into a SLIC file such as script.slc or scenario.slc.


code:
/////////////////////////////////////////////////////////////////////////////////////////// //New City Capture Option for CTP2 (MG_KillCityOption.slc) v. 1.0 by Martin Gühmann // /////////////////////////////////////////////////////////////////////////////////////////// //This script file adds now the possiblity for the human player to eleminate a city after// //capturing. It gives per pop the player 500 gold and 500 PW. But unfortunatly there is // //also a regard loss concerning other nations. // /////////////////////////////////////////////////////////////////////////////////////////// //To install this script just unzip the *zip file into your default CTP2 folder and open // //the file script.slc in your ..\ctp2_data\default\gamedata\ folder and add to the end of// //this file the line #include "MG_KillCityOption.slc". Afterwards go to your // //..\ctp2_data\english\gamedata\ folder (if your using the German version it is of course// //the ..\ctp2_data\german\gamedata\ folder) and open there the file string.txt and add // //the line import "MG_KillCityOption.txt". If you want to you use these files with one of// //the mods you have to look for files with the according prefix like MM2_ for MedPack2 or// //CRA_ for Cradle or APOL_ for Apolyton Pack or APOLU_ for the extra large Apolyton Pack // //map version. // /////////////////////////////////////////////////////////////////////////////////////////// city_t DestroyCity; HandleEvent(CaptureCity) 'MG_KillCityOption' post { if (city[0].population>1) { if(IsHumanPlayer(g.player)){ if(CityIsValid(city[0])) { message(g.player, 'DestroyCityMSG'); } } } } AlertBox 'DestroyCityMSG' { int_t i; int_t MGPw; Title(ID_DESTROY_CITY_TITLE); Text(ID_DESTROY_CITY); //MessageType("MILITARY"); DestroyCity = city[0]; Show(); Button(ID_EXTEND_EMPIRE) { Kill(); } Button(ID_BLOODBATH) { if(CityIsValid(city[0])) { AddGold(player[0], (city[0].population*500)); MGPw = player[0].publicworkslevel; MGPw = MGPw + (city[0].population*500); setPW(player[0], MGPw); ChangeGlobalRegard(player[0], -50, ID_BLOODBATH, 50); for (i=city[0].population; i>=0; i=i-1){ if(CityIsValid(city[0])) { Event: KillPop(city[0]); } } Kill(); } } //*** }


To insert the third option, then at the point where I marked //***, replace it with:
code:
Button(ID_EVACUATE) { int_t j; city_T tmpCity; if(CityIsValid(city[0])){ for (i=city[0].population; i>=0; i=i-1){ if(CityIsValid(city[0])) { Event: KillPop(city[0]); j = random(PlayerCityCount(g.player)); GetCityByIndex(g.player, j, tmpCity); AddPops(tmpCity, 1); } } } Kill(); }


Then open scen_str.txt and add the following lines:

DESTROY_CITY_TITLE "Capture or destroy city?"
DESTROY_CITY "{player[0].leader_name#SIR_CAP}, we conquered the city {city[0].name}. Thousands of citizens await your decision with fear: Either you annex the city {city[0].name} into the empire or you pillage it, sack it and cause a bloodbath under the civil population. But note a bloodbath will lower our regard. Alternatively you can move the citizens to our existing cities, and raze the city to the ground."
EXTEND_EMPIRE "Extend Empire"
BLOODBATH "Bloodbath"
EVACUATE "Disband"


The third option now distributes the population of that city randomly over your empire.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:17
Post  Old Post 23-12-2001 02:01 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton

something to add for my GoodMod. I should reincrease the regard cost by the way. I hope I can finish the AI files before Chrismas. Still some goals are left to add them to goals.txt and strategies.txt. But that is not very much. To add player1's modifications to my strategies.txt needed a little bit longer but that is done. I only need to add some goals that covers some forgotten orders.

-Martin

waltergr is offline waltergr
Settler

Dec 2001
time: 21:17
  Old Post 23-12-2001 18:45
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Thanks all Support Apolyton buy from Amazon

Special thanks to Martin for the good work!

I guess I'm gonna havta check out this forum more often.

Have a happy holiday.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 23-12-2001 22:25
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Lose 30 kilos (of popups)

quote:
Originally posted by Martin Gühmann
something to add for my GoodMod. I should reincrease the regard cost by the way. I hope I can finish the AI files before Chrismas. Still some goals are left to add them to goals.txt and strategies.txt. But that is not very much. To add player1's modifications to my strategies.txt needed a little bit longer but that is done. I only need to add some goals that covers some forgotten orders.

-Martin


If you have any problems with AI I made just ask me by PM.
Then post a thread in CTP2/mod and I will explain.

You can ask me about some of "strategic" decisions for various AI flags also.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:17
Post  Old Post 24-12-2001 22:20 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Enter the AD-FREE zone

I found a small bug in your code Ben:

code:
j = random(PlayerCityCount(g.player));


The effect of this one is that the just conquered city is not killed, but this one will do the job as we have to exclude the last city from player city count:

code:
j = random(PlayerCityCount(g.player)-1);


By the way GoodMod v0.98 is know in the playtest phase I guess I can post it soon.

-Martin

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:17
Post  Old Post 25-12-2001 00:39 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Full PM-box? Change here!

OK the New City Kill Option for CTP2 version 1.3 is now available on my homepage. But anyway I would play the whole GoodMod.

Merry Christmas

-Martin.

Last edited by Martin Gühmann on 25-12-2001 at 01:34

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