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 III > Civ3-General > Firaxis: Corruption Breakdown
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: 7 NEW FILES
15.Sep: TRIAL + NO SLEEP = ONE GAME
13.Sep: PATCH THE PREVIOUSLY UNPATCHABLE

bottom of page
   - CIV3 CONQUESTS $29.99 - CIV3 from $9.99
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Kuciwalker is offline Kuciwalker
Emperor
of Schmooism
Feb 2001
time: 00:33
  Old Post 02-01-2004 15:53
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Increase the size of your Attachments

Yeah, and "communal" should be seperate for the slider - so you can not only specify a government to have evenly distributed corruption, you can specify how much corruption that is.

Risa is offline Risa
Warlord

Nov 2003
time: 13:33
  Old Post 02-01-2004 17:45
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Remove this text

quote:
Originally posted by Sir Ralph
Jesse:

This piece of code...

{omitted}

obviously calculates the rank with only one center, the real capital. My solution would be to execute it n times with different capitals (n being the number of capitals - Palace, FP, SPHQ, may be more in scenarios) and to take the least calculated rank. I would code it, but I don't know i what variables/classes you keep the # of capitals and their coordinates.


It doesn't need a new loop, I think. Changing iRealCapitalDist to iClosestCapitalDist will solve that.

Of course, iTempDist should also change as Jesse said.

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:33
  Old Post 02-01-2004 17:54
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by Risa
It doesn't need a new loop, I think. Changing iRealCapitalDist to iClosestCapitalDist will solve that.

Of course, iTempDist should also change as Jesse said.


No, this would mess it up in a hideous way, kind of "Mexico is closer to Washington than Bangkok is to Moscow. Which city will get a higher rank?". And iTempDist is just a variable name. You can call it all you want, the content remains the same.

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:33
  Old Post 02-01-2004 18:02
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Support Apolyton or Terrorists Win

