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 II > Civ2-Strategy > Calculating Caravan and Freight Delivery Payments
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
samson is offline samson
Prince

Apr 2001
time: 05:23
  Old Post 16-10-2002 23:53
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Calculating Caravan and Freight Delivery Payments Avatar Enlargement: We've got the solution

There have been several postings here over the years which describe formulae for caravan and freight delivery payments. Although most of the factors affecting the amount of payments have been identified, none of these formulae are able to predict the payment amount exactly in all cases. This is due to not recognizing that the order of application of the various bonuses and penalties is important and to the existance of a previously undescribed MapsizeFactor.


The following procedure can be used to accurately calculate caravan and freight delivery payments.

A base payment is first determined from the base trade of each city and the distance between them. The formula for this base payment is:

Base Payment = ((Distance x MapSizeFactor + 10) x (Total Base Trade) ) /24

This payment amount is then modified by a number of bonuses and penalties which must be applied in a specific order to derive the final delivery payment. The order of calculation and other information required is explained in the 10 steps that follow.

[Note about Civ2 math: All Civ2 algorithms which I have investigated use integer math. This means that any remainder left after a division operation is discarded. For example, the result of both 17/8 and 23/8 would be 2. There is no rounding. ]

Step 1) Calculate the Distance between the two cities. The distance between any two points on a Civ2 map can be determined from their X,Y coordinates, where X is a location on the East/West axis, and Y is on the North/South axis. The formula is:

Distance = (Xdistance + Ydistance)/2 + ( | Xdistance - Ydistance | )/4

If the coordinates of point A are (Xa, Ya) and the coordinates of point B are (Xb, Yb), then the absolute difference between Y coordinates is:

Ydistance = |Ya - Yb|.

Or, in other words, simply subtract the smaller Y value from the larger one.
On a FLAT map, the Xdistance value is found the same way:

Xdistance = |Xa - Xb|.

On a ROUND map, however, there will be two values which express the horizontal distance between two points: |Xa - Xb| and (C - |Xa - Xb|) where C is the circumference of the map. These values represent the X distances between the two points obtained by traveling East or West respectively. The Xdistance value used in calculating Civ2 distances is the smaller of these two numbers. Thus:

Xdistance = SmallerOf( |Xa - Xb| , (C - |Xa - Xb|) )

This calculation is easier to do in practice than it is to formally describe.
For example, given two points A(23, 71) and B( 84, 12) on a medium map (50 x 80),
where the circumference is 100:

Ydistance = 71 - 12 = 59.
Xdistance = SmallerOf( 84 - 23 , 100 - (84-23) = SmallerOf( 61, 39) = 39
Distance = (39 + 59)/2 + (|39 - 59|)/4 = 98/2 + 20/4 = 49 + 5 = 54


Step 2) Add the base trade of the two cities. The base trade of a city is determined in the City Display by subtracting any existing trade routes from the total number of trade arrows shown for the city. For a foreign city, the base trade can only be accurately known by investigating the city with a diplomat or spy. However, an estimate can be made from the city size, type of government, and knowledge of the terrain surrounding the city.

TotalBaseTrade = BaseTrade(City A) + BaseTrade(City B)

Step 3) Calculate the Base Payment from the formula:

Base Payment = ((Distance x MapSizeFactor + 10) x (Total Base Trade) ) /24

The MapSizeFactor for a medium map is 1, for a small map it is 5/4, and for a large map it is 4/5. Note that the effect of the MapSizeFactor is that for equal distances, the delivery payments on a small map will be 20% higher than on a medium map and 50% higher than on a large map.

Step 4) Apply the TwoContinentBonus. If the two cities are located on different continents (i.e. they have different continent numbers following their X,Y coordinates in the location field) then double the Base Payment derived in step 3.

Step 5) Apply the SameCivPenalty. If the two cities belong to the same civilization, then halve the value from Step 4. (Remember when doing this division by 2 to discard any remainder.)

Step 6) Apply the FreightBonus. If the delivery is by freight (as opposed to caravan) multiply the answer from Step 5 by 3/2. i.e., first multiply by 3 then divide by 2, discarding any remainder.

Step 7) Apply the DemandBonus. If the commodity being delivered is demanded by the destination city, then the amount from Step 6 is multiplied by a factor based on the type of commodity involved

Hides, Salt, Wool, Beads, Copper, Dye 2
Cloth, Coal, Wine, Silver 5/2
Silk, Spice, Gems, Gold 3
Oil 7/2
Uranium 4

