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 > Civilization: Call To Power > CtP-Creation > A control for ICS?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Gedrin is offline Gedrin
Warlord

Jun 1999
time: 05:13
Post  Old Post 25-08-2000 03:19
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
A control for ICS? Browse Apolyton AD-FREE

So if the biggest bummer about ICS is the 'free' square that gets worked thus giving the nasty tendancy for 2 size 1 cities being equal to 1 size 3 city in output and still being faster growing in pop then I ask this...

A city is a Unit... it's right there in the Units.txt file. It has a shield and food cost. Why not simply give it average food and shield costs to make up for that 'free' worked square.

I dunno... say shield 20 and food 10.

Doesn't affect the need to pick nice city sites any but it will reign in those who go city nuts (myself included )

You still benefit from improvements too since the 'free' square is still part of the 'base' before multipliers from buildings.

So it's really only a factor for small cities with no improvements. You know the one cranking out settlers.

Just a thought.

Chris

Gedrin is offline Gedrin
Warlord

Jun 1999
time: 05:13
Post  Old Post 29-08-2000 18:22
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

So did some of you out there know this would not work?
For some reason UNIT_CITY is not a unit in the conventional sense in that when the db's initialize this particular object does not have an entry in the asset tree.

Odd says I... Aha thinks I, I'll just comment out those pesky flags like:
NO_INDEX
NEEDS_NO_SUPPORT

but also to no avail.

Commenting out CANT_BUILD had some entertaining effects

Anyone out there have any idea how to get cities to have support costs? Take the sea cities for example. They are supposed to have a 3 shield support (see units.txt) but tests have shown they do not.

The other alternative I have is to change the tile under the city to a dead tile when a city is founded but that will affect every equally instead of just targetting ICSers.

Gedrin

gemini is offline gemini
Settler

Jan 1970
time: 05:13
Talking  Old Post 30-08-2000 07:04
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Got spare money?

Hey man, sorry I haven't played an actual game in a year, what is ICS?

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

Dogmatrix is offline Dogmatrix
Chieftain
Moama, N.S.W, Australia (+11 GMT)
Apr 2000
time: 05:13
  Old Post 30-08-2000 08:30 Visit Dogmatrix's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Help yourself to an AD-FREE life