By the way, my proposed solution has one downside. It allows some kind of "negative capital related RCP", will say that if a city has the same rank relative to palace and FP, this rank exists only one time (and not twice as it should). Albeit this is a really minor "bug", it can be addressed too. The cleanest way to sort this out is to calculate all ranks relative to all capitals (you get n tables with ranks, n is the # of capitals) and then assign the ranks to cities one by one, beginning with the least. Cities, which have a rank assigned, shall then be removed out of all tables, that does the trick.

This sounds complicated, but it doesn't have to be recalculated every turn. Only if a city is built, a city is lost or a palace/FP/SPHQ is finished, it needs to be computed.

Risa is offline Risa
Warlord

Nov 2003
time: 13:33
  Old Post 02-01-2004 18:42
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Full PM-box? Change here!

quote:
Originally posted by Sir Ralph

No, this would mess it up in a hideous way, kind of "Mexico is closer to Washington than Bangkok is to Moscow. Which city will get a higher rank?".

I don't understand it. Assuming you have a palace in Washington and a forbidden palace in Moscow, and Bankok and Mexico are your other two cities, Bangkok will get higher rank.

quote:
Originally posted by Sir Ralph

And iTempDist is just a variable name. You can call it all you want, the content remains the same.


Oh no no no.
I mean changing iTempDist to

code:
iTempDist = vectorDist(pClosestCapital->getX(), pClosestCapital->getY(), pLoopCity->getX(), pLoopCity->getY());

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:33
  Old Post 02-01-2004 19:01
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Avatar Enlargement: We've got the solution

quote:
Originally posted by Risa
I don't understand it. Assuming you have a palace in Washington and a forbidden palace in Moscow, and Bankok and Mexico are your other two cities, Bangkok will get higher rank.


No. They both could get the same rank (1), if they are the closest to their particular capital. The whole sense of the action is, that every capital gets the whole set (1, 2, 3, 4, ...) of ranks. Your proposed method would share only one set of ranks between all capitals, for instance cities closer to Washington get rank 1, 4, 5, 6, ... and cities closer to Moscow get 2, 3, 7, 8, ... get it? That was roughly the same the FP worked in 1.0. People complained, and right so.

thorpey is offline thorpey
Settler
England
Jan 2002
time: 05:33
  Old Post 02-01-2004 21:18
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Support Apolyton buy from Amazon

Am I getting it wrong or is this what is "intended" ?

1. The addition of the new specialists like city engineer mean the FP should be reduced in power.
2. The addition of SPHQ has added greater complexity to the corruption calculation and therefore needed a rethink.

Imagine this:

1. The palace has an effective radius of 25 squares
2. The FP and the SPHQ have an effective radius of 17 squares

Any city outside of either range is effectively corrupt and unproductive but with careful use of specialists can still be useful.

The numbers 25 and 17 are random numbers and just used to illustrate my point, but I think something like this is what is intended. ie the Palce remains the "core" and the FP/SPHQ are "lesser cores".

In PTW I added a second FP (Summer Palace), and with all three in place I effectively had a huge and unstoppable empire.

I think the guys at Firaxis don't want that and therefore have tried to sort this out in C3C, adding a benefit for FP and SPHQ but not an overwhelming benefit.

Does that sound about right?

steven8r is offline steven8r
Prince
of Central Texas
May 2002
time: 23:33
  Old Post 02-01-2004 21:58
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Silly me. I can't even look at the code w/o getting a headache.

But thank you, Jesse, for the info.
Between your efforts and those of other posters here, I think I'm beginning to understand, or at least better appreciate y'all's efforts.

I just modded PTW so that almost all improvements reduced corruption. Of course, that made Court Houses and Police Stations less useful, but I could live with that.

I intend on playing several regular/patched C3C before making a new 'Low Corruption C3C Mod'--just so I can better appreciate the lower corruption when I play it.



Steven

Theseus is offline Theseus

Emperor
The warmonger formerly known as rpodos. Gathering Storm! Apolyton Spirit!!
Apr 2002
time: 00:33
  Old Post 03-01-2004 04:26
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Avatar Enlargement: We've got the solution

That's dedication... working on corruption on New Year's Day!

(as opposed to working on a hangover... or maybe BOTH)

E_T is offline E_T
Emperor
Orlando, Florida
Mar 2001
time: 00:33
  Old Post 03-01-2004 23:55
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Lose 30 kilos (of popups)

quote:
Originally posted by Sir Ralph
By the way, my proposed solution has one downside. It allows some kind of "negative capital related RCP", will say that if a city has the same rank relative to palace and FP, this rank exists only one time (and not twice as it should). Albeit this is a really minor "bug", it can be addressed too. The cleanest way to sort this out is to calculate all ranks relative to all capitals (you get n tables with ranks, n is the # of capitals) and then assign the ranks to cities one by one, beginning with the least. Cities, which have a rank assigned, shall then be removed out of all tables, that does the trick.

This sounds complicated, but it doesn't have to be recalculated every turn. Only if a city is built, a city is lost or a palace/FP/SPHQ is finished, it needs to be computed.


If that city has the same rank in comparison to the Palace AND the FP, then it should 'polarize' to the one that has the higher culture. That should fix that problem nicely....

E_T

Risa is offline Risa
Warlord

Nov 2003
time: 13:33
  Old Post 04-01-2004 06:34
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by Sir Ralph


No. They both could get the same rank (1), if they are the closest to their particular capital. The whole sense of the action is, that every capital gets the whole set (1, 2, 3, 4, ...) of ranks. Your proposed method would share only one set of ranks between all capitals, for instance cities closer to Washington get rank 1, 4, 5, 6, ... and cities closer to Moscow get 2, 3, 7, 8, ... get it? That was roughly the same the FP worked in 1.0. People complained, and right so.


I see the point now. You are right that vanilla/PtW versions don't work like what I suggested.

However, I do think the new version is, at least, worth a try. In that version, building FP will weaken the original core (by raising several cities' rank), yet still strengthen the overall economy (by lowering distance corruption of the 2nd core).

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:33.
Apolyton Time is 00:33.
    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.0442 seconds (89.34% PHP - 10.66% 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