Thread Tools
Old December 18, 2002, 18:51   #1
Nor Me
Apolyton University
Prince
 
Local Time: 12:52
Local Date: November 1, 2010
Join Date: Oct 2002
Posts: 689
Partial and pointless formulae: resource cost
By this I mean the minimum price in gold the AI will take for a resource or the maximum gold it will give for one.
Most of this has probably been guesses already but there were just some anomalies that really annoyed me and I just had to find out why. I haven't seen them posted anywhere.
Anyway:

Price of a strategic resource=xt(y+z*up((n+1)/4))

Sometimes:

Price of a luxury=xt(y+up(hf/2))

except when it isn't (and I don't know how either.)

Weren't they obvious?
I suppose you'll want the terms:

EDIT:
x:
Is 20 gold except at least once.
In a retroactive reply to DaveMcW, that's not exactly 1gpt.

t:
This is theNiceOne factor. It is civ dependent and is mostly affected by aggression and difficulty level. It always acts aginst the player so divide by his values when you are selling.
see:AI - human trade revisited
/EDIT

y:
Now this has always been an integer and never negative. I think its 0 when the resource is in abundance. I've seen 1 and 3.

up():
rounds up to the next integer. The only standard way of writing this I've seen is maths not programming so has silly symbols.

n:
Number of connected cities.

Those were obviously not important. The strategically important variables (as far as I can see) are hf and z.

hf:
Total number of happy faces you would get by importing this luxury. Obviously if you have no marketplaces, this is n.

z:
This is a sum of values for each unit,improvement,wonder or worker job the resource allows. Each of these so far is in the range 1-5. Everything from a previous era has a value of 1.
The analysis of whether you can actually build something is somewhat variable. But techs and things like apollo/manhattan are certainly whatever but other resources and weird requirements like coastal cities are not.
For example, for iron in the ancient age z=3, 1 from the Iron Works and 2 from swordsmen.
When you are in the medieval age before feudalism z drops to 2.

Right thats the formula. Now for some irrelevant comments:

1&2: I meant to make these seperate comments but accidently included them above.

3&4: I'll post these later.

Clarity, examples:who cares?
Strategic implications: mostly obvious.

Last edited by Nor Me; January 28, 2003 at 11:06.
Nor Me is offline  
Old December 18, 2002, 20:13   #2
alexman
PtWDG Gathering StormCivilization IV CreatorsInterSite Democracy Game: Apolyton TeamApolyton UniversityIron CiversCivilization IV: MultiplayerApolytoners Hall of FameCivilization IV PBEMApolyCon 06 Participants
Firaxis Games Software Engineer
 
alexman's Avatar
 
Local Time: 08:52
Local Date: November 1, 2010
Join Date: Mar 1998
Posts: 5,360

Thanks!
That's great info, but I'm too busy laughing at your way of presenting it, to make any intelligent comments.

Last edited by alexman; December 18, 2002 at 20:23.
alexman is offline  
Old December 18, 2002, 20:16   #3
DaveMcW
Prince
 
DaveMcW's Avatar
 
Local Time: 07:52
Local Date: November 1, 2010
Join Date: Aug 2002
Posts: 699
Re: Partial and pointless formulae: resource cost
Quote:
Originally posted by Nor Me
Most of this has probably been guesses already but there were just some anomalies that really annoyed me and I just had to find out why. I haven't seen them posted anywhere.
Actually, I think you're the first to give it any deep thought!

You could probably eliminate 'x' by converting all prices into gold per turn.
DaveMcW is offline  
Old December 19, 2002, 01:34   #4
yxhuvud
Chieftain
 
Local Time: 13:52
Local Date: November 1, 2010
Join Date: Jul 2002
Posts: 67
how does it value citizens (sp?) going from unhappy -> content?
yxhuvud is offline  
Old December 19, 2002, 08:52   #5
Nor Me
Apolyton University
Prince
 
Local Time: 12:52
Local Date: November 1, 2010
Join Date: Oct 2002
Posts: 689
Quote:
Originally posted by yxhuvud
how does it value citizens (sp?) going from unhappy -> content?
I suppose happy faces is a technical term. They're those things you see next to the luxuries in the city screen. They either make content citizens happy or unhappy citizens content.
If you meant to ask how valuable that is, thats a different question.
Nor Me is offline  
Old December 19, 2002, 10:46   #6
Catt
PtWDG Gathering StormApolyton University
King
 
Catt's Avatar
 
Local Time: 05:52
Local Date: November 1, 2010
Join Date: May 2002
Location: California - SF Bay Area
Posts: 2,120
Re: Partial and pointless formulae: resource cost
Good work I'll second DaveMcW's view - I don't think anyone has given it the thought and analysis that you have.

Catt
Catt is offline  
Old December 19, 2002, 22:47   #7
Mad Bomber
King
 
Mad Bomber's Avatar
 
Local Time: 08:52
Local Date: November 1, 2010
Join Date: Nov 2002
Location: Columbus, Ohio
Posts: 1,119
Truly interesting, but the results are hardly definitive. Perhaps one of our distinguished residents could give this matter the attention that it deserves.
__________________
* A true libertarian is an anarchist in denial.
* If brute force isn't working you are not using enough.
* The difference between Genius and stupidity is that Genius has a limit.
* There are Lies, Damned Lies, and The Republican Party.
Mad Bomber is offline  
Old December 20, 2002, 11:35   #8
Mazarin
Civilization III PBEMCivilization III Democracy GameACDG The Cybernetic Consciousness
Prince
 
Mazarin's Avatar
 
Local Time: 12:52
Local Date: November 1, 2010
Join Date: Nov 2002
Location: of Old Europe
Posts: 341
great post, Nor Me! I've often had the impression that the attitude of the civ I'm trading with also influences the price -not much, but remarkably.
__________________
www.civforum.de
Mazarin is offline  
Old December 20, 2002, 12:39   #9
Nor Me
Apolyton University
Prince
 
Local Time: 12:52
Local Date: November 1, 2010
Join Date: Oct 2002
Posts: 689
Quote:
Originally posted by Mazarin
great post, Nor Me! I've often had the impression that the attitude of the civ I'm trading with also influences the price -not much, but remarkably.
Neither giving gifts nor demanding tribute alters the price so I doubt it. I think that some of the things that influence attitude influence the price.
Nor Me 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 08:52.


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