Thread Tools
Old January 5, 2001, 23:40   #1
joe77
Chieftain
 
Local Time: 09:48
Local Date: October 31, 2010
Join Date: Jan 2001
Location: Seattle, Washington US of A
Posts: 26
what does these do ?? (from const.txt)
a few questions on some lines I found in Const.txt..I was wondering if anyone knew what they did ...

ASSASINATION_HAPPINESS_EFFECT -5 # unhappiness caused when a ruler is assasinated
ASSASINATION_HAPPINESS_EFFECT_TIMER 5 # how long the above lasts
MAX_PARTY_COST 500 # most than can be spent on a party
MAX_PARTY_CHANCE 0.5 # the chance of hearing gossip at a party
GOSSIP_MAP_RADIUS 10 # When a map is revealed through gossip, a circle is formed
HEAR_GOSSIP_CHANCE 0.02 # How likely a diplomat next to a capitol is to hear gossip
WORMHOLE_ORBIT_HEIGHT_PERCENTAGE 10
WORMHOLE_SPEED 10
WORMHOLE_RETURN_TIME 5
WORMHOLE_VISIBLE_TO_ALL_TURNS 5
RIOT_LEVEL 73

I also found these following lines and wondered if perhaps they should have their values increased ::

FRANCHISE_EFFECT 0.1 # How much production a franchise steals
GOLD_FROM_PIRACY 30
CAPTURE_CITY_ADVANCE_CHANCE 0.5 # chance of gaining an advance when capturing a city (assuming they have advances you don't)
WORMHOLE_ORBIT_HEIGHT_PERCENTAGE 10
WORMHOLE_SPEED 10
WORMHOLE_RETURN_TIME 5
WORMHOLE_VISIBLE_TO_ALL_TURNS 5
ASSAULT_DESTROY_BUILDING_CHANCE 0.1 # chance of an assault on a city destroying a building
BOMBARD_DESTROY_BUILDING_CHANCE 0.1 # chance of a bombardment on a city destroying a building
BOMBARD_KILL_POP_CHANCE 0.1


anyhoo thx

-Joe

joe77 is offline  
Old January 5, 2001, 23:41   #2
joe77
Chieftain
 
Local Time: 09:48
Local Date: October 31, 2010
Join Date: Jan 2001
Location: Seattle, Washington US of A
Posts: 26
oops that wormhole stuff should be in the second section...I goofed
joe77 is offline  
Old January 6, 2001, 03:18   #3
lago
Guest
 
Posts: n/a
The Wormhole constants are meaningless. Activision didn't clean out all of the CTP1 stuff from the files. Building the Wormhole Probe (sounds painful) was one of the steps to winning by building an alien life form IIRC. Maybe this is where Dennis Rodman came from.

Gossip is also unimplemented I believe.
 
Old January 6, 2001, 11:57   #4
Triumphus Romanus
Chieftain
 
Local Time: 09:48
Local Date: October 31, 2010
Join Date: Nov 2000
Location: Jacksonville, Florida
Posts: 50
While I will honestly say, I have no real idea what they do, i can give my best guess, based on my own tinkering with various files.

ASSASINATION_HAPPINESS_EFFECT -5 # unhappiness caused when a ruler is assasinated
**I assume this affects a cities happiness when someone has been assasinated(-5 points?)**
ASSASINATION_HAPPINESS_EFFECT_TIMER 5 # how long the above lasts
**Happiness reduction lasts 5 turns?**
MAX_PARTY_COST 500 # most than can be spent on a party
**not sure exactly, guess a diplomatic reception costs 5oo gold**
MAX_PARTY_CHANCE 0.5 # the chance of hearing gossip at a party
**Dont think gossip is used in CTP2**
GOSSIP_MAP_RADIUS 10 # When a map is revealed through gossip, a circle is formed
**dont think gossip is implemented in ctp2**
HEAR_GOSSIP_CHANCE 0.02 # How likely a diplomat next to a capitol is to hear gossip
**dont think gossip is implemented in ctp2**
WORMHOLE_ORBIT_HEIGHT_PERCENTAGE 10
WORMHOLE_SPEED 10
WORMHOLE_RETURN_TIME 5
WORMHOLE_VISIBLE_TO_ALL_TURNS 5
**wormhole stuff is from ctp1, isnt used in ctp2**
RIOT_LEVEL 73
**under 73 happiness, a city is likely to riot?**

Thats my best guess. Most stuff in these files seem pretty straight forward, but not all.



[This message has been edited by Triumphus Romanus (edited January 06, 2001).]
Triumphus Romanus is offline  
Old January 7, 2001, 21:42   #5
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:48
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
Look at the const.txt in the latest version of the Med mod II text portion. I have gone through the Const.txt and marked the lines which I believe to be unused, and those which I think are over-written by lines in other files.
WesW is offline  
Old January 7, 2001, 22:50   #6
Alpha Wolf
Chieftain
 
Local Time: 09:48
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Prince of the Barbarians
Posts: 0
Thanks Wes, I've been wondering which flags werent used.

------------------
History is written by the victor.
Alpha Wolf is offline  
Old January 9, 2001, 03:54   #7
Flash
Apolyton UniversityCivilization IV Creators
Warlord
 
Flash's Avatar
 
Local Time: 04:48
Local Date: October 31, 2010
Join Date: May 1999
Location: Carbondale, Illinois, USA
Posts: 251
Question, Did Activision just not clear these statements from CTP1 or can we activate them?
For instance putting the space layer back?
Flash is offline  
Old January 9, 2001, 23:45   #8
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:48
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
I tried moving the flags around one time, and received errors about flags not being found at their expected line. Apparently, these flags are linked to lines in the exe., and someone would have to go into the exe and remove stuff from it before you could get rid of the unused flags in the const.txt. This may involve adjusting the sequence of all the expected flags in all the texts, so I can see why the over-worked people at Activision didn't do it. It would have been nice if they could have marked the obsolete ones, however.

Just because these lines are still in const.txt doesn't mean that the exe code they call is still in use.
WesW 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 05:48.


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