Again, the bonuses expressed by fractions are applied by first multiplying by the upper number and then dividing by the lower.

Step 8) Calculate and apply the TransportationBonus. Unlike previous bonuses, the TransportationBonus consists of several factors which are first combined additively (expressed as a %) before being applied multiplicatively. These are the road, railroad, airport, and superhighways bonuses. Each has peculiarities which will be discussed.

The Road (50%) and Railroad (100%) bonuses are applied when a valid road or railroad connection exists between the Source and Destination cities. However, determining the specific route required to qualify for the bonus is problematic. First of all, except when the cities are directly aligned on either a North/South or East/West axis, it is likely that the Source-to-Destination route and the Destination-to-Source routes will be different.

Road and Rail bonuses are also used in determining the value of ongoing trade routes. For trade routes each city uses the Source-to-Destination route originating with itself. However, in determining the Road and Rail component of the TransportationBonus, it is the Destination-to-Source route that is used. This is somewhat obtuse and limits the value and frequency of this bonus.

The Airport bonus is applied when both cities have an Airport improvement. If the cities are on the same continent, the Airport bonus is 50%. If the cities are on different continents the bonus is 100%. There is no bonus if only one city has an airport.

The Superhighways bonus is 50% if only one city has the improvement and 100% if both cities have them. Additionally, of course, Superhighways will increase the BaseTrade of a city substantially, which in turn will increase the Base Payment calculated in Step 3. So Superhighways can appear to produce more than a 50% increase.

All applicable transport bonuses are added together to determine the TransportationBonus which is then applied to the result from Step 7.
Some examples:

a) Two cities on the same continent, one has superhighways: 50% bonus = multiplier of 3/2.
b) Two cities connected by railroad via the qualified route, one has superhighways: 150% bonus (rail + SH) = multiplier of 5/2.
c) Two cities on different continents, both have airports and superhighways: 200% bonus = multiplier of 3.

Step 9) Determine and apply the AgeModifier. The AgeModifier uses 4 key technologies to determine if your civilization is in the Ancient, Renaissance, Industrial, or Modern Age. Since it is possible, via trading with other civs, to acquire later techs without earlier ones, each of the following checks is made in sequence and the modifier applied appropriately.

Invention and Navigation are used to determine if your civ has progressed from Ancient to Renaissance. If you have acquired neither of these technologies and have not yet passed the 200 turns mark, the amount calculated from Steps 1-8 is doubled.

If your civ has acquired Railroad, your transition to the Industrial Age causes the payment amount to be reduced by one third. Unlike other modifiers, the 1/3 penalty is applied by dividing the Payment by 3 and then subtracting the result from the Payment. For example, one third of 17 is determined using integer math to be 5
and the applied penalty results in a payment of 12.

Flight signifies your civ's entry into the Modern Age and causes another 1/3 reduction penalty.

Step 10) Apply the ScienceCap. Delivery of a caravan/freight produces not only a cash payment but, in addition, an equal number of beakers are added to your current research. The Delivery Payment, as calculated in steps 1-9, cannot exceed 2/3 of the total beaker cost (determined at the moment of delivery) of your current research if that cost exceeds 300 beakers. Prior to the 300 beaker point, the ScienceCap is 200 plus a random amount between 0 and 10. At lower tech acquisition levels, it is possible for a single caravan delivery payment to provide more beakers than the total cost of current research. The state of progress of your current research has no effect on the ScienceCap which is based solely on the total cost of research. Whether you need 1 more beaker or the total amount, you will receive all the beakers of the Delivery Payment up to the ScienceCap.

Last edited by samson on 18-10-2002 at 01:21

Chofritz is offline Chofritz
Settler
Stockholm, sweden
Aug 2001
time: 06:23
  Old Post 17-10-2002 01:52
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Put an end to popups!

I was just about to search for a thread like this, Have not read it all yet but it looks promising so far,

solo is offline solo
King
Lowell, MA USA
Jan 2001
time: 05:23
  Old Post 17-10-2002 04:29
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

samson,

There was another post earlier today asking about this. If this was done just this afternoon in response, I'm very impressed!

Seriously, one question I have is about Space Flight and whether or not it affects payouts. They really seem to tank after I discover Space Flight. Is this just my imagination, or has anyone else noticed this, too?

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:23
  Old Post 17-10-2002 13:01 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Suffering from ads?

