В main.lua добавлены настройки света, а также даты появления скоростных путей, автобусных полос и контактной сети для железных дорог и трамваев
This commit is contained in:
parent
365f15bed7
commit
b93e7c2aa7
21
main.lua
21
main.lua
|
@ -60,11 +60,21 @@ terCfg.shader.textures[2].detailTex.fileName = "terrain/1520/rock_detail.tga"
|
|||
terCfg.shader.textures[2].detailNrmlTex.fileName = "terrain/1520/rock_detail_nrml.tga"
|
||||
terCfg.shader.textures[2].colorTex.fileName = "terrain/1520/rock_colors.tga"
|
||||
|
||||
terCfg.vegetation.forestLevel = 0.7 -- 0.0 - 1.0
|
||||
terCfg.vegetation.forestDensity = 1.0 -- 0.25 - 4.0
|
||||
terCfg.vegetation.singleDensity = 2.0 -- 0.0 - 100.0
|
||||
setConfig("terrain", "/1520", terCfg)
|
||||
|
||||
|
||||
local envCfg = table.copy(getConfig("environment", "/default"))
|
||||
|
||||
envCfg.fog.color = { 0.682, 0.815, 0.898 }
|
||||
|
||||
envCfg.light.direction = { 1.1, 1.3, 1.05 }
|
||||
envCfg.light.ambient = { 0.60, 0.60, 0.66 }
|
||||
envCfg.light.diffuse = { 1.11, 1.11, 1.11 }
|
||||
envCfg.light.specular = { 1.11, 1.11, 1.11 }
|
||||
|
||||
envCfg.name = _("1520")
|
||||
envCfg.skyBox.textures[1] = "skybox/1520/0.tga"
|
||||
envCfg.skyBox.textures[2] = "skybox/1520/90.tga"
|
||||
|
@ -78,3 +88,14 @@ setConfig("environment", "/1520", envCfg)
|
|||
|
||||
|
||||
setConfig("nameList", "/1520", { name = _("1520"), folder = "1520" })
|
||||
|
||||
game.config.enforceMainConnections = true
|
||||
game.config.maxIndustryProduction = 1200 -- units per year
|
||||
game.config.townGrowthFactor = 2.0 -- .0 - 2.0 (factor to control town growth behaviour)
|
||||
game.config.townGrowthExponent = 0.95 -- .5 - 1.0 (exponent to attenuate late game town growth)
|
||||
game.config.maxTownSize = 0 -- 0 (unlimited) or a number >= 500 (limits all land use counts)
|
||||
|
||||
game.config.tramCatenaryYearFrom = 1892
|
||||
game.config.trackCatenaryYearFrom = 1928
|
||||
game.config.highSpeedTracksYearFrom = 1956
|
||||
game.config.busLaneYearFrom = 2005 -- 0.0 - 2.0
|
||||
|
|
Loading…
Reference in New Issue