Improve road curve smoothness (C1 sin^2 curve) and crisp road surface/curb contrast

This commit is contained in:
2026-11-09 21:34:29 +01:00
parent 4685451afe
commit eaa847ac27
3 changed files with 77 additions and 88 deletions
+19 -19
View File
@@ -1,7 +1,7 @@
# Road System Configuration
default_road_type: "dirt"
build_duration_ticks: 2
meander_amplitude: 0.065
meander_amplitude: 0.025
meander_subdivisions: 6
types:
@@ -9,35 +9,35 @@ types:
id: "dirt"
name: "Dirt Road"
speed_multiplier: 1.30 # +30% movement speed
color: "#c49a62"
border_color: "#6b4b23"
color: "#d8b480"
border_color: "#52381c"
width: 3.5
world_width: 0.068
border_width: 0.022
texture_scale: 2.4
opacity: 0.90
world_width: 0.056
border_width: 0.012
texture_scale: 4.5
opacity: 0.96
cost: 5
stone:
id: "stone"
name: "Stone Road"
speed_multiplier: 1.60 # +60% movement speed
color: "#9aa1a8"
border_color: "#464b50"
color: "#c2beb6"
border_color: "#46484c"
width: 4.0
world_width: 0.078
border_width: 0.020
texture_scale: 2.8
opacity: 0.94
world_width: 0.064
border_width: 0.012
texture_scale: 5.5
opacity: 0.98
cost: 15
rail:
id: "rail"
name: "Railroad"
speed_multiplier: 2.50 # +150% movement speed
color: "#3a3c40"
border_color: "#181a1c"
color: "#4a4e54"
border_color: "#22252a"
width: 4.5
world_width: 0.086
border_width: 0.024
texture_scale: 3.0
opacity: 0.96
world_width: 0.070
border_width: 0.014
texture_scale: 6.0
opacity: 0.98
cost: 30