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 > Call To Power II > CtP2-General/Help/Strategy/Multiplaying > How do i delete a city that is size 9?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
20.Mar: DAWN OF A NEW AGE
05.Jan: TORONTO-AREA EXPERT SOUGHT
08.Oct: 7TH APOLYTON CTP2 SP TOURNAMENT
CivGroups
Call to Power II Multiplayer (55): Not a Member - Join
Apolyton Storywriters' Guild (56): Not a Member - Join

bottom of page
   - CALL TO POWER 2 @ GOGAMER $9.99 - CALL TO POWER 2 @ GAMESTOP $14.99 - CALL TO POWER 2 @ CHIPS&BITS $24.95
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
1mic is offline 1mic
Settler

Nov 2003
time: 21:29
  Old Post 24-01-2005 02:02
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
How do i delete a city that is size 9? Increase Your PM Length

im taking over other nations cities, but i cant delete them because the smart AI placed there cities within 1 block from each other and i want to get rid of that city...
here is a pick:

btw im a noob here but ive been playing the CIV series since civII on windows '98

Attachment: delete city.jpg
This has been downloaded 65 time(s).

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:29
  Old Post 24-01-2005 02:59 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Get a bigger avatar today!

The short answer is that you can't.

The long answer is that there are several ways to get rid of it, but none of them are trivial - you can, for example, change all the population to scientists and starve the city, or leave it undefended in the hope that the AI captures it, and then continue to exchange the city between you until the fighting reduces the population far enough that you can disband it.

Several of the mods introduce a feature allowing a variety of options when you capture a city, including killing or enslaving all the citizens, to help with this problem.

Last edited by J Bytheway on 24-01-2005 at 20:45

1mic is offline 1mic
Settler

Nov 2003
time: 21:29
  Old Post 24-01-2005 03:19
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Get a bigger avatar today!

which mod would that be?
would that need the latest patch?

btw i just got the game, ive been wanting to get it for years, but never had the chance to buy it, i got the game on wednesday.

thanks alot

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:29
  Old Post 24-01-2005 20:45 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

I'm fairly sure that the Apolyton Pack and Cradle both include this feture, and quite possibly some of the others also.

You would need the latest official patch to play these, or you could use the latest Apolyton Edition from the source code project.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:29
  Old Post 24-01-2005 21:11 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

J Bytheway,

did you work with the SLIC to raze cities? this might be one of those options that code be coded into the source-code. I'm willing to give it a shot but let me know if you worked with it or who did.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:29
Post  Old Post 25-01-2005 01:08 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by E
did you work with the SLIC to raze cities? this might be one of those options that code be coded into the source-code. I'm willing to give it a shot but let me know if you worked with it or who did.


Well I don't tell , but let's see whether you can locate on your hard drive, I guess you have ApolytonPack installed. John already gave you the key words, "city" and "capture" and of course the slic file name's extension is *.slc. You should have everything to find it.

-Martin

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:29
  Old Post 25-01-2005 01:13 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton buy from Amazon

I found the SLIC:

code:
//////////////////////////////////////////////////////////////////////////// // // Destroy buildings script to allow for destruction of buildings due to conquest. // // By Dale // // Version 1.1 5-May-2001 // //////////////////////////////////////////////////////////////////////////// /////////////////////////////////// // Capture City event /////////////////////////////////// HandleEvent(CaptureCity) 'MM2_DestroyBuildsOnCapture' pre { city_t tmpcity; int_t tmpbuilding; int_t i; int_t randnum; tmpcity = city[0]; if(CityIsValid(tmpcity)) { for(i = 0; i < 64; i = i + 1) { randnum = random(100); if(randnum < 50) { DestroyBuilding(tmpcity, i); } } } } /////////////////////////////////// // Nuke City event /////////////////////////////////// HandleEvent(NukeCity) 'MM2_DestroyBuildsOnNuke' pre { city_t tmpcity; int_t tmpbuilding; int_t i; int_t randnum; tmpcity = city[0]; if(CityIsValid(tmpcity)) { for(i = 0; i < 64; i = i + 1) { randnum = random(100); if(randnum < 75) { DestroyBuilding(tmpcity, i); } } } }


