From 237fffeb39c065130d320b8b5feba5905c2c7a8a Mon Sep 17 00:00:00 2001 From: Teatov Date: Mon, 14 Oct 2024 15:21:47 +1000 Subject: [PATCH] remove `Anthill.tscn` and leave `anthill.tscn` --- scenes/structures/anthill.tscn | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 scenes/structures/anthill.tscn diff --git a/scenes/structures/anthill.tscn b/scenes/structures/anthill.tscn new file mode 100644 index 0000000..49923bf --- /dev/null +++ b/scenes/structures/anthill.tscn @@ -0,0 +1,40 @@ +[gd_scene load_steps=7 format=3 uid="uid://clftjlaotf2g2"] + +[ext_resource type="Script" path="res://scripts/anthill.gd" id="1_8k02d"] +[ext_resource type="Material" uid="uid://f0nlf4tdpvbd" path="res://resources/materials/indicators/hover_indicator_mat.tres" id="2_44p2d"] +[ext_resource type="Script" path="res://scripts/sound_effects_player.gd" id="3_vp3nf"] + +[sub_resource type="CapsuleMesh" id="CapsuleMesh_x8apu"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_ruupa"] + +[sub_resource type="QuadMesh" id="QuadMesh_2gykr"] +material = ExtResource("2_44p2d") +center_offset = Vector3(0, 0.001, 0) +orientation = 1 + +[node name="Anthill" type="CharacterBody3D"] +collision_mask = 0 +script = ExtResource("1_8k02d") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +mesh = SubResource("CapsuleMesh_x8apu") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) +shape = SubResource("BoxShape3D_ruupa") + +[node name="UiOrigin" type="Marker3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.15587, 0) + +[node name="HoverIndicator" type="MeshInstance3D" parent="."] +transform = Transform3D(1.62268, 0, 0, 0, 1.62268, 0, 0, 0, 1.62268, 0, 0, 0) +cast_shadow = 0 +mesh = SubResource("QuadMesh_2gykr") + +[node name="NavigationObstacle3D" type="NavigationObstacle3D" parent="."] +radius = 0.57 + +[node name="SoundEffectsPlayer" type="AudioStreamPlayer3D" parent="."] +unit_size = 20.0 +script = ExtResource("3_vp3nf") \ No newline at end of file