I'm well impressed!

You sound very difinitive - are there any areas of question left or are these all now proven facts?

SG[1]

Thoddy is offline Thoddy
Warlord
Hannover, Germany
Jan 2001
time: 06:23
  Old Post 17-10-2002 14:32 Visit Thoddy's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Get a bigger avatar today!

Step 8 Road and railroad bonus
the road(RR) connection must be at the optimal path.
(you can check the optimal path by using air units or units with flag threat all squares as road)

Bonus is lost if the distance between cities exceeds 22 squares (If the same calculating algorithm is used as the algorithm from the go to command.

Enemy units at the optimal path also avert these bonuses.

Messer Niccolò is offline Messer Niccolò
Prince
of the Sarzaneers
Oct 2001
time: 06:23
  Old Post 17-10-2002 19:05
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Got spare money?

quote:
Originally posted by Thoddy
...the optimal path....
(you can check the optimal path by using air units or units with flag threat all squares as road)



The Optimal Path... never understood why my caravans would travel through the woods /unroaded) when there is a fully developed railroad in the next square...

samson is offline samson
Prince

Apr 2001
time: 05:23
  Old Post 17-10-2002 20:35
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

SG - I believe this describes the algorithm used in the latest patched versions of Civ2. I have used it to correctly predict the exact amount of hundreds of deliveries in test and game situations that employ all combinations of factors. If anyone has a counter-example, please post the save here ... I will investigate it.

Solo- I've had this sitting around for awhile. It just seemed to be an apt time to post it.

Thoddy-

The so called "optimal path" (Source-to-Destination) is used for determining whether to apply the ongoing Trade Route bonus. But for the Road/Railroad portion of the Delivery Bonus, it is the Destination-to-Source path which is used and this is usually not the same. While this is also an "optimal" path, it is chosen from the Destination City's POV, which is harder to determine when that city is foreign.

Yes, both the trade-route and delivery Road/Railroad bonus are lost if non-allied foreign units occupy the path. They don't even have to be "enemies" per se. Peaceful, but non-allied units disrupt the route also.

As for the 22 maximum squares, I have not seen this. In fact, I have a counterexample in my test suite. On a SMALL map, I have a city at a distance of 24 which does receive the Road/Rail bonus. I will investigate further to see if there is a maximum distance and whether it is dependent on other factors. Do you have example of this limit you could post as a save?

Sometimes an "optimal" path does not exist, if it is disrupted by a lake, for example.

There is another Road/Railroad bonus anomaly. Sometimes the road/railroad does not even need to be complete between the two cities. If a third city belonging to the same civ as the Source city is located along the "optimal" path and the road/railroad is complete between this city and the Destination city, the extension of the road from the intervening city to the Source city is not required. In other words, the Delivery Bonus algorithm seems to check for an "optimal" road/railroad from the Destination to Source but stops as soon as it encounters any city from the Source city's civ. This means a cheaper way of gaining the road/rail bonus for Delivery Payments is to build a city two squares from the Destination City on the optimal path and complete only that portion of the road/railroad. I can't claim that this always works but I know it works sometimes. And the distance to the Source city can be much greater than the distance to the intervening city. Note: this works for the Delivery Bonus and the Destination City's Trade Route bonus. It does not work for the Source City's Trade Route bonus.

Last edited by samson on 17-10-2002 at 20:46

Chofritz is offline Chofritz
Settler
Stockholm, sweden
Aug 2001
time: 06:23
  Old Post 17-10-2002 22:28
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Excel file Suffering from ads?

I threw together this excel file a few minutes ago, it calculates the payoff. It's not very easy to use but If you have read samsons post you should be able to use it.

The file was created on my macintosh and sometimes such files can not be opened on other computers, I'll give it a try anyway, please report any bugs in this thread. If there is any intrests I'll make it more user friendly.

Since xls files are not accepted here I'll rename it .txt just change it to excel-format before you try to open it.

I also have a question for samson:

If the it is a salt-caravan should it be treated like undemanded goods (it is not in your list of commodities)? My experience say that it should give a 100% bonus but I could be wrong.


If can open the file please report it here.

Attachment: trade payoff.txt
This has been downloaded 13 time(s).

samson is offline samson
Prince

Apr 2001
time: 05:23
  Old Post 17-10-2002 23:09
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Chofritz,

Yes, Salt when demanded receives 2x bonus, same as Hides, Beads. etc. Sorry about the omission, I'll edit the post.

