Thread Tools
Old December 20, 2002, 03:08   #1
ivanbuto
Chieftain
 
Local Time: 07:58
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 45
Govern.txt
Sorry to start yet another topic, I promise I'll already get more involved with actually playing, but all your answers/thoughts are definitely helpful.

(Q1) The first few lines are about wages, rations and worday, I suspect they are related to happiness. All the Positive()Coef and Negative()Coef values for all governments are 1, so I'm wondering what these would be for.
(Q2) How exactly is crime caluclated, i.e. if the CrimeCoef = 1.5 then that's 1.5 times what? Also, what is the CrimeOffset number?
(Q3) As for the infrastructure and capitalization coefficients, where exactly are these factored in?
(Q4) What is the DefenseCoef?
(Q5) As for the SupportCoef, I suspect this is related to military support costs, but how exactly are these calculated (is there a value assigned to each unit and if so where can this be found)?
(Q6) What is the EmpireDistanceScale and the Min and Max EmpireDistance?
(Q7) Where exactly do the rush buy modifiers come in? (How does one calculate the rush buy costs? Is this production left times the modifier?)
__________________
Ivan - ivanbuto2@yahoo.com
ivanbuto is offline  
Old December 20, 2002, 13:10   #2
Maquiladora
Call to Power II MultiplayerCTP2 Source Code ProjectCall to Power PBEMCall to Power Multiplayer
Emperor
 
Local Time: 13:58
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 7,665
http://apolyton.net/ctp2/modificatio...f-Govern.shtml
__________________
Call to Power 2: Apolyton Edition - download the latest version (7th June 2010)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Maquiladora is offline  
Old December 20, 2002, 13:16   #3
Maquiladora
Call to Power II MultiplayerCTP2 Source Code ProjectCall to Power PBEMCall to Power Multiplayer
Emperor
 
Local Time: 13:58
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 7,665
Quote:
(Q2) How exactly is crime caluclated, i.e. if the CrimeCoef = 1.5 then that's 1.5 times what? Also, what is the CrimeOffset number?
1.5 times the base crime that all governments have, they all have crime, then its multiplied by this. Obviously a shitty government for crime like Republic is crimecoef 1.25 and low crime is Fascism, crimecoef 0.75.
__________________
Call to Power 2: Apolyton Edition - download the latest version (7th June 2010)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Maquiladora is offline  
Old December 20, 2002, 13:22   #4
ivanbuto
Chieftain
 
Local Time: 07:58
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 45
Thanks, that makes it easy.
What I still don't understand is how I get the base number for

a) crime
b) happiness
__________________
Ivan - ivanbuto2@yahoo.com
ivanbuto is offline  
Old December 20, 2002, 13:37   #5
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 14:58
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Base number for crime: 25
Base number for happiness: 75

If you've played the game for more than 2 hours you should know this

(I *think* these values may be hard-coded BTW, I couldn't find them anywhere in the text files)
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old December 20, 2002, 17:48   #6
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 09:58
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
The happiness number base number is in the DiffBB.txt
And there is a happiness starting level for every difficult level (The line will repeat 6 time though the file):
Code:
BASE_CONTENTMENT		75	# starting happiness
In the const.txt you will find the numbers for the riot and revolution level.
In line 107
Code:
REVOLUTION_LEVEL 60
In line 225
Code:
RIOT_LEVEL              73

I dont know where the crime base level is though. But i dont believe it is hard-coded as suggested by locutus. Still i am not sure about it.
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old December 20, 2002, 21:13   #7
HuangShang
Call to Power II Democracy GameCTP2 Source Code Project
King
 
HuangShang's Avatar
 
Local Time: 05:58
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Berkeley
Posts: 1,375
this should be in the mod section
HuangShang is offline  
Old December 20, 2002, 23:57   #8
ivanbuto
Chieftain
 
Local Time: 07:58
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 45
I looked in all the text files under the gamedata folder, and couldn't find the crime base to be set at 25 anywhere. Could crime perhaps be related somehow to hapiness? For example we know that above 95 hapiness there is 0 crime.
__________________
Ivan - ivanbuto2@yahoo.com
ivanbuto 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:58.


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