Promote debug/HexDiamondIsland.gd to terrain.gd at project root now that main.tscn depends on it, and swap it in for the old flat checkerboard Ground (Player/Camera/POI untouched, table sits at the same y=0 the old ground surface used). Add _build_region_borders(): places mountain.glb/mountain2v5.glb/ forest.glb (same models, scale factors and hitbox sizes already used elsewhere in main.tscn) continuously along the 6 ridges between table corners and girdle corners, i.e. the shared edges between adjacent outer regions.
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" uid="uid://bia8axed2ndwj" path="res://debug/FreeCam.gd" id="1_freecam"]
|
|
[ext_resource type="Script" uid="uid://cpo34pbk0145n" path="res://terrain.gd" id="2_hexdi"]
|
|
|
|
[sub_resource type="Environment" id="Environment_hexdi"]
|
|
background_mode = 1
|
|
background_color = Color(0.16470589, 0.25490198, 0.36078432, 1)
|
|
ambient_light_source = 2
|
|
ambient_light_color = Color(0.23529412, 0.25490198, 0.29411766, 1)
|
|
ambient_light_energy = 0.8
|
|
|
|
[node name="HexDiamondIsland" type="Node3D"]
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_hexdi")
|
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(0.8660254, -0.35355338, 0.35355338, 0, 0.70710677, 0.70710677, -0.5, -0.6123724, 0.6123724, 0, 0, 0)
|
|
light_energy = 1.2
|
|
|
|
[node name="FlyCamera" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.92718387, 0.3746066, 0, -0.3746066, 0.92718387, 0, 120, 350)
|
|
script = ExtResource("1_freecam")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="FlyCamera"]
|
|
fov = 65.0
|
|
near = 0.1
|
|
far = 1000.0
|
|
|
|
[node name="HexDiamondIsland" type="Node3D" parent="."]
|
|
script = ExtResource("2_hexdi")
|