Удалены лишние файлы
This commit is contained in:
parent
d81764ab55
commit
b7e8c93ac7
|
@ -1,179 +0,0 @@
|
|||
local tu = require "texutil"
|
||||
|
||||
local defaultNormalMap = "default_normal_map.tga"
|
||||
|
||||
setConfig("terrain", "/default", {
|
||||
name = _("European"),
|
||||
|
||||
generator = {
|
||||
ridgeTex = tu.makeTextureMipmapClamp("terrain/ridge.tga", false)
|
||||
},
|
||||
|
||||
textures = {
|
||||
riverBed = {
|
||||
{ tu.makeTextureMipmapRepeat("terrain/riverbed_detail.tga", false), 20.0 },
|
||||
{ tu.makeTextureMipmapRepeat("terrain/riverbed_color.tga", false), 256.0 }
|
||||
},
|
||||
|
||||
forestFloor = {
|
||||
detailTex = tu.makeTextureMipmapClamp("terrain/grass_wood.tga", true),
|
||||
detailNrmlTex = tu.makeTextureMipmapClamp("terrain/grass_wood_nrml.tga", true),
|
||||
detailSize = { 1.0, 1.0 }
|
||||
},
|
||||
|
||||
farmland = {
|
||||
{
|
||||
detailTex = tu.makeTextureMipmapRepeat("terrain/farmland_brown_detail.tga", false),
|
||||
detailNrmlTex = tu.makeTextureMipmapRepeat("terrain/farmland_brown_detail_nrml.tga", false),
|
||||
detailSize = { 50.0, 50.0 },
|
||||
colorTex = tu.makeTextureMipmapRepeat("terrain/farmland_brown_color.tga", false),
|
||||
colorSize = 256.0
|
||||
}, {
|
||||
detailTex = tu.makeTextureMipmapRepeat("terrain/farmland_green_detail.tga", false),
|
||||
detailNrmlTex = tu.makeTextureMipmapRepeat("terrain/farmland_green_detail_nrml.tga", false),
|
||||
detailSize = { 50.0, 50.0 },
|
||||
colorTex = tu.makeTextureMipmapRepeat("terrain/farmland_green_color.tga", false),
|
||||
colorSize = 256.0
|
||||
}, {
|
||||
detailTex = tu.makeTextureMipmapRepeat("terrain/farmland_yellow_detail.tga", false),
|
||||
detailNrmlTex = tu.makeTextureMipmapRepeat("terrain/farmland_yellow_detail_nrml.tga", false),
|
||||
detailSize = { 50.0, 50.0 },
|
||||
colorTex = tu.makeTextureMipmapRepeat("terrain/farmland_yellow_color.tga", false),
|
||||
colorSize = 256.0
|
||||
}
|
||||
},
|
||||
|
||||
farmlandBorder = {
|
||||
detailTex = tu.makeTextureMipmapClampVertical("terrain/farmland_border.tga", false),
|
||||
detailNrmlTex = tu.makeTextureMipmapClampVertical(defaultNormalMap, false),
|
||||
detailSize = { 1.0, 1.0 }
|
||||
},
|
||||
|
||||
ballast = {
|
||||
detailTex = tu.makeTextureMipmapClampVertical("tracks/ballast_ground_boundary.tga", true),
|
||||
detailNrmlTex = tu.makeTextureMipmapClampVertical(defaultNormalMap, true),
|
||||
detailSize = { 1.0, 1.0 },
|
||||
colorTex = tu.makeTextureMipmapRepeat("tracks/ballast_color.tga", true),
|
||||
colorSize = 128.0
|
||||
},
|
||||
|
||||
ballastFill = {
|
||||
detailTex = tu.makeTextureMipmapRepeat("tracks/ballast_ground_fill.tga", true),
|
||||
detailNrmlTex = tu.makeTextureMipmapRepeat(defaultNormalMap, true),
|
||||
detailSize = { 1.0, 1.0 },
|
||||
colorTex = tu.makeTextureMipmapRepeat("tracks/ballast_color.tga", true),
|
||||
colorSize = 128.0
|
||||
},
|
||||
|
||||
ballastFillStone = {
|
||||
detailTex = tu.makeTextureMipmapRepeat("tracks/ballast_ground_fill_stone.tga", true),
|
||||
detailNrmlTex = tu.makeTextureMipmapRepeat(defaultNormalMap, true),
|
||||
detailSize = { 1.0, 1.0 },
|
||||
colorTex = tu.makeTextureMipmapRepeat("tracks/ballast_color.tga", true),
|
||||
colorSize = 128.0
|
||||
},
|
||||
|
||||
buildingPaving = {
|
||||
detailTex = tu.makeTextureMipmapRepeat("terrain/lot_detail_border.tga", true),
|
||||
detailNrmlTex = tu.makeTextureMipmapRepeat(defaultNormalMap, true),
|
||||
detailSize = { 32.0, 4.0 },
|
||||
colorTex = tu.makeTextureMipmapRepeat("terrain/lot_color.tga", true),
|
||||
colorSize = 256.0
|
||||
},
|
||||
|
||||
buildingPavingFill = {
|
||||
detailTex = tu.makeTextureMipmapRepeat("terrain/lot_detail.tga", true),
|
||||
detailNrmlTex = tu.makeTextureMipmapRepeat(defaultNormalMap, true),
|
||||
detailSize = { 16.0, 16.0 },
|
||||
colorTex = tu.makeTextureMipmapRepeat("terrain/lot_color.tga", true),
|
||||
colorSize = 256.0
|
||||
},
|
||||
|
||||
buildingPath = {
|
||||
detailTex = tu.makeTextureMipmapClamp("terrain/grass_wood.tga", true),
|
||||
detailNrmlTex = tu.makeTextureMipmapClamp("terrain/grass_wood_nrml.tga", true),
|
||||
detailSize = { 6.0, 6.0 },
|
||||
}
|
||||
},
|
||||
|
||||
shader = {
|
||||
noiseTex = tu.makeTextureMipmapRepeat("terrain/noise.tga", false),
|
||||
textures = {
|
||||
{
|
||||
detailTex = tu.makeTextureMipmapClamp("terrain/grass_detail.tga", false),
|
||||
detailNrmlTex = tu.makeTextureMipmapClamp("terrain/grass_detail_nrml.tga", false),
|
||||
colorTex = tu.makeTextureLinearClamp("terrain/grass_colors.tga", false)
|
||||
}, {
|
||||
detailTex = tu.makeTextureMipmapRepeat("terrain/rock_detail.tga", false),
|
||||
detailNrmlTex = tu.makeTextureMipmapRepeat("terrain/rock_detail_nrml.tga", false),
|
||||
colorTex = tu.makeTextureLinearClamp("terrain/rock_colors.tga", false)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
skirt = {
|
||||
colorTex = tu.makeTextureMipmapClampVertical("terrain/skirt_color.tga", true),
|
||||
detailTex = tu.makeTextureMipmapRepeat("terrain/skirt_detail.tga", true),
|
||||
waterTex = tu.makeTextureMipmapClamp("terrain/water_skirt.tga", true)
|
||||
},
|
||||
|
||||
vegetation = {
|
||||
forestLevel = 0.7, -- 0.0 - 1.0
|
||||
forestDensity = 1.0, -- 0.25 - 4.0
|
||||
singleDensity = 2.0 -- 0.0 - 100.0
|
||||
}
|
||||
})
|
||||
|
||||
setConfig("environment", "/default", {
|
||||
name = _("European"),
|
||||
|
||||
light = {
|
||||
direction = { 1.1, 1.3, 1.05 },
|
||||
ambient = { 0.60, 0.60, 0.66 },
|
||||
diffuse = { 1.11, 1.11, 1.11 },
|
||||
specular = { 1.11, 1.11, 1.11 }
|
||||
},
|
||||
|
||||
fog = {
|
||||
color = { 0.31, 0.39, 0.44 }
|
||||
},
|
||||
|
||||
skyBox = {
|
||||
textures = {
|
||||
"skybox/0.tga",
|
||||
"skybox/90.tga",
|
||||
"skybox/180.tga",
|
||||
"skybox/270.tga",
|
||||
"skybox/top.tga",
|
||||
"skybox/bottom.tga"
|
||||
}
|
||||
},
|
||||
|
||||
envMap = {
|
||||
texture = "c.tga"
|
||||
}
|
||||
})
|
||||
|
||||
setConfig("nameList", "/default", { name = _("Default"), folder = "" })
|
||||
|
||||
setConfig("nameList", "/england", { name = _("English"), folder = "england" })
|
||||
setConfig("nameList", "/france", { name = _("French"), folder = "france" })
|
||||
setConfig("nameList", "/germany", { name = _("German"), folder = "germany" })
|
||||
setConfig("nameList", "/italy", { name = _("Italian"), folder = "italy" })
|
||||
setConfig("nameList", "/korea", { name = _("Korean"), folder = "korea" })
|
||||
setConfig("nameList", "/netherlands", { name = _("Dutch"), folder = "netherlands" })
|
||||
setConfig("nameList", "/norway", { name = _("Norwegian"), folder = "norway" })
|
||||
setConfig("nameList", "/russia", { name = _("Russian"), folder = "russia" })
|
||||
setConfig("nameList", "/spain", { name = _("Spain"), folder = "spain" })
|
||||
|
||||
game.config.costs.bulldozer = 1.0
|
||||
|
||||
game.config.enforceMainConnections = true
|
||||
game.config.maxIndustryProduction = 400 -- units per year
|
||||
game.config.townGrowthFactor = 1.0 -- 0.0 - 2.0
|
||||
|
||||
game.config.world = {
|
||||
areaPerTown = 10.0, -- km^2
|
||||
areaPerIndustry = 2.0, -- km^2
|
||||
townSizeFactor = 1.0 -- 0.5 - 2.0
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
|
||||
vegetation = {
|
||||
forestLevel = 0.7, -- 0.0 - 1.0
|
||||
forestDensity = 1.0, -- 0.25 - 4.0
|
||||
singleDensity = 2.0 -- 0.0 - 100.0
|
||||
}
|
||||
})
|
||||
|
||||
setConfig("environment", "/default", {
|
||||
name = _("European"),
|
||||
|
||||
light = {
|
||||
direction = { 1.1, 1.3, 1.05 },
|
||||
ambient = { 0.60, 0.60, 0.66 },
|
||||
diffuse = { 1.11, 1.11, 1.11 },
|
||||
specular = { 1.11, 1.11, 1.11 }
|
||||
},
|
||||
|
||||
fog = {
|
||||
color = { 0.31, 0.39, 0.44 }
|
||||
},
|
||||
|
||||
skyBox = {
|
||||
textures = {
|
||||
"skybox/0.tga",
|
||||
"skybox/90.tga",
|
||||
"skybox/180.tga",
|
||||
"skybox/270.tga",
|
||||
"skybox/top.tga",
|
||||
"skybox/bottom.tga"
|
||||
}
|
||||
},
|
||||
|
||||
envMap = {
|
||||
texture = "c.tga"
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue