Placing modular cliffs type 1
This commit is contained in:
parent
564b9ccc4f
commit
e7a10e84f7
4 changed files with 207 additions and 32 deletions
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://mdsxnqsijdqv"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://mdsxnqsijdqv"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/materials/simple_grid_world.material" id="1_7h8rl"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7sga2ipka52x" path="res://maps/waypoint/waypoint.tscn" id="1_pv3e4"]
|
||||
[ext_resource type="PackedScene" uid="uid://bhb14kr7dfg4y" path="res://maps/objects/cliff_structure_result.tscn" id="3_wc10r"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_c6ybk"]
|
||||
|
||||
|
@ -107,119 +108,167 @@ mesh = SubResource( "PlaneMesh_c6ybk" )
|
|||
transform = Transform3D(1, 0, 0, 0, 0.1, 0, 0, 0, 1, 0, -0.1, 0)
|
||||
shape = SubResource( "BoxShape3D_h10vf" )
|
||||
|
||||
[node name="cliffs" type="Node3D" parent="."]
|
||||
[node name="cliffs_dummy" type="Node3D" parent="."]
|
||||
transform = Transform3D(50, 0, 0, 0, 0.984808, 8.68241, 0, -0.173648, 49.2404, 0, 0, 0)
|
||||
visible = false
|
||||
|
||||
[node name="Cliff_1" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_1" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(0.8, 0, 0, 0, 7.87846, -0.173648, 0, 0.0277837, 0.0196962, 0.283833, 2.91568, 1.0054)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_1"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_1"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_1/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_1/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_2" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_2" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(0.3, 0, 0, 0, 7.87846, -0.173648, 0, 0.0277837, 0.0196962, -0.331146, 3.71526, 1.00822)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_2"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_2"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_2/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_2/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_3" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_3" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(0.398547, 0.0094977, 0.0173008, 1.30549, 7.9653, -0.0871205, -0.693166, 0.0114615, 0.0098817, 0.749449, 2.95834, 0.666007)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_3"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_3"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_3/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_3/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_4" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_4" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(0.0673079, -0.00174581, 0.0199279, 0.537671, 7.99889, 0.00981427, -0.797091, 0.00201078, 0.00168538, 0.931043, 3.49838, 0.0237948)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_4"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_4"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_4/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_4/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_5" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_5" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(-0.425057, -0.0167403, 0.0169911, -0.46556, 7.94601, 0.115431, -0.703667, 0.0080092, -0.0102942, 0.752188, 3.49234, -0.612239)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_5"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_5"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_5/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_5/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_6" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_6" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(0.394317, 0, -0.0122973, 0.127702, 7.99972, 0.00655173, 0.307421, -0.00132927, 0.0157721, -0.671323, 3.77794, 0.852375)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_6"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_6"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_6/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_6/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_7" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_7" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(0.10325, -5.85692e-10, 0.0187782, -0.0319555, 7.99998, 0.000780895, -0.281672, -0.000363065, 0.00688334, -0.798363, 3.75862, 0.594279)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_7"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_7"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_7/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_7/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_8" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_8" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(0.249222, 0, 0.0111332, 0.059021, 7.9998, -0.00587209, -0.166993, 0.00113093, 0.0166144, -0.63497, 3.63165, 0.392238)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_8"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_8"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_8/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_8/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_9" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_9" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(-0.294902, 0, 0.0181385, -0.144043, 7.99992, -0.00191175, -0.634842, -0.000726093, -0.00842569, -0.664272, 3.4663, -0.00204863)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_9"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_9"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_9/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_9/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="Cliff_10" type="MeshInstance3D" parent="cliffs"]
|
||||
[node name="Cliff_10" type="MeshInstance3D" parent="cliffs_dummy"]
|
||||
transform = Transform3D(0.384078, 0, 0.0177362, 0.533169, 7.99916, -0.00668627, -0.736944, 0.00231488, 0.00924174, -0.654298, 3.8436, -0.611303)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = ExtResource( "1_7h8rl" )
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs/Cliff_10"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="cliffs_dummy/Cliff_10"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs/Cliff_10/StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="cliffs_dummy/Cliff_10/StaticBody3D"]
|
||||
shape = SubResource( "BoxShape3D_sky75" )
|
||||
|
||||
[node name="cliffs" type="Node3D" parent="."]
|
||||
|
||||
[node name="cliff_structure_result" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(0.000625648, -0.309259, -0.106275, 0.26842, 0.00289414, -0.000661928, 0.00208181, -0.280215, 0.117284, -33.9787, 8.14743, 42.0372)
|
||||
|
||||
[node name="cliff_structure_result6" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(0.000625648, 0.415602, 0.0144094, 0.268419, -0.00126332, 0.00118881, 0.00208181, 0.0379863, -0.157612, -21.0004, 23.9346, 48.6603)
|
||||
|
||||
[node name="cliff_structure_result2" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(0.058116, 0.406949, -0.00756825, 0.262061, -0.0902982, 0.00127901, -0.000662018, -0.0202128, -0.158087, 13.0748, 18.7469, 49.7366)
|
||||
|
||||
[node name="cliff_structure_result10" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(0.0433009, 0.00865171, -0.195065, 0.195256, -0.00242337, 0.0432359, -0.000493248, -0.199798, -0.00897115, 49.6419, 6.9355, -10.0086)
|
||||
|
||||
[node name="cliff_structure_result11" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(0.0720451, 0.00865171, -0.195065, 0.324871, -0.00242337, 0.0432359, -0.000820677, -0.199798, -0.00897115, -38.9682, 7.62793, -13.854)
|
||||
|
||||
[node name="cliff_structure_result12" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(0.0720451, -0.146458, -0.263207, 0.324871, 0.032145, 0.0591422, -0.000820679, -0.132351, 0.305627, -45.427, 15.9679, 41.7807)
|
||||
|
||||
[node name="cliff_structure_result13" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(-0.0598827, -0.148424, -0.263207, 0.307883, -0.0701158, 0.0591422, -0.11115, -0.114255, 0.305627, 33.6406, 18.2974, 53.9029)
|
||||
|
||||
[node name="cliff_structure_result14" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(-0.0598827, -0.194776, -0.056446, 0.307883, -0.0430751, 0.127334, -0.11115, -0.0143803, 0.383123, 42.961, -15.299, -41.1652)
|
||||
|
||||
[node name="cliff_structure_result15" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(-0.0159809, -0.176625, -0.190243, 0.307883, -0.0430751, 0.127334, -0.125239, -0.0833562, 0.337308, -41.1878, -7.79556, -39.0346)
|
||||
|
||||
[node name="cliff_structure_result3" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(-0.116174, 0.21081, -0.142508, 0.0379878, -0.00400716, -0.574538, -0.0684204, -0.360167, -0.0770195, 36.4111, 13.6401, 36.7749)
|
||||
|
||||
[node name="cliff_structure_result4" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(0.120364, -0.210428, 0.0513524, 0.0241602, 0.0531275, -0.583061, 0.0674505, 0.356475, 0.11721, -42.3304, 9.35771, 22.6139)
|
||||
|
||||
[node name="cliff_structure_result5" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(0.0598937, -0.0263601, -0.241284, 0.100707, 0.228819, 0, 0.220841, -0.0971956, 0.0654378, -40.0169, 9.38668, -2.42343)
|
||||
|
||||
[node name="cliff_structure_result7" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(-0.0233705, -0.00500097, 0.240978, -0.248686, 0.0109646, -0.0224019, -0.0104516, -0.249709, -0.00580975, 49.5391, 8.94091, 9.74865)
|
||||
|
||||
[node name="cliff_structure_result8" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(-0.00495775, 0.134257, 0.22702, -0.242023, -0.0933285, 0.016615, 0.0624517, -0.351024, 0.0824113, -39.7038, 1.14961, -27.8851)
|
||||
|
||||
[node name="cliff_structure_result9" parent="cliffs" instance=ExtResource( "3_wc10r" )]
|
||||
transform = Transform3D(-0.00495775, 0.119993, -0.230121, -0.242023, 0.0896849, 0.0231663, 0.0624517, 0.357087, 0.0715096, 39.7767, -0.383574, -27.5171)
|
||||
|
||||
[node name="terrace_baths" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(38.9127, 0.272589, -7.87885, -1.40017, 7.9951, 0, 9.15628, 0.0641409, 33.4838, -21.9013, 4.39389, 28.2741)
|
||||
mesh = SubResource( "BoxMesh_reijy" )
|
||||
|
|
93
maps/imports/cliff_structure_result.gltf
Normal file
93
maps/imports/cliff_structure_result.gltf
Normal file
File diff suppressed because one or more lines are too long
28
maps/imports/cliff_structure_result.gltf.import
Normal file
28
maps/imports/cliff_structure_result.gltf.import
Normal file
|
@ -0,0 +1,28 @@
|
|||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://c47vb2a3sxlgq"
|
||||
path="res://.godot/imported/cliff_structure_result.gltf-19200063e098dafc1ea98ab8f16915a4.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://maps/imports/cliff_structure_result.gltf"
|
||||
dest_files=["res://.godot/imported/cliff_structure_result.gltf-19200063e098dafc1ea98ab8f16915a4.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/root_scale=1.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.1
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
import_script/path=""
|
||||
_subresources={}
|
5
maps/objects/cliff_structure_result.tscn
Normal file
5
maps/objects/cliff_structure_result.tscn
Normal file
|
@ -0,0 +1,5 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://bhb14kr7dfg4y"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c47vb2a3sxlgq" path="res://maps/imports/cliff_structure_result.gltf" id="1_3ruwo"]
|
||||
|
||||
[node name="cliff_structure_result" instance=ExtResource( "1_3ruwo" )]
|
Loading…
Reference in a new issue