 |
|
ivanbuto
|
|
In general, what exactly are they in CTP 2? Does the distance from the capitol only affect happiness and crime, and if so, where can one find how exactly one can calculate this? Are these some of the coefficients in Govern.txt?
|
|
|  |
 |
|
Maquiladora
|
|
Got this from http://apolyton.net/ctp2/modification/
code: EmpireDistanceScale - Coefficient for distance to capital happiness penalty.
Distance is multiplied by this value to get penalty
MinEmpireDistance - Distance below which there is no penalty
MaxEmpireDistance - Distance above which the penalty no longer increases
That second line is just on the second line so it doesnt make the thread too wide, but it refers to the EmpireDistanceScale above.
|
|
|  |
 |
|
Maquiladora
|
|
I thought it did, like it represents crime and corruption like civ2, and crime still varies from city to city without a courthouse etc, so the distance must affect it.
|
|
|  |
 |
|
Maquiladora
|
|
It also says on the tech tree poster that the Capitol building is a crime type building, but that could mean that crime is lowered in all cities when its built, and not necessarily relative to the position of the city its in.
|
|
|  |
 |
|
ivanbuto
|
|
What is the scale of the distance? For example 500 means what exactly in terms of the # of squares?
I haven't been able to find the constant 25 for base crime anywhere in the text files. I am wondering if in some way crime is related to happiness, since for example we know that above 95 happiness for all governments there is 0 crime.
Speaking of distances, if somebody coudl enlighten me on these lines in Const.txt I would be happy:
MIN_START_DISTANCE_COEFFICIENT 0.45
MAX_START_DISTANCE_COEFFICIENT 0.6
MAX_SAME_TILES 4
|
|
|  |
 |
|
J Bytheway
|
 |
England
Jul 2001 time: 05:24
|
|
(Edit: I'm an idiot, I'm talking about CTP1 here - probably best to ignore this post)
I believe that crime and happiness are interdependant, both affect each other. In govern.txt note:
CRIME_COEF 1
CRIME_OFFSET 85
I think this sets how crime varies with happiness. i.e. zero crime at 85 happiness, and +1% for each happiness point below that.
Last edited by J Bytheway on 21-12-2002 at 19:39
|
|
|  |
 |
|
ivanbuto
|
|
Yeah, but these two lines are similar in CTP2. However, the CrimeCoef is a number that multiplies the generated crime depended on your government - this number doesn't say anything about happiness.
The other number, CrimeOffset, does relate them though - it seems to imply that crime is related to happiness. Immortal Wombat, if you are claiming that happiness is a function of crime, could you elaborate on that?
|
|
|  |
 |
|
ivanbuto
|
|
I browsed through the CTP 1 mod pages on apolyton, and I foudn the following formula for cirme:
Crime = CrimeCoeff * (CrimeOffset - Happiness)
Seems like this could work...
|
|
|  |
All times are GMT. The time now is 05:24. Apolyton Time is 00:24. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|