Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  CtP-General/Help/Strategy
  Max_Disband_Size ignored - Other way?

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   Max_Disband_Size ignored - Other way? Format for Better Printing
Paul D
Chieftain
Canada
May 99
posted July 09, 2000 16:26   Click Here to See the Profile for Paul DClick Here to Email Paul D  send a private message to Paul D
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I'm using Ctp with 1.2 patch, 1.21 hack, CD Mod 4.22, world report, powerslics 2.00

I want to disband cities larger than size 4.
I edited Const.txt MAX_DISBAND_SIZE 15(that exact spelling and spacing).
Started a NEW game to test it out. Got to size 5, it wouldn't let me disband.

I tried every value on down to 5, it still said it wouldn't let me disband beyond size 4. I tried 2, and it still let me disband UP to size 4. So it seems this MaxDisband key is utterly IGNORED.

How do I make it let me disband cities larger than size 4?
[This message has been edited by Paul D (edited July 09, 2000).]

TheBirdMan
Prince
Denmark
Sep 1999
posted July 11, 2000 00:46   Click Here to See the Profile for TheBirdManClick Here to Email TheBirdMan  send a private message to TheBirdManSend a Message to UIN: 92691093
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Did you close CTP and load it from the start after changing the value?
TheLimey
Prince

May 2000
posted July 11, 2000 09:51   Click Here to See the Profile for TheLimeyClick Here to Email TheLimey  send a private message to TheLimey
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I believe this is a limitation, and didn't get hooked up to the program. Either it will be sorted in CtP2 or it will be doable through SLIC.
Paul D
Chieftain
Canada
May 99
posted July 12, 2000 11:20   Click Here to See the Profile for Paul DClick Here to Email Paul D  send a private message to Paul D
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only

Has anyone done this in SLIC yet?
Could any of the SLIC experts provide advice on how this might, in loose terms, be achieved? I've never used SLIC to make anything, but am well based in programming so can pick up things easily. I just want the quickest line to a solution without learning the whole language for this one extremely annoying problem. I don't have enough vacation time left for it..
gemini
Warlord
camrose,ab,canada
Aug 1999
posted July 12, 2000 12:22   Click Here to See the Profile for gemini   send a private message to gemini
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Hi PaulD, Yes I believe something like a disband city can be done through slic.

Here is an example, you'll have to excuse any syntax errors as I am at work right now and don't have alot of time.

You would probably need a message box to come up and ask you if you want to disband the city.

code:

//put the city selected into my location variable disban
typelocation disban;
typecity die;
trigger 'disband' when (city.selected){
//there might be a better way to trigger this than if a city is selected
extractlocation(city.1,disban);
getcitybylocation(disban, die);
message (g.player,'killcity');
//message asking player if he wishes to disband the city???
}

messageBox 'killcity' {

Text(ID_DISBAND);
Button(ID_BUTTON_NO) {
Kill();
}
Button(ID_BUTTON_YES) {
message(g.player,'rundisba');
//if yes call the message box to disband city
Kill();
}
}

messageBox 'rundisba' {
abort();//do not show message but run code
addpops(die, -50);//city buster, decrease pop by - 50

}



Well that's about it, not sure if I got everything right but it might be just crazy enough to work.

You would have to also edit the strings text file for the text you want to be displayed in the message box.

------------------
Gemini
[This message has been edited by gemini (edited July 12, 2000).]
[This message has been edited by gemini (edited July 12, 2000).]

TheLimey
Prince

May 2000
posted July 12, 2000 13:06   Click Here to See the Profile for TheLimeyClick Here to Email TheLimey  send a private message to TheLimey
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
As I recall the first version of addpop didn't allow negative numbers... did the second patch change that?

How about binding to a key... with a city selected... what happens to the 'focus' when you use the key binding triggers? I'm not near CtP so I can't test it out.

Also... how about creating the settler after the city is depopulated?

gemini
Warlord
camrose,ab,canada
Aug 1999
posted July 12, 2000 14:10   Click Here to See the Profile for gemini   send a private message to gemini
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Hi TheLimey, yes I know for a fact that negative #'s do work in the addpops function.

I have used it in some of my own triggers for a city buster when I need it.

Good Idea about binding and adding a settler after the city is destroyed.

------------------
Gemini

TheLimey
Prince

May 2000
posted July 12, 2000 16:30   Click Here to See the Profile for TheLimeyClick Here to Email TheLimey  send a private message to TheLimey
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Also cities could theoretically be bigger than 50... so that number may need to be increased.
gemini
Warlord
camrose,ab,canada
Aug 1999
posted July 12, 2000 17:50   Click Here to See the Profile for gemini   send a private message to gemini
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Yes, good idea.

------------------
Gemini

Apolyton Civilization Site Forums
> > > CtP-General/Help/Strategy Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | Hodadian Award Central | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War