As for your spread-sheet, a couple of things:

You've got the Airport bonus backwards. Different continents is 2, same continent should be 1.

Your Mapsizefactor cell treats an entry of 5/4 as a date. In any case, you shouldn't prompt for this value anyway. Just calculate the factor from the Circumference value entered into cell G1.

Also, it would be much more user-friendly, if you simply asked for the Commodity by name and whether it was demanded or not, then calculated the bonus.

Finally, the Gold Payment and the Science Payment are always the same. Sorry, if I didn't make that clear. If anyone has a counterexample to this claim, please post it.

Chofritz is offline Chofritz
Settler
Stockholm, sweden
Aug 2001
time: 06:23
  Old Post 18-10-2002 00:36
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Help yourself to an AD-FREE life

Ok, thanks for your replies. Here is an improved version. Tell me if there is anything I missed to fix or if there are any bugs.

Attachment: tradepayoff.txt
This has been downloaded 15 time(s).

samson is offline samson
Prince

Apr 2001
time: 05:23
  Old Post 18-10-2002 01:28
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Avatar Enlargement: We've got the solution

Looks much better.

The only thing that is off a bit, is how you apply the 1/3 penalty for the discovery of Railroad and Flight. You are multiplying by 0.6667.

The algorithm used by the game calculates the 1/3 penalty by dividing the total-so-far by 3 (dropping the remainder) and then subtracting this penalty amount from the total-so-far. Your answer is sometimes off by 1 or 2 because of your approximation of the algorithm. You're so close, you might as well fix it and get the perfect answer.

Nice job, Chofritz.

samson is offline samson
Prince

Apr 2001
time: 05:23
  Old Post 18-10-2002 01:38
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Thoddy -

Okay, I see what you're talking about 22 squares. This isn't that same thing as a 'distance' of 22 the way the trade algorithm calculates distance.

If I place CityB 22 squares away from CityA in an exact NW direction connected by road, I get the road bonus. If I place it 23 squares away, I don't get the bonus. In this direction, 23 squares is a distance of 23.

However, if CityB is 16 squares away directly West, its distance is 24 and the road/railroad bonus is obtained.

So distance between points for calculation of trade is different than that used by the GOTO algorithm. Yet another bit of road/railroad funkiness.

Elephant is offline Elephant
Prince
Phila PA
Aug 2002
time: 00:23
  Old Post 18-10-2002 02:30
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Re: Calculating Caravan and Freight Delivery Payments Increase the size of your Attachments

quote:
Originally posted by samson

Step 2) Add the base trade of the two cities. The base trade of a city is determined in the City Display by subtracting any existing trade routes from the total number of trade arrows shown for the city. For a foreign city, the base trade can only be accurately known by investigating the city with a diplomat or spy. However, an estimate can be made from the city size, type of government, and knowledge of the terrain surrounding the city.


So all city improvements and wonders count toward base trade, just not the trade routes?

I have found it very difficult to estimate foreign cities improvements, which could throw the total estimate way off. Just because they have the tech, they may not build it. Safest course is the dip/spy visit. Course, early in the game, can you afford to lose that many dips?

samson is offline samson
Prince

Apr 2001
time: 05:23
  Old Post 18-10-2002 02:52
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Enter the AD-FREE zone

quote:
So all city improvements and wonders count toward base trade, just not the trade routes?


There is only one city improvement and one wonder that affect base trade: Superhighways and Colossus.

Colossus adds one trade arrow to each city square which is already producing at least one arrow, including the city center. This is the same effect that Republic and Democracy (and celebrating Monarchy, Commie, Fundy) governments have on a city.

Superhighways increases the trade of all squares which have roads or railroads by 50%. This is on a per square basis uses Civ2 integer math. Thus, a square with just one trade arrow is not improved by Superhighways, it must have at least two arrows to benefit. Also, remember that SH only effects squares with roads ... ocean squares or trade specials WITHOUT roads will not benefit. Despite these limitation, Superhighways is one of the most important city improvements in the game. In addition to increasing base trade, it also increases caravan delivery payments and the value of ongoing trade routes by 50%.


quote:
I have found it very difficult to estimate foreign cities improvements. Just because they have the tech, they may not build it. Safest course is the dip/spy visit. Course, early in the game, can you afford to lose that many dips


There's only two that affect trade bonuses: Superhighways and Airports, and neither of these appear early in the game. You only need to estimate the destination city's base trade.

