80 lines
3.6 KiB
Text
80 lines
3.6 KiB
Text
[gd_scene load_steps=17 format=3 uid="uid://bwcevwwphdvq"]
|
|
|
|
[ext_resource type="Script" uid="uid://bq7hia2dit80y" path="res://Entities/GroundTile/ground_tile.gd" id="1_uwxqs"]
|
|
[ext_resource type="PackedScene" uid="uid://ckesk3bs6g7tt" path="res://Stages/Test3D/assets/fish.glb" id="2_h4g11"]
|
|
[ext_resource type="ArrayMesh" uid="uid://duj6747nq4qsk" path="res://Stages/Test3D/assets/stylizedGrassMeshes/grass.res" id="3_8mhad"]
|
|
[ext_resource type="Script" uid="uid://cacp8ncwuofuj" path="res://Entities/GroundTile/scripts/grass.gd" id="3_224hx"]
|
|
[ext_resource type="Material" uid="uid://b1miqvl8lus75" path="res://Stages/Test3D/GrassMaterialOverride.tres" id="3_f37ob"]
|
|
[ext_resource type="Script" uid="uid://btju6b83mvgvk" path="res://Entities/GroundTile/scripts/grass_multimesh.gd" id="4_3wpcb"]
|
|
[ext_resource type="PackedScene" uid="uid://dgvycnw8hpebx" path="res://Entities/Tree/assets/tree-tall.glb" id="6_7lc7k"]
|
|
[ext_resource type="Script" uid="uid://cqko4m7cbxsfb" path="res://Entities/GroundTile/scripts/trees.gd" id="7_7lc7k"]
|
|
[ext_resource type="PackedScene" uid="uid://bwhpbjdyl577e" path="res://Entities/Tree/assets/tree.glb" id="8_ot4p5"]
|
|
[ext_resource type="PackedScene" uid="uid://bwdibgbi3ycqn" path="res://Entities/Tree/assets/tree-autumn-tall.glb" id="12_4hjaq"]
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_h4g11"]
|
|
viewport_path = NodePath("DebugText/DebugTextViewport")
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f37ob"]
|
|
albedo_color = Color(0.133333, 0.576471, 0.47451, 1)
|
|
metallic = 1.0
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_oqd8f"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_h4g11"]
|
|
size = Vector3(2, 2, 2)
|
|
|
|
[sub_resource type="MultiMesh" id="MultiMesh_3wpcb"]
|
|
transform_format = 1
|
|
mesh = ExtResource("3_8mhad")
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_f37ob"]
|
|
flip_faces = true
|
|
|
|
[node name="GroundTile" type="Node3D"]
|
|
script = ExtResource("1_uwxqs")
|
|
|
|
[node name="DebugText" type="Node3D" parent="."]
|
|
|
|
[node name="DebugTextViewport" type="SubViewport" parent="DebugText"]
|
|
size = Vector2i(50, 50)
|
|
|
|
[node name="DebugTextLabel" type="Label" parent="DebugText/DebugTextViewport"]
|
|
offset_right = 40.0
|
|
offset_bottom = 23.0
|
|
text = "Hello world"
|
|
|
|
[node name="DebugTextBillboard" type="Sprite3D" parent="DebugText"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0461426, 0.199493, 0.0660986)
|
|
texture = SubResource("ViewportTexture_h4g11")
|
|
|
|
[node name="Ground" type="MeshInstance3D" parent="."]
|
|
material_override = SubResource("StandardMaterial3D_f37ob")
|
|
cast_shadow = 0
|
|
mesh = SubResource("PlaneMesh_oqd8f")
|
|
|
|
[node name="GroundCollision" type="StaticBody3D" parent="Ground"]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/GroundCollision"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
|
shape = SubResource("BoxShape3D_h4g11")
|
|
|
|
[node name="fish2" parent="." instance=ExtResource("2_h4g11")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00713956, 0, 0.0313604)
|
|
visible = false
|
|
|
|
[node name="Grass" type="Node3D" parent="."]
|
|
script = ExtResource("3_224hx")
|
|
|
|
[node name="GrassMultimesh" type="MultiMeshInstance3D" parent="Grass"]
|
|
material_override = ExtResource("3_f37ob")
|
|
cast_shadow = 0
|
|
multimesh = SubResource("MultiMesh_3wpcb")
|
|
script = ExtResource("4_3wpcb")
|
|
|
|
[node name="GrassTarget" type="MeshInstance3D" parent="Grass"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0111763, 0)
|
|
mesh = SubResource("PlaneMesh_f37ob")
|
|
|
|
[node name="Trees" type="Node3D" parent="."]
|
|
script = ExtResource("7_7lc7k")
|
|
tree_scenes = Array[PackedScene]([ExtResource("8_ot4p5"), ExtResource("6_7lc7k"), ExtResource("12_4hjaq"), ExtResource("8_ot4p5"), ExtResource("8_ot4p5"), ExtResource("8_ot4p5"), ExtResource("8_ot4p5")])
|