But I'm going to finish up the first two projects first. Better to hone my skills. This one may be tougher mainly since it will involve creating a message box as well.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:29
Post  Old Post 25-01-2005 01:40 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Browse Apolyton AD-FREE

Wrong script, this script only removes some buildings on city capture, and doesn't contain neither any message boxes nor city destruction. No slaves, no refugees. Maybe you should try it with "enslave" as a keyword.

-Martin

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:29
  Old Post 25-01-2005 01:52 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Get a bigger avatar today!

now I see your interest....

code:
/////////////////////////////////////////////////////////////////////////////////////////// //New City Capture Option for CTP2 (MG_KillCityOption.slc) v. 1.1 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 100 gold and 75 PW. But unfortunatly there is // //also a regard loss concerning other nations. Additional this script adds a gold and PW // //to the capturing player and subtract the amount from the player that lost the city. The// //Values depends on city numbers PW and Gold values of the attacked player. // /////////////////////////////////////////////////////////////////////////////////////////// //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_GetGoldFromCapturedCity' pre{ int_t MGGoldValue; int_t MGPwP0; int_t MGPwP1; player[1] = city[0].owner; AddGold(player[0], (PlayerGold(player[1]))/Player[1].cities); AddGold(player[1], -(PlayerGold(player[1]))/Player[1].cities); MGPwP0 = player[0].publicworkslevel; MGPwP0 = MGPwP0 + ((player[1].publicworkslevel)/Player[1].cities); setPW(player[0], MGPwP0); MGPwP1 = player[1].publicworkslevel; MGPwP1 = MGPwP1 - ((player[1].publicworkslevel)/Player[1].cities); setPW(player[1], MGPwP1); } HandleEvent(CaptureCity) 'MG_KillCityOption' post { if (city[0].population>1) { if(IsHumanPlayer(g.player)){ if(CityIsValid(city[0])) { message(city[0].owner, 'DestroyCityMSG'); city[0] = DestroyCity; } } } } 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*100)); MGPw = player[0].publicworkslevel; MGPw = MGPw + (city[0].population*75); 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(); } } }


Do you think it'll be worthwhile to put in the code or should it just be added as standard slic for a game?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:29
Post  Old Post 25-01-2005 02:06 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton or Terrorists Win

Well I just wonder where you digged this up, ApolytonPack comes with version 1.4 with all the enslavement stuff and so on. But actual it consists of two parts. The first steals the victim some PW and also gold like in Civ2, and the second one asks the player whether he wants to keep or destroy the city. However the latest versions are buggy, that's the reason why The Big MC wants the AddSlaves function.

However of course such a code belongs finally into the source code. And of course a C++ solution would look differently, especially if you consider that the AI should also be able to use it.

-Martin

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:29
  Old Post 25-01-2005 02:24 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Avatar Enlargement: We've got the solution

I see...

I got it from Cradle, I'll dig up the other version later, i'd also like to add the option of "liberating" turning the city over to the barbarians in the case a player wants to split an empire instead of taking it over.

Mirimunchkin is offline Mirimunchkin

Chieftain

Jan 2005
time: 05:29
  Old Post 05-02-2005 19:01
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Suffering from ads?

1mic, hi.
Yet another way (using the vanilla version) is to set the city to produce only Settlers, and disband them as soon as they appear (saves on maintenance). Once the city hits population 3 - disband it (and the Settler). While the population is dropping you sell off the Inventory and get the Gold, and you're getting its PW.

HuangShang is offline HuangShang
King
USA, SoCal, L.A.
Jul 2002
time: 21:29
  Old Post 07-02-2005 03:20
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

ya Mirimunchkin, thats wut i do, and i do it alot
also, u can set as many peeps to labor so u get a settler per turn, and then the rest to science like J Bytheway said so it starves, but maybe just have it not grow instead of really starving and losing people
counting it up that's: money from selling buildings, people dying by starving, people leaving on settler wagons, and when disbanded @ 1-3, preferably 1 to get max settler/time to sell, a final settler

and i agree, thats a REALLY bad place for a city

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:29
  Old Post 07-02-2005 03:58
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy Civilization 2

It probably got Bedford from a Goody Hut. We should fix that.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:29.
Apolyton Time is 00:29.
    top of page
Rate This Thread:
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.0547 seconds (89.17% PHP - 10.83% MySQL) with 49 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