Chofritz is offline Chofritz
Settler
Stockholm, sweden
Aug 2001
time: 06:23
  Old Post 18-10-2002 04:04
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Ok I have changed the formula so that it will always give the exact result. I also have a question that is abit off topic:

Earlier today I tried to get the maximum possible gold out of a delivery. But I encountered a problem, my research cost would limit me at 38xx(do not remember exact numbers) gold. What I did next was to enter cheatmode giving myself 100 future techs to increase the research cost but it didn't move, is there a maximum research cost?

BTW, the settings were large map and diety.

And I also wonder how big integers civ can handel since with all the tradebonuses the delivery would give me 0 gold which can't be right,

Attachment: tradepayoffcalculator.txt
This has been downloaded 26 time(s).

samson is offline samson
Prince

Apr 2001
time: 05:23
  Old Post 18-10-2002 04:29
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
What I did next was to enter cheatmode giving myself 100 future techs to increase the research cost but it didn't move, is there a maximum research cost?


Not that I know of, but using "Edit Technology" to give yourself 100 Future Techs doesn't work, it increments the # of the Future Tech but not the cost. You'll need to do SHIFT-F6 to give yourself one tech advance. Do this one hundred times, or however many techs you need to raise the cost higher than the payment.

I don't know if there is a maximum integer beyond which the Civ2 math breaks down. Probably not within the legimate context of the game.

Thoddy is offline Thoddy
Warlord
Hannover, Germany
Jan 2001
time: 06:23
  Old Post 18-10-2002 12:48 Visit Thoddy's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Link to an attachment frome mine at another Apolyton Trade thread:
http://apolyton.net/forums/showthre...20&pagenumber=2

attachment: Preq: Fantastic worlds
(damn link doesnt work) look for cab_4000.sav


I saw some things depending from the "optimal Path" and the distance, but my focus was not the 1 time payment - I checked only the trade routes.

Last edited by Thoddy on 18-10-2002 at 12:58

Elephant is offline Elephant
Prince
Phila PA
Aug 2002
time: 00:23
  Old Post 19-10-2002 00:28
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by samson

There is only one city improvement and one wonder that affect base trade: Superhighways and Colossus...

There's only two (city improvements) that affect trade bonuses: Superhighways and Airports, and neither of these appear early in the game. You only need to estimate the destination city's base trade.


My apologies, samson. Fuzzy thinking and rushing to make my bus home. I was confusing trade arrows with Gold/Lux/Beakers, which are significantly increased by city improvements and wonders.

Seems like the AI often roads and irrigates a few plains early in the game, but I cannot tell which square each citizen is actually working. In a game I was playing recently, the AI mined hills due east of the city and neglected mining the Wine/Hills to the north, which would have given them the extra base trade from the same citizen working the mines. AI seems to go for food first, then shields, then trade.

quote:

Superhighways increases the trade of all squares which have roads or railroads by 50%. This is on a per square basis uses Civ2 integer math. Thus, a square with just one trade arrow is not improved by Superhighways, it must have at least two arrows to benefit. Also, remember that SH only effects squares with roads ... ocean squares or trade specials WITHOUT roads will not benefit.


So a road on Wine and Silk gets additional base trade in conjunction with SH, even though Hills and Forest do not normally get trade benefits from roading, right?

Elephant is offline Elephant
Prince
Phila PA
Aug 2002
time: 00:23
  Old Post 19-10-2002 00:33
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by samson

I don't know if there is a maximum integer beyond which the Civ2 math breaks down. Probably not within the legimate context of the game.


Integer math tends to be two-byte functions, which gives you either 0->64K or -32K->+32K. Isn't the max amount of gold around 32K?

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:23
  Old Post 20-10-2002 03:35 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Full PM-box? Change here!

Excellent work samson, on a truely herculean task! As one who has reseached this topic deeply I can well imagine the hours of work you must have invested. My hat is off to you.

**** deep bow *****

Were there a Nobel prise for Civ research you would be more than worthy of it.

About the Map size factor. What about non-standard map sizes? Is there a formula for this?

What other reseach have you done?

solo is offline solo
King
Lowell, MA USA
Jan 2001
time: 05:23
  Old Post 20-10-2002 04:36
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Elephant,

You are right about the gold maxing out around 32,000. The maximum number of cities is near another common integer storage limit of 128.

