Modder's Documentation

Some in-play experience shows that units and buildings may end up being a touch more expensive than really they should be once all of them are in-line with the last base-line production cost chart. It's not FAR off from being ideal I think ... just a touch too much. So with that in mind, I added a few lines at the top of the chart and pushed down the progression curve two slots, coming up with this, which I think would be a bit more balanced. This is a good time to make this adjustment since the medical units that are currently the only units adhering to this chart will be included in this current review.

Anyhow, here is the new prototype standard guideline:
Column Cost
0 1
1 3
2 6
3 10
4 15
5 20
6 25
7 30
8 35
9 41
10 47
11 53
12 59
13 65
14 72
15 79
16 86
17 93
18 100
19 108
20 116
21 124
22 132
23 140
24 149
25 158
26 167
27 176
28 185
29 195
30 205
31 215
32 225
33 237
34 249
35 261
36 273
37 285
38 300
39 315
40 330
41 345
42 360
43 380
44 400
45 420
46 440
47 465
48 490
49 515
50 540
51 570
52 600
53 630
54 660
55 700
56 740
57 780
58 820
59 870
60 920
61 970
62 1020
63 1085
64 1150
65 1225
66 1300
67 1400
68 1500
69 1625
70 1750
71 1900
72 2050
73 2225
74 2400
75 2600
76 2800
77 3025
78 3250
79 3500
80 3750
81 4025
82 4300
83 4600
84 4900
85 5225
86 5550
87 5900
88 6250
89 6625
90 7000
91 7400
92 7800
93 8250
94 8700
95 9200
96 9700
97 10250
98 10800
99 11400
100 12000
101 12650
102 13300
103 14000
104 14700
105 15475
106 16250
107 17100
108 17950
109 18875
110 19800
111 20800
112 21800
113 22900
114 24100
115 25400
116 26800
117 28300
118 29900
119 31600
120 33400
121 35400
122 37600
123 40000
124 42600
125 45400
126 48400
127 51700
128 55300
129 59200
130 63400
131 68000
132 73000
133 78500
134 84500
135 91100
 
Just drafting this at the moment comments welcome.

  • Continental Shelf
    |Features|Improvements|Other
    Coast|Reefs, Coral, Kelp, Seagrass|Lighthouse, Extraction Facility, Submerged Town, Sea Tunnel*|Goody Islands
    Sea|Krakatoa, small islands*|Sea Tunnel*

  • Abysmal Plains
    |Features|Improvements
    Deep Coast||Deep Sea Tunnel*
    Deep Sea|atols*|Deep Sea Tunnel*
    Ocean|atols*|Deep Sea Tunnel*

  • Oceanic Trenches
    |Features|Improvements
    Trench||Deep Sea Bridge*

* means yet to be incorporated or needs change

Improvements that need changes
  • Extraction facility need limiting by depth by technology
  • Submerged Town similarly
  • Sea Tunnels
  • Small islands may have goody huts
  • Atols may have goody huts

Other ideas are-
  • shipwrecks - when a ship is sunk it may form a wreck or flotsam which are special goody huts. Wrecks may become tourist attractions with dive sites.
  • Sea Mounts, Sea Ridge
 
TB: Do those figures for standard unit costs apply for buildings? And is there a standard multiplier for national and great wonders?
 
I just found out another issue that can crash Civ4. If you start a game and want to go back to the Main Menu Civ4 crashes if there are any missing art defines.
 
I just found out another issue that can crash Civ4. If you start a game and want to go back to the Main Menu Civ4 crashes if there are any missing art defines.
Interesting. Thanks for the heads up! I'm still hoping to figure out how you pinpoint which art files are problematic though.
 
We have a link to the tutorial on the main page. The tutorial is in the same thread. It has been there since the expression system came out.:confused:
 
We have a link to the tutorial on the main page. The tutorial is in the same thread. It has been there since the expression system came out.:confused:

