Battlegoatstudios (talk | contribs) No edit summary Tag: Visual edit |
Tag: Visual edit |
||
Line 36: | Line 36: | ||
= Modding Guide - The World Commodity Market .WMData file = |
= Modding Guide - The World Commodity Market .WMData file = |
||
+ | |||
− | Submitted by Balthagor on Thu, 01/03/2013 - 15:42 |
||
− | World Market data |
||
* /Maps/Data/default.WMDATA |
* /Maps/Data/default.WMDATA |
||
The sections in the .WMDATA file are as follows; |
The sections in the .WMDATA file are as follows; |
||
Line 48: | Line 47: | ||
This next set is the same for each of the different resource types. I'll list the resource I'Ds first then list the tags under each entry. |
This next set is the same for each of the different resource types. I'll list the resource I'Ds first then list the tags under each entry. |
||
# &&WMPRODDATA,0 (Agriculture) |
# &&WMPRODDATA,0 (Agriculture) |
||
− | # &&WMPRODDATA,1 (Water) |
+ | # &&WMPRODDATA,1 (Rubber; prior to SR1936 this was Water) |
# &&WMPRODDATA,2 (Timber) |
# &&WMPRODDATA,2 (Timber) |
||
# &&WMPRODDATA,3 (Petrol) |
# &&WMPRODDATA,3 (Petrol) |
||
Line 56: | Line 55: | ||
# &&WMPRODDATA,7 (Electric) |
# &&WMPRODDATA,7 (Electric) |
||
# &&WMPRODDATA,8 (Consumer Goods) |
# &&WMPRODDATA,8 (Consumer Goods) |
||
− | # &&WMPRODDATA,9(Industrial Goods) |
+ | # &&WMPRODDATA,9 (Industrial Goods) |
# &&WMPRODDATA,10 (Military goods) |
# &&WMPRODDATA,10 (Military goods) |
||
Tags under each entry |
Tags under each entry |
Revision as of 18:51, 18 June 2019
Overview
The WMDATA files ("World Market Data") include variables and baselines for the economy / map / world.
They also include Resource variables for each resource type.
Up to 10 WMDATA files can be loaded, the game will progress through them in sequence. This is specified as a parameter to the &&WMDATA value, such as "&&WMDATA, 1". File numbers don't need to start at zero, but all files do need to be in sequence after that (ie, SRCW is 3, GC2020 is 4). Most values are averaged between the current and the next WMDATA number set if one exists, as the days progress.
Here are the default numbers used in SRU:
SR1914 0
SR1936 1
SR1942 2
SRCW 3 (1949)
GC2020 4
&WMDATA section values:
dasywmlevel: Number of days to move from this to the next WMDATA set.
unitgarrison: Unit Garrison unitnum - progression based on tech TECHEFFECTGARRISONTYPE (up to 8)
battstrdefault: The Battalion Strength for each Military Class
weatheryear: Number of days in the winter-summer-winter cycle
weatherspeed[]: Speed of the weather fronts (8) 1 to 255; lower is faster; should be prime number for best results
weatheroffy[]: Weather center y-offset (-127 for North, +127 for South)
weatherminstr[]: Weather center minimum strength (1 to 100, default 50)
weathermaxstr[]: Weather center maximum strength (0 to 250, default 50)
Modding Guide - The World Commodity Market .WMData file
- /Maps/Data/default.WMDATA
The sections in the .WMDATA file are as follows;
&&WMDATA(general world market tweaks)
- gdpcbase (World Baseline GDP/c)
- primerate
- battstrdefault (effects default battalion strengths?)
- hexresmults (Hex Resource multipliers 0-3)
This next set is the same for each of the different resource types. I'll list the resource I'Ds first then list the tags under each entry.
- &&WMPRODDATA,0 (Agriculture)
- &&WMPRODDATA,1 (Rubber; prior to SR1936 this was Water)
- &&WMPRODDATA,2 (Timber)
- &&WMPRODDATA,3 (Petrol)
- &&WMPRODDATA,4 (Coal)
- &&WMPRODDATA,5 (Ore)
- &&WMPRODDATA,6 (Uranium)
- &&WMPRODDATA,7 (Electric)
- &&WMPRODDATA,8 (Consumer Goods)
- &&WMPRODDATA,9 (Industrial Goods)
- &&WMPRODDATA,10 (Military goods)
Tags under each entry
- bmwerrain (Set True if this resource is produced by terrain with no upgrades 0-False 1-True)
- producefrom (other goods requirement)[Agri,Water,Timber,Oil,Coal,Ore,Uranium,Power,Cons,Ind,Mil]
- wmbasecost (Baseline Game Cost of Unit NOT incl raw materials in)
- wmfullcost (ESTIMATE of minimum full cost of unit with raw materials in its cheapest form)
- wmmargin (Default starting Markups)
- wmnodeproduction (HEX Multiplier of raw PRODUCTION)
- wmprodperpersonmax (Unit Consumption annually PER PERSON - MAX)
- wmprodperpersonmin ( Unit Consumption annually PER PERSON - MIN)
- wmurbanproduction ( Node equivalent (0-6.0) produced per urban 50K (max) pop (No raw requirement, but basecost still applies)