Hallo zusammen!
Ich habe folgendes Problem: TPS generiert trotz einer base_config-Änderung immer noch Bäume auf einer frischerstellten Map. Aus Performance- und Schönbaugründen möchte ich das aber nicht…
Ich habe auch ein Maperstellungs-Tool genutzt, hier ein Screenshot:
Meine base_config hier (die gesamte Datei, ich weiß nicht, was da alles wo mit reinspielt):
Code: base_config.lua
local tu = require "texutil"
local ffu = require "filefilterutil"
game = {
config = { }
}
game.config.costs = {
-- per m^3
terrainRaise = 0.0,
terrainLower = 0.0,
-- fraction of road/track cost
railroadCatenary = .3,
roadBusLane = .1,
roadTramLane = .2,
roadElectricTramLane = .4,
-- fraction of build cost (for roads, tracks and constructions)
bulldozeCost = .125,
-- overall bulldozer cost scaling factor
bulldozer = 1.0,
removeField = 200000.0
}
game.config.cargotypes = {
{ id = "PASSENGERS", name = _("Passengers"), weight = 200.0 },
{ id = "LOGS", name = _("Logs"), weight = 1200.0 },
{ id = "LIVESTOCK", name = _("Livestock"), weight = 1200.0 },
{ id = "COAL", name = _("Coal"), weight = 1200.0 },
{ id = "IRON_ORE", name = _("Iron ore"), weight = 1200.0 },
{ id = "STONE", name = _("Stone"), weight = 1200.0 },
{ id = "GRAIN", name = _("Grain"), weight = 1200.0 },
{ id = "CRUDE", name = _("Crude oil"), weight = 1200.0 },
{ id = "STEEL", name = _("Steel"), weight = 1200.0 },
{ id = "PLANKS", name = _("Planks"), weight = 1200.0 },
{ id = "PLASTIC", name = _("Plastic"), weight = 1200.0 },
{ id = "SLAG", name = _("Slag"), weight = 1200.0 },
{ id = "OIL", name = _("Oil"), weight = 1200.0 },
{ id = "CONSTRUCTION_MATERIALS", name = _("Construction material"), weight = 1200.0 },
{ id = "MACHINES", name = _("Machines"), weight = 1200.0 },
{ id = "FUEL", name = _("Fuel"), weight = 1200.0 },
{ id = "TOOLS", name = _("Tools"), weight = 1200.0 },
{ id = "FOOD", name = _("Food"), weight = 1200.0 },
{ id = "GOODS", name = _("Goods"), weight = 1200.0 },
}
local defaultNormalMap = "default_normal_map.tga"
game.config.terrain = {
generator = {
ridgeTex = tu.makeTextureMipmapClamp("terrain/ridge.tga", false),
noiseScaleLow = 0.6, -- -10 - 10
noiseScaleHigh = 1.4, -- -10 - 10
ridgeScale0Low = 0.2, -- -4 - 4
ridgeScale0High = 0.4, -- -4 - 4
ridgeScale1Low = 0.5, -- -4 - 4
ridgeScale1High = 0.75, -- -4 - 4
ridgeMinHeight = 300.0, -- 0m - 1000m
ridgeMaxHeight = 575.0, -- 0m - 1000m
ridgeProbabilityLow = 0.6, -- 0 - 1
ridgeProbabilityHigh = 0.8, -- 0 - 1
ridgeMainValleyFactor = 1.0, -- 0 - 1
ridgePassFactor = 1.0, -- 0 - 1
},
groundTextures = {
waterGround = "water_ground",
waterShore = "water_shore",
--forestFloor = "forest_floor",
farmland = "farmland",
farmlandBorder = "farmland_border"
},
shader = {
noiseTex = tu.makeTextureMipmapRepeat("terrain/noise.tga", false),
levelColorTex = tu.makeTextureLinearClamp("terrain/level_colors.tga", false),
detailColorArrayTex = tu.makeTextureMipmapRepeat("terrain/detail_color.dds", true, true, false, "TWOD_ARRAY"),
detailNrmlArrayTex = tu.makeTextureMipmapRepeat("terrain/detail_nrml.dds", true, true, true, "TWOD_ARRAY"),
},
skirt = {
colorTex = tu.makeTextureMipmapClampVertical("terrain/skirt_color.tga", false),
detailTex = tu.makeTextureMipmapRepeat("terrain/skirt_detail.tga", true),
waterTex = tu.makeTextureMipmapClamp("terrain/water_skirt.tga", false)
},
vegetation = {
forestLevel = 0.00, -- 0.0 - 1.0
forestDensity = 1.00, -- 0.25 - 4.0
singleDensity = 0.0, -- 0.0 - 100.0
treeLine = 470.0
},
river = {
widthFactor = 1.0,
minWidth = -0.25, -- -0.9 - 0.0
maxWidth = 0.25, -- 0.0 - 10
allowSourceOnTerrain = false,
probability = 0.6, -- -0 - 1
},
valley = {
length = 40000, -- 10000 - 100000
curvature = 1.0,
width = 500.0, -- 0m - 2000m
lengthWidthFactor = 10.0, -- 0 - 100
probability0 = 0.333, -- 0 - 1
probability1 = 0.2, -- 0 - 1
extraValleyCount = 0, -- 0 - 100
zOffset = 0, -- -100m - 100m
},
}
game.config.environment = {
light = {
direction = { math.cos(math.rad(60.0)), math.sin(math.rad(60.0)), math.tan(math.rad(50.0)) },
pmremShadow = "env/shadow.hdr",
pmremSun = "env/sun.hdr",
refBrightness = 2.0
},
fog = {
color = { 0.55, 0.95, 1.05 }
},
skyBox = {
textures = {
"skybox/0.hdr",
"skybox/90.hdr",
"skybox/180.hdr",
"skybox/270.hdr",
"skybox/top.hdr",
"skybox/bottom.hdr"
}
},
envMap = {
texture = "c.tga"
}
}
game.config.nameList = {
folder = ""
}
game.config.earnAchievementsWithMods = true
game.config.industryButton = true
game.config.terrainToolMinRadius = 4
game.config.terrainToolMaxRadius = 48
game.config.terrainToolMinStrength = 10
game.config.terrainToolMaxStrength = 20
game.config.enforceMainConnections = false
game.config.townGrowthFactor = 1.0 -- .0 - 2.0 (factor to control town growth behaviour)
game.config.townGrowthExponent = 0.89 -- .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.simulateCargoWeight = true -- affects new games
game.config.simulateCargoWeightLegacy = false -- affects games created before cargo weight was introduced
game.config.townMajorStreetAngleRange = 10 -- angle within town major street directions are randomized (in degrees)
game.config.tramCatenaryYearFrom = 1875
game.config.trackCatenaryYearFrom = 1910
game.config.busLaneYearFrom = 1925
game.config.millisPerDay = 2000 -- default 2000 (milliseconds per day), 1000 - 8000 experimental
game.config.gui = {
bulldozer = {
defaultFillColor = { 1.0, 0.925, 0.5, 0.3 },
defaultBorderColor = { 1.0, 0.85, 0.0, 1.0 },
confirmFillColor = { 1.0, 0.925, 0.5, 0.5 },
confirmBorderColor = { 1.0, 0.85, 0.0, 1.0 }
}
}
game.config.audio = {
environment = {
lake = { name = "environment/Lake3.wav", refDist = 5.0 },
birds = { name = "environment/birds3.wav", refDist = 1.0 },
forest = { name = "environment/woods.wav", refDist = 5.0 },
meadow = { name = "environment/Meadow2.wav", refDist = 5.0 },
mountain = { name = "environment/Mountains3.wav", refDist = 5.0 },
commercial1850 = { name = "environment/Commercial_1850.wav", refDist = 5.0 },
commercial1920 = { name = "environment/Commercial_1920.wav", refDist = 5.0 },
commercial1990 = { name = "environment/Commercial_1990.wav", refDist = 5.0 },
industrial1850 = { name = "environment/Industrial_1850.wav", refDist = 5.0 },
industrial1920 = { name = "environment/Industrial_1920.wav", refDist = 5.0 },
industrial1990 = { name = "environment/Industrial_1990.wav", refDist = 5.0 },
residential1850 = { name = "environment/Residential_1850.wav", refDist = 5.0 },
residential1920 = { name = "environment/Residential_1920.wav", refDist = 5.0 },
residential1990 = { name = "environment/Residential_1990.wav", refDist = 5.0 },
crowd = { name = "environment/Crowd_large.wav", refDist = 5.0 },
traffic1920 = { name = "environment/traffic_1920.wav", refDist = 100.0 },
traffic1990 = { name = "environment/traffic_1990.wav", refDist = 100.0 },
atmosphere = { name = "environment/Wind.wav", refDist = 3500.0 }
},
music = {
["01 - Green.ogg"] = { yearFrom = 1850, yearTo = 1900 },
["02 - Fifth.ogg"] = { yearFrom = 1850, yearTo = 1906 },
["03 - Planet.ogg"] = { yearFrom = 1850, yearTo = 1912 },
["04 - Blues.ogg"] = { yearFrom = 1850, yearTo = 1918 },
["05 - Burnette.ogg"] = { yearFrom = 1850, yearTo = 1925 },
["06 - Left Side.ogg"] = { yearFrom = 1850, yearTo = 1931 },
["07 - Alley.ogg"] = { yearFrom = 1850, yearTo = 1937 },
["08 - Faster.ogg"] = { yearFrom = 1850, yearTo = 1943 },
["09 - Fleet.ogg"] = { yearFrom = 1850, yearTo = 1950 },
["10 - Chet.ogg"] = { yearFrom = 1850, yearTo = 1956 },
["11 - Kingston.ogg"] = { yearFrom = 1850, yearTo = 1962 },
["12 - Thirteen.ogg"] = { yearFrom = 1850, yearTo = 1968 },
["13 - Heaven.ogg"] = { yearFrom = 1850, yearTo = 1975 },
["14 - Juno.ogg"] = { yearFrom = 1850, yearTo = 1981 },
["15 - Alone.ogg"] = { yearFrom = 1850, yearTo = 1987 },
["16 - Bootsy.ogg"] = { yearFrom = 1900, yearTo = 1993 },
["17 - Ray.ogg"] = { yearFrom = 1906, yearTo = 2000 },
["18 - Soul.ogg"] = { yearFrom = 1912, yearTo = 0 },
["19 - Numbers.ogg"] = { yearFrom = 1918, yearTo = 0 },
["20 - Masters.ogg"] = { yearFrom = 1925, yearTo = 0 },
["21 - Mikro.ogg"] = { yearFrom = 1931, yearTo = 0 },
["22 - Fever.ogg"] = { yearFrom = 1937, yearTo = 0 },
["23 - Movie.ogg"] = { yearFrom = 1943, yearTo = 0 },
["24 - Nowhere.ogg"] = { yearFrom = 1950, yearTo = 0 },
["25 - Roach.ogg"] = { yearFrom = 1956, yearTo = 0 },
["26 - Quest.ogg"] = { yearFrom = 1962, yearTo = 0 },
["27 - Devo.ogg"] = { yearFrom = 1968, yearTo = 0 },
["28 - Sad.ogg"] = { yearFrom = 1975, yearTo = 0 },
["29 - Leave.ogg"] = { yearFrom = 1981, yearTo = 0 },
["30 - Long.ogg"] = { yearFrom = 1987, yearTo = 0 },
["31 - Dense.ogg"] = { yearFrom = 1993, yearTo = 0 },
["32 - Brody.ogg"] = { yearFrom = 2000, yearTo = 0 }
}
}
game.config.world = {
areaPerTown = 10.0, -- km^2
initialTownMinSize = 1.0, -- 0.5 - 2.0
initialTownMaxSize = 1.0, -- 0.5 - 2.0
initialTownSizeExponent = 2.0, -- 0.5 - 5.0
townSizeFactor = 0.1, -- 0.5 - 2.0
allowTownsInRoughTerrain = false,
areaPerIndustry = 5.0, -- km^2
makeInitialStreets = false, -- default true, false experimental
}
addFileFilter("model/vehicle", ffu.model.vehicle)
addFileFilter("model/tree", ffu.model.tree)
addFileFilter("model/industry", ffu.model.industry)
addFileFilter("model/other", ffu.model.other)
Alles anzeigen
Falls es hilft: Ich nutzte die neuste Steam-Version von TPF, einen MacBook Pro mit macOS 12.12.6…
Vielen Dank für eure Hilfe und danke für alle Antworten!
Mr.Clash