I forgot it was there. :( But at least there is a 2nd link now. That can never hurt I think.
 
How to save changes of the Domestic Advisor (F1) menu:

This was discussed here.

You can personalize your domestic advisor, e.g. add the view for crime, disease, etc. Therefore open the Domestic Advisor (press F1), press the "Edit Mode" button, select a Property in the right window (they are at the end of the list) and click the "Add Column" button. When you are finished press "Save" and "Exit Edit Mode".
Unfortunately this setting will not be remembered when you restart Civ unless you do the following steps:
  • Start the Windows Explorer.
  • Open your Caveman2Cosmos folder (here it is at C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos).
  • Open UserSettings and then the CustomDomAdv folder.
  • Delete (or better rename or move to somewhere else) the file "CustomDomAdv.txt". Be careful not to delete the file with the same name in the parent folder (C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\UserSettings)!
The your new Domestic Advisor should be saved. If you install a new SVN version it is probably necessary to again delete the "CustomDomAdv.txt" file in the UserSettings\CustomDomAdv folder and copy the adapted "CustomDomAdv.txt" (which you should have saved somewhere else on your system!) again to Caveman2Cosmos\UserSettings.
 
Tech Costs by X Column
4/13/2017(est. during v38 design cycle)
Column|Tech Cost|Era Breaker|Increment|Inc Adj|ShiftCount|Inc Scheme|Era Shift
1|3| |1|1| | |Prehistoric
2|4| |1| | | |
3|5| |2| 1 | | |
4|7| |2| |||
5 |9| |2| |||
6 |11| |2||||
7 |13| |2||||
8 |15| |2||||
9 |17| |2||||
10 |20||3|1|||
11 |23||3||||
12 |26||3||||
13 |30||4|1|||
14 |34||4||||
15 |39||5|1|||
16 |45||6|1|1|1 per 5|
17 |52||7|1|||
18 |60||8|1|||
19 |74|5|9|1|||Ancient
20 |84||10|1|||
21 |96||12|2|2||
22 |110||14|2|||
23 |126||16|2|||
24 |144||18|2|||
25 |164||20|2|||
26 |187||23|3|3||
27 |213||26|3|||
28 |242||29|3|||
29 |274||32|3|||
30 |309||35|3|||
31 |348||39|4|4||
32 |401|10|43|4|||Classical
33 |448||47|4|||
34 |499||51|4|||
35 |554||55|4|||
36 |614||60|5|5||
37 |679||65|5|||
38 |749||70|5|||
39 |824||75|5|||
40 |904||80|5|||
41 |1040|50|86|6|1|1 per 4|Medieval
42 |1132||92|6|||
43 |1230||98|6|||
44 |1334||104|6|||
45 |1445||111|7|2||
46 |1563||118|7|||
47 |1688||125|7|||
48 |1820||132|7|||
49 |1960||140|8|3||
50 |2208|100|148|8|||Renaissance
51 |2364||156|8|||
52 |2528||164|8|||
53 |2701||173|9|4||
54 |2883||182|9|||
55 |3074||191|9|||
56 |3274||200|9|||
57 |3484||210|10|5||
58 |3704||220|10|||
59 |3934||230|10|||
60 |4174||240|10|||
61 |4925|100|251|11|1|1 per 3|Industrial
62 |5187||262|11|||
63 |5460||273|11|||
64 |5745||285|12|2||
65 |6042||297|12|||
66 |6351||309|12|||
67 |6673||322|13|3||
68 |7008||335|13|||
69 |7356||348|13|||
70 |7718||362|14|4||
71 |9094|1000|376|14|||Modern
72 |9484||390|14|||
73 |9889||405|15|5||
74 |10309||420|15|||
75 |10744||435|15|||
76 |11196||452|17|1|1 per 2|
77 |11665||469|17|||
78 |12152||487|18|2||
79 |12657||505|18|||
80 |13181||524|19|3||
81 |13724||543|19|||
82 |14287||563|20|4||
83 |14870||583|20|||
84 |15474||604|21|5||
85 |16099||625|21|||
86 |19246|2500|647|22|1|1 per 1|Information
87 |19916||670|23|2||
88 |20610||694|24|3||
89 |21329||719|25|4||
90 |22074||745|26|5||
91 |22847||773|28|1|2 per 1|
92 |23650||803|30|2||
93 |24485||835|32|3||
94 |25354||869|34|4||
95 |26259||905|36|5||
96 |27203||944|39|1|3 per 1|
97 |28189||986|42|2||
98 |29220||1031|45|3||
99 |35299|5000|1079|48|4||
100 |36429||1130|51|5||
101 |37614||1185|55|1|4 per 1|Nanotech
102 |38858||1244|59|2||
103 |40165||1307|63|3||
104 |41539||1374|67|4||
105 |42984||1445|71|5||
106 |44505||1521|76|1|5 per 1|
107 |46107||1602|81|2||
108 |47795||1688|86|3||
109 |49574||1779|91|4||
110 |61449|10000|1875|96|5||Transhuman
111 |63426||1977|102|1|6 per 1|
112 |65511||2085|108|2||
113 |67710||2199|114|3||
114 |70029||2319|120|4||
115 |72474||2445|126|5||
116 |75052||2578|133|1|7 per 1|
117 |77770||2718|140|2||
118 |80635||2865|147|3||
119 |83654||3019|154|4||
120 |86834||3180|161|5||
121 |90183||3349|169|1|8 per 1|
122 |93709||3526|177|2||
123 |122420|25000|3711|185|3||Galactic
124 |126324||3904|193|4||
125 |130429||4105|201|5||
126 |134744||4315|210|1|9 per 1|
127 |139278||4534|219|2||
128 |144040||4762|228|3||
129 |149039||4999|237|4||
130 |154284||5245|246|5||
131 |159944||5660|415|1|10 per 1|
132 |166029||6085|425|2||
133 |172549||6520|435|3||
134 |179514||6965|445|4||
135 |186934||7420|455|5||
136 |194821||7887|467|1|12 per 1|
137 |253187|50000|8366|479|2||Cosmic
138 |262044||8857|491|3||
139 |271404||9360|503|4||
140 |281279||9875|515|5||
141 |291683||10404|529|1|14 per 1|
142 |302630||10947|543|2||
143 |314134||11504|557|3||
144 |326209||12075|571|4||
145 |338869||12660|585|5||
146 |352130||13261|601|1|16 per 1|
147 |366008||13878|617|2||
148 |480519|100000|14511|633|3||Transcendent
149 |495679||15160|649|4||
150 |511504||15825|665|5||
151 |528012||16508|683|1|18 per 1|
152 |545221||17209|701|2||
153 |563149||17928|719|3||
154 |581814||18665|737|4||
155 |601234||19420|755|5||
156 |621429||20195|775|1|20 per 1|
157 |642419||20990|795|2||
158 |664224||21805|815|3||
159 |686864||22640|835|4||
160 |960359|250000|23495|855|20|5|Future
 
Last edited:
Base Production Costs by Tech X Grid
(of the latest prereq tech to unlock the building or unit)
4/13/2017(est. during v38 design cycle)
Column|Base Production Cost|+|Increments|Era Gateway
0|5|5|5 for 10|Prehistoric
1|10|5||
2|15|5||
3|20|5||
4|25|5||
5|30|5||
6|35|5||
7|40|5||
8|45|5||
9|50|5||
10|56|6|6 for 9|
11|62|6||
12|68|6||
13|74|6||
14|80|6||
15|86|6||
16|92|6||
17|98|6||
18|104|6||
19|111|7|7 for 8|Ancient
20|118|7||
21|125|7||
22|132|7||
23|139|7||
24|146|7||
25|153|7||
26|160|7||
27|168|8|8 for 7|
28|176|8||
29|184|8||
30|192|8||Classical
31|200|8||
32|208|8||
33|216|8||
34|225|9|9 for 6|
35|234|9||
36|243|9||
37|252|9||
38|261|9||
39|270|9||
40|280|10|10 for 5|
41|290|10||Medieval
42|300|10||
43|310|10||
44|320|10||
45|332|12|12 for 5|
46|344|12||
47|356|12||
48|368|12||
49|380|12||
50|395|15|15 for 5|Renaissance
51|410|15||
52|425|15||
53|440|15||
54|455|15||
55|475|20|20 for 5|
56|495|20||
57|515|20||
58|535|20||
59|555|20||
60|580|25|25 for 5|
61|605|25||Industrial
62|630|25||
63|655|25||
64|680|25||
65|710|30|30 for 5|
66|740|30||
67|770|30||
68|800|30||
69|830|30||
70|870|40|40 for 5|
71|910|40||Modern
72|950|40||
73|990|40||
74|1030|40||
75|1080|50|50 for 5|
76|1130|50||
77|1180|50||
78|1230|50||
79|1280|50||
80|1345|65|65 for 5|
81|1410|65||
82|1475|65||
83|1540|65||
84|1605|65||
85|1685|80|80 for 5|Information
86|1765|80||
87|1845|80||
88|1925|80||
89|2005|80||
90|2105|100|100 for 5|
91|2205|100||
92|2305|100||
93|2405|100||
94|2505|100||
95|2625|120|120 for 5|
96|2745|120||
97|2865|120||
98|2985|120||
99|3105|120||Nanotech
100|3245|140|140 for 5|
101|3385|140||
102|3525|140||
103|3665|140||
104|3805|140||
105|3975|170|170 for 5|
106|4145|170||
107|4315|170||
108|4485|170||
109|4655|170||
110|4855|200|200 for 5|Transhuman
111|5055|200||
112|5255|200||
113|5455|200||
114|5655|200||
115|5905|250|250 for 5|
116|6155|250||
117|6405|250||
118|6655|250||
119|6905|250||
120|7205|300|300 for 5|
121|7505|300||
122|7805|300||
123|8105|300||Galactic
124|8405|300||
125|8755|350|350 for 5|
126|9105|350||
127|9455|350||
128|9805|350||
129|10155|350||
130|10555|400|400 for 5|
131|10955|400||
132|11355|400||
133|11755|400||
134|12155|400||
135|12655|500|500 for 5|
136|13155|500||
137|13655|500||Cosmic
138|14155|500||
139|14655|500||
140|15255|600|600 for 5|
141|15855|600||
142|16455|600||
143|17055|600||
144|17655|600||
145|18355|700|700 for 5|
146|19055|700||
147|19755|700||
148|20455|700||Transcendent
149|21155|700||
150|21955|800|800 for 5|
151|22755|800||
152|23555|800||
153|24355|800||
154|25155|800||
155|26055|900|900 for 5|
156|26955|900||
157|27855|900||
158|28755|900||
159|29655|900||
160|30655|1000|1000|Future
EDIT(12/31/2017)
National Wonders are x4 x2
Group Wonders are x6 x4
World Wonders are x8 x6
Team Projects are x12 x10

Building chains or loosely defined 'categories' should be given established modifier amounts to these bases to come up with a final iCost.

Unit Upgrade Chains should possess or be assigned established modifier amounts as well.

I have established some modifiers for some unit upgrade chains and my next step here is to take note of those and record them here.


*Current note: Once I've determined Modifier amounts to most unit chains and building categories, I'll be looking to update all unit and building costs. Once this is done, Joseph's global control toggles can become useful for refining the game experience in various eras. I did tone back the production costs a little from the last chart, which I think proved to be increasingly a bit high past the prehistoric. (based on cost complaints regarding wonders and the units that had been updated to the charts)
 
Last edited:
Update: I've finished assigning tech costs to all techs and base training costs to all core normal units so far.

The unit assignment method is a little complex and perhaps open to some debate as to what % adjustments to apply to a given upgrade chain type.

As it has been assigned so far is shown and broken down with absolute clarity here in this chart:
Unit iCost Chart

I'll be working on the rest of the units in modules and heroes and unique units and such, adding them to that chart from here. I do this chart on an excell spreadsheet and then post it online here for all to see... it's not generated in real time on this chart because it's too slow to work on it online live.

To summarize the unit upgrade paths defined so far and their % modifier to the base tech derived amount that their most costly tech would generate from the chart in the last post here,
Unit Upgrade Chain|Adj%
Heals People|-10
Heals Animals|-25
Heals Mechanical|-30
Heals Aircraft|-20
Heals Tech|-15
Heals Naval|0
LawEnforcement|-10
Criminal|-15
Strike Team|15
Ruffian(Foot)|0
Ruffian(Mounted)|10
Canines|-50
Felines|0
Workers|-20
Workboats|-40
Recon|-25
Hunter|-15
Spies|-30
Executives|-40
Missionaries|-50
Militia|N/A
Imperial Guard|25
Melee (Pugilist)|-50
Melee (Club)|-35
Melee (Macemen)|-25
Melee (Axeman)|-25
Melee (Swordsman)|-20
Melee (Spearman)|-30
Melee (Fanatic)|-10
Archery (Bows)|-20
Archery (Crossbows)|-20
Throwing|-25
Throwing(Fire/Explosive)|-20
Flamethrowers|-10
Rocket Launchers|-15
Anti-Air|-10
Regulars|-25
Regulars(Cyborg)|0
Regulars(AI)|0
Regulars(Clones)|-20
Regulars(Marines)|-10
Regulars(Drop Troop)|-10
Mechs|20
AI(Large)|10
AI (Large Combat)|20
Nanite(Battle)|30
Chariots(Close Combat)|-15
Chariots(Distance)|-15
Wagons|-15
Horse Mounted|-10
Elephant Mounted|-5
Camel Mounted|-10
Tanks|0
Land Vehicles|0
Rams|-5
Siege(Most)|0
Siege(AI)|20
Naval Explorers|-20
Naval Transports|-10
Naval Combatants(General)|10
Battleships|20
Cruisers|15
Destroyers|10
Submarines|25
Carriers|30
Pirates|0
Merchant Ships|-40
Hovercraft|0
Helicopter|0
Balloon|-5
Fighter|-10
Bombar|10
Seaplanes|-10
Naval Fighters|-10
Strike Fighters|-5
Air Recon|-15
Nuclear|30
Biological|10
Psychological|10
Ballistic Missiles|-30
Administrators|0
Captains|-7
Warlords|0
Neanderthal|special
Immigrants|0
Entertainers|-40
Food Merchants|-40
Merchants|-40
Heroes|300
 
Last edited:
I always lose this dang thread whenever I want it! So I'm posting it here to be easily found in the future - in fact, @Dancing Hoskuld : if you CAN, pls link to this on post 1 somewhere:
C2C XML Modding
There was also a great one for Python modding in C2C somewhere... will have to dredge that up and put a link to it here soon too.

And I really should write out a 'how to get setup to mod in C++ for C2C' thread here someday soon.
 
Top Bottom