Civ II seems to do a good job of preventing the player from causing integer overflows, unlike some other games, such as SimCity 3000, where the variable keeping track of the quality of the buildings in your city is allowed to overflow. If you have too many buildings with the best rating ("astronomical"), the threshold is crossed, and your income drops to a level commensurate with having all your buildings rated at the lowest level! Not a lot of fun after spending so much time building a rich city!

Chofritz is offline Chofritz
Settler
Stockholm, sweden
Aug 2001
time: 06:23
  Old Post 21-10-2002 01:23
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Tired of ads?

quote:
Originally posted by solo
Elephant,

You are right about the gold maxing out around 32,000. The maximum number of cities is near another common integer storage limit of 128.


I'm pretty sure that you ment 256, not 128 The maximum number of cities is 255 but usually you can't have more than 254 since the AI will have at least one. You can however "catch" the ai settler before he is able to build a city. This will let you have 255 cities of your own.

solo is offline solo
King
Lowell, MA USA
Jan 2001
time: 05:23
  Old Post 21-10-2002 04:23
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Increase the size of your Attachments

I'm afraid I really meant 128! I was just wrong and apologize for my faulty memory. Is having been away from the game for over a year a good enough excuse?

Elephant is offline Elephant
Prince
Phila PA
Aug 2002
time: 00:23
  Old Post 21-10-2002 21:27
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Avatar Enlargement: We've got the solution

256 is a single-byte number (2 raised to the 8th power). Makes sense.

Wonder what else has byte-integer limitations?

Chofritz is offline Chofritz
Settler
Stockholm, sweden
Aug 2001
time: 06:23
  Old Post 21-10-2002 21:40
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Remove this text

quote:
Originally posted by solo
Is having been away from the game for over a year a good enough excuse?


Well only reason I know it is because I play the game of the month at www.civfanatics.com, I usually build a good number of cities every game (had 197 last time, all of them at size 2 or somewhere around there, hehe). Well I guess your reason is ok,

Chofritz is offline Chofritz
Settler
Stockholm, sweden
Aug 2001
time: 06:23
  Old Post 21-10-2002 21:43
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Lose 30 kilos (of popups)

BTW, get over there and play you (you as in all of you) too.

Elephant is offline Elephant
Prince
Phila PA
Aug 2002
time: 00:23
  Old Post 22-10-2002 21:45
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Chofritz
BTW, get over there and play you (you as in all of you) too.


I love to - I'm OCCing GOTM21 right now, but I'm also testing city demand changes and trying to keep a home life going too! What ever happened to MWHC (MyWifeHatesCiv)?

Interestingly, my daughter is getting into Civ2. She was doing some ancient history studies and I introduced her - now we talk about parallels between Civ and real history, tech development, struggles with Rep/Dem governments, military issues, etc. She's ony 10...

Elephant is offline Elephant
Prince
Phila PA
Aug 2002
time: 00:23
  Old Post 22-10-2002 22:29
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Samson: Railroading increases a square's Shield production by half again, rounded down, but does not SEEM to effect the "Base Trade". Yet they are mentioned together as having 50% bonus in either the manual or the help files (cant remember which). Please confirm my understanding that you are saying that the only benefit the Railroad has is to the Transportation Bonus, never to the Base Trade.

Last edited by Elephant on 22-10-2002 at 23:06

samson is offline samson
Prince

Apr 2001
time: 05:23
  Old Post 23-10-2002 01:37
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Support Apolyton buy from Amazon

Elephant,

A railroad on the "optimal path" (ie, the "go to" route) from Source City to Destination City increases trade routes by 100%. A railroad on the Destination-to-Source path (usuallyt different from the Source-to-Destination) increases the delivery payment by 100%. Neither of these are considered part of the Base Trade of a city, which is the amount shown in the City Display, minus the trade routes.

Roads and Rails do not effect Base Trade except in conjunction with the Superhighways improvement.

Cyrion is offline Cyrion
King
Caught somewhere in time
Jan 2002
time: 06:23
  Old Post 23-10-2002 11:32
Edit/Delete Message Reply w/Quote
#30 Report this post to a moderator
Avatar Enlargement: We've got the solution

quote:
Originally posted by samson
Roads and Rails do not effect Base Trade except in conjunction with the Superhighways improvement.


Sorry Samson, either I didn't understand what you meant or you were typing too fast : the roads of course effect Base Trade (by adding 1 trade on many types of terrain)! And I don't get the relation between roads/rails and Superhighways...

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