You could just go into Terrain.txt and take away the city bonus for when a tile has a city on it, the things in
ENV_CITY{, or city bonus i can't remember
BONUS_GOLD...

This will fix it up nicley, another I dea would be to limit, with SLIC, the number of settlers you could build.
Just a though

Dogmatrix
[This message has been edited by Dogmatrix (edited August 29, 2000).]

Gedrin is offline Gedrin
Warlord

Jun 1999
time: 05:13
Post  Old Post 31-08-2000 19:43
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase the size of your Attachments

Two things.

1. ICS is Infinte City Sleaze which is not new to CtP. It exploits the fact that 2 pop 1 cities works 4 tiles while 1 pop 2 city works only 1. Hence more and more smaller cities is always better since they are also happier and grow faster anyway due to the lower pop.

2. terrain.txt!!!! Oh Gawd. That is an awsome idea. I had no idea that CtP would exasperate ICS on purpose. I should have realized that the base numbers for a pop 1 city were too high to be explained by 2 workers and gone looking for why. I just don't understand the rationale for bonuses either. I mean there's just not a lot of farming going on within say... New York City for example.
Thanks!!!!

Gedrin

Gedrin is offline Gedrin
Warlord

Jun 1999
time: 05:13
Post  Old Post 31-08-2000 19:46
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Suffering from ads?

quote:

Originally posted by Gedrin on 08-31-2000 10:43 AM

1. ICS is Infinte City Sleaze which is not new to CtP. It exploits the fact that 2 pop 1 cities works 4 tiles while 1 pop 2 city works only 1. Hence more and more smaller cities is always better since they are also happier and grow faster anyway due to the lower pop.



Er... the observant reader will note that I have not finished my coffee and hence the finger trouble.

1 pop 2 city works only 3 tiles. Not 1.

Gedrin

Dogmatrix is offline Dogmatrix
Chieftain
Moama, N.S.W, Australia (+11 GMT)
Apr 2000
time: 05:13
  Old Post 01-09-2000 08:22 Visit Dogmatrix's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

The only reason I found out about this is because I wanted to stop the same thing, and also to increase the stuff done on most of the tiles, anyway

See ya


------------------
Flying shields and no warm beer.

MadWoodster is offline MadWoodster
Warlord
A wierd and mad place called Southampton
Jan 2000
time: 05:13
Post  Old Post 02-09-2000 03:03 Visit MadWoodster's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Put an end to popups!

I thought the bonuses were actually a compensation as you can't build tile improvements on this squares due to the city being there, do the tile improvements get automatically built when required advance is researched?

Dogmatrix is offline Dogmatrix
Chieftain
Moama, N.S.W, Australia (+11 GMT)
Apr 2000
time: 05:13
Post  Old Post 03-09-2000 09:53 Visit Dogmatrix's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Don't know about that. I tried to fix the problem of ICS's, or ICSing, but it didn't seem to make much of a difference, unless of course I hadn't ifxed the tile that I had started on, oh well I don't know. It might be that the bonus is given only when the city is started or maybe later.

Oh, well

Dogmatrix

Gedrin is offline Gedrin
Warlord

Jun 1999
time: 05:13
Post  Old Post 05-09-2000 20:15
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Remove this text

After some testing this weekend I can say with a great deal of confidence that:

The ENV_CITY_BONUS {
factors in the terrain.txt file apply all the time.

The bonuses may be negative and do reduce that single tile outputs to negative however they will not reduce the overall total city productions to negative.

Cities need these bonuses to get off the ground in any reasonable amount of time.

I tried changing food from 10 to -10 and serious stagnation took place. 123 turns to grow ouch!
I changed shields from 5 to -15 and that really hurt in the long term.
I added a gold -5 and could not get any tech without a trade good on a river and working another river tile.

So I wrote a SLIC that I am testing that targets ICSers specifically. Every turn there is what I call a Bureaucracy Tax. This tax will be zero if you remain on a certain baseline of cities vs average city pop.
If you have many small cities (ie ICS) then the tax grows very fast. If you have few larger cities then you may even get a subsidy. However that is going to be hard to achieve.

This tax is applied to your gold reserves after all other income and expenses are calculated including science so there is no detrimental effect there... although you may need to set 0% science to pay for your ICS habits.

Now the trouble is the beginning of the game. In my tests AIs were dropping like flies and it was difficult to get even my third city out there without a heafty tax penalty. Damn Bureaucrats and their rampant inefficiencies (ie my formula is too expensive). I plan to try tying the costs to the game turn making it cheaper to ICS in the early years but allowing costs to mount rapidly. I've even considered tying the cost of the bureaucracy to the gov't type but I think I'll wait until I have a good general formula first.

Any yes I will post it for all who care once I have a formula I'm happy with.

Gedrin

Dogmatrix is offline Dogmatrix
Chieftain
Moama, N.S.W, Australia (+11 GMT)
Apr 2000
time: 05:13
Thumbs up  Old Post 07-09-2000 02:42 Visit Dogmatrix's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton buy from Amazon

Sounds like a good solution to your troubles, and everyone elses with ICSers. Hope you get it working well enough to be viable.

Dogmatrix

Gedrin is offline Gedrin
Warlord

Jun 1999
time: 05:13
Post  Old Post 08-09-2000 22:06
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Increase Your PM Length

Well I've tried this:

trigger 'BureaucracyTax' when (g.year) {
cityCount = Cities(g.player);
popCount = 0;
index = 1;
while (index <= cityCount) {
SetCityByIndex(1,g.player,index);
popCount = popCount + city.1.population;
index = index + 1;
}
// The following is = cityCount * (aveCityPop - cityCount/2) * (6-g.year/100)
// However due to errors from rounding divisions the divisors have been extracted out
// to the last term. Note that aveCityPop = popCount/cityCount
surtax = (2*popCount - cityCount * cityCount) * (600 - g.year) / 200;

AddGold(g.player, surtax);
}

I had to make the tax diminish with time since in the late game you normally have many more cities than twice your average pop. When I spreadsheeted it without lowering these costs there was no way you could take over the world...

The trouble I am having is that twice now I have had a crash between turn 120 and 180. Very annoying. I thought it might be due to setting gold to negative but tests have indicated it worked fine (left it at zero but it worked). I even added an alertbox with a button to SetGovernment(0) if you ran out of money. But AIs did not seem so affected although human players were... the government collapsed.

I'm now looking for under/overflow to be the culprit. Anybody know how may bits the INT type is in SLIC?
(although I seriously doubt thats the problem considering one of the two scenarios that crashes)

gemini is offline gemini
Settler

Jan 1970
time: 05:13
Post  Old Post 08-09-2000 23:23
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Enter the AD-FREE zone

Hi Gedrin,

In the expression for the trigger I think the problem is you shouldn't be using g.year. All that does is return the year. So I recommend using g.player in the place of g.year. Or using trigger 'thisscript' when (g.year >= 0 && g.player).

If using g.year in the expression would trigger your script it probably only triggers on the human turn, player.1 because that would be on a change of year.

That may solve the problem.

If not try using player.cities instead of the cities function. It may not be returning the correct integer. I'm not really sure when the cities function or how it gets it's info. It may use an integer from the start of the year so if cities change hand it will cause an endless loop. I'm not certain but I remember using that function a while ago and running into some sort of trouble. But I have never had any trouble with using the player.cities variable. At least it might be worth a try if it's still crashing.

I know for a fact that the addgold function does work with negatives without crashes.

Also the setgovernment function only applies to the human player since you can't send the ai a message.

Hope this helps. I'll be gone for the next couple of days so hopefully if any more trouble arises someone else can help.


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

Gedrin is offline Gedrin
Warlord

Jun 1999
time: 05:13
Post  Old Post 18-09-2000 20:08
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton buy from Amazon

Thanks Gemini;

I've been off on vacation, hence the delay.
Actually all of the crashes I've been having were as a result of my disseminate trigger.

'Course when I posted this no one new of my disseminate trigger since Wes had not yet released the MedPack with it in.

I have since found the trouble with that (attempting to GrantAdvance to dead civs causes a crash).

I was not aware that messages are not sent to AI's. That is a shame. I wished they were and they took the first button my default in the case of alert boxes but oh well.

Thanks again
Chris


  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:13.
Apolyton Time is 00:13.
    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.0430 seconds (89.77% PHP - 10.23% MySQL) with 30 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