Thread Tools
Old June 14, 2002, 21:33   #1
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Is there any way?
To create a city that cannot be destroyed when it's occupied at size 1? (Since population reduces by one when a city is taken, I was wondering if there was a way to keep it from doing this).
DarthVeda is offline  
Old June 14, 2002, 21:38   #2
Mr. Oobir
Warlord
 
Mr. Oobir's Avatar
 
Local Time: 21:36
Local Date: October 31, 2010
Join Date: Apr 2001
Location: Michigan, USA
Posts: 107
Re: Is there any way?
Quote:
Originally posted by DarthVeda
To create a city that cannot be destroyed when it's occupied at size 1? (Since population reduces by one when a city is taken, I was wondering if there was a way to keep it from doing this).
I'm not sure, but this sounds like it would work. It depends on if you already know what civilization will be capturing the city. If you do, place an immobile unit of the future occupiers in the city by using the cheat menu. The city will still be in the other civ's power, and the attackers won't know that there is one of their units in the city until after it's occupied!

Edit: Never mind, forgot that I already have tried this and it doesn't work.
Mr. Oobir is offline  
Old June 14, 2002, 21:48   #3
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Guess I'm going to have to learn CSPL after all
DarthVeda is offline  
Old June 14, 2002, 22:16   #4
Exile
Scenario League / Civ2-Creation
King
 
Exile's Avatar
 
Local Time: 21:36
Local Date: October 31, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
Upon occasion . . .
I've seized cities occupied by barbarians that were at 1 population and the city did not disappear, but this doesn't happen every time, and I have no idea what conditions this event.

But it can happen.
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
Exile is offline  
Old June 14, 2002, 23:23   #5
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Has anybody, ever, gotten CSPL to work?
DarthVeda is offline  
Old June 14, 2002, 23:51   #6
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
I'd just like to say how much I hate borland. I finally got a cspl engine to compile. Now we're in business.
DarthVeda is offline  
Old June 15, 2002, 10:38   #7
The ANZAC
Civilization II PBEMCivilization II Democracy Game: Red FrontScenario League / Civ2-Creation
King
 
The ANZAC's Avatar
 
Local Time: 21:36
Local Date: October 31, 2010
Join Date: Jan 2000
Location: The Rodina!
Posts: 2,334
The plot thickens around Kyokujitsu
__________________
Georgi Nikolai Anzyakov, Commander Grand Northern Front, Red Front Democracy Game
The ANZAC is offline  
Old June 15, 2002, 11:58   #8
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 04:36
Local Date: November 1, 2010
Join Date: Dec 1969
Posts: 3,079
Give it city walls.
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)
Mercator is offline  
Old June 15, 2002, 11:59   #9
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Ok I've rigged CSPL to keep all cities at size two minimum, no matter how much they are bombarded or reduced to rubble, taken, and retaken.

Sigh. I really didn't want to use CSPL in Kyokujitsu because that meant that I'd want to use it a lot!

It's a lot easier to code in a macro language than C++ let me tell you, but C++ has a lot more functionality. It feels like I'm "cheating".
DarthVeda is offline  
Old June 15, 2002, 12:00   #10
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Quote:
Originally posted by Mercator
Give it city walls.
If a city has city walls, that will prevent it from losing population when its defending units die. However, when a city is taken, it's population is reduced by one automatically.
DarthVeda is offline  
Old June 15, 2002, 19:05   #11
WarVoid
King
 
WarVoid's Avatar
 
Local Time: 02:36
Local Date: November 1, 2010
Join Date: Apr 2000
Location: Scenario League
Posts: 1,350
If you use a spy to capture a size 1 city, it dosen't disappear.
__________________
The Arabic CivII Site
WarVoid is offline  
Old June 16, 2002, 02:26   #12
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Well it just took me twelve more builds to figure out that the name field of the City struct turns out to act like a bool instead of a char.

*strangles Angelo Scotto for making Darth think he could change the city name*
DarthVeda is offline  
Old June 16, 2002, 02:59   #13
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Alright, since the documentation for CSPL is extremely misleading and I'm pretty fed up, I'll just use CSPL for keeping cities from being destroyed.
DarthVeda is offline  
Old June 16, 2002, 09:13   #14
Heresson
Scenario League / Civ2-CreationNationStates
Emperor
 
Heresson's Avatar
 
Local Time: 04:36
Local Date: November 1, 2010
Join Date: Jun 2000
Location: of syrian frogs
Posts: 6,772
Make it enough big to not allow it to decline to 1-size
city status. .

Barbarians don't destroy a city indeed.
City walls sometimes work, but if they are "plundered"
they don't.
Heresson is offline  
Old June 16, 2002, 12:07   #15
Boco
Scenario League / Civ2-Creation
King
 
Boco's Avatar
 
Local Time: 21:36
Local Date: October 31, 2010
Join Date: Jan 2001
Location: of underdogs
Posts: 1,774
The combo of a C++ programmer and a ToT scenario designer is a rare breed. Angelo and Kull are very open to correcting the documention. With your skills, DV, you're fast becoming the beta tester that Angelo has needed all along. Drop them a line with your corrections. Although it's been painful for you, I think you could do a real service here.

Even with documentation flaws, CSPL's potential is very high. After all, from your own criteria, it appears to be your only resort for the size one city problem.
Boco is offline  
Old June 16, 2002, 12:30   #16
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Yeah I'll probably keep trying anyway

I was fed up after the 45th build last night and battling an ear infection.

I'll probably drop Angelo a line later today.
DarthVeda is offline  
Old June 17, 2002, 20:27   #17
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 22:36
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
Hooray! Angelo saves the day! He has updated the library and fixed my little bugs
DarthVeda is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 22:36.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team