updated to godot 4.6
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://dtahuv0kpxx03"]
|
||||
[gd_scene format=3 uid="uid://dtahuv0kpxx03"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ejqql2660u6h" path="res://Worlds/GreenPlanet/Enemies/enemy_controller.gd" id="1_8k5ts"]
|
||||
[ext_resource type="Resource" uid="uid://cvehqh4tt28g7" path="res://Enemies/BabyEyeDog/baby_eye_dog.tres" id="2_8v4n0"]
|
||||
[ext_resource type="PackedScene" uid="uid://canrxnpxcugc2" path="res://Scenes/corpse.tscn" id="2_vl30x"]
|
||||
[ext_resource type="Script" uid="uid://cummt2be3r1gq" path="res://Scripts/hitbox.gd" id="5_f7xim"]
|
||||
[ext_resource type="Texture2D" uid="uid://b1fn60m6xfcsq" path="res://Assets/Textures/minimap_enemy.png" id="6_lbm5h"]
|
||||
@@ -18,30 +19,31 @@ radius = 0.150315
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_1kwxq"]
|
||||
viewport_path = NodePath("SubViewport")
|
||||
|
||||
[node name="BabyEyeDog" type="CharacterBody3D" node_paths=PackedStringArray("status_manager", "movement_controller", "d_n") groups=["Enemies"]]
|
||||
[node name="BabyEyeDog" type="CharacterBody3D" unique_id=1710427344 node_paths=PackedStringArray("status_manager", "movement_controller", "d_n") groups=["Enemies"]]
|
||||
collision_layer = 4
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_8k5ts")
|
||||
stats = ExtResource("2_8v4n0")
|
||||
status_manager = NodePath("StatusEffector")
|
||||
movement_controller = NodePath("PathingController")
|
||||
d_n = NodePath("Node3D")
|
||||
corpse_scene = ExtResource("2_vl30x")
|
||||
metadata/_custom_type_script = "uid://ejqql2660u6h"
|
||||
|
||||
[node name="Hitbox" type="CollisionShape3D" parent="."]
|
||||
[node name="Hitbox" type="CollisionShape3D" parent="." unique_id=351984421]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.195078, -0.0104714)
|
||||
shape = SubResource("SphereShape3D_cavbv")
|
||||
script = ExtResource("5_f7xim")
|
||||
metadata/_custom_type_script = "uid://cummt2be3r1gq"
|
||||
|
||||
[node name="Hitbox2" type="CollisionShape3D" parent="."]
|
||||
[node name="Hitbox2" type="CollisionShape3D" parent="." unique_id=2083525576]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.368244, -0.278334)
|
||||
shape = SubResource("SphereShape3D_h25mw")
|
||||
script = ExtResource("5_f7xim")
|
||||
critical_zone = true
|
||||
metadata/_custom_type_script = "uid://cummt2be3r1gq"
|
||||
|
||||
[node name="HealthBar" type="Sprite3D" parent="."]
|
||||
[node name="HealthBar" type="Sprite3D" parent="." unique_id=395203513]
|
||||
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 1.20821, 0)
|
||||
sorting_offset = 1.0
|
||||
pixel_size = 0.02
|
||||
@@ -49,72 +51,71 @@ billboard = 1
|
||||
texture_filter = 0
|
||||
texture = SubResource("ViewportTexture_1kwxq")
|
||||
|
||||
[node name="MinimapIcon" type="Sprite3D" parent="."]
|
||||
[node name="MinimapIcon" type="Sprite3D" parent="." unique_id=1801259501]
|
||||
transform = Transform3D(2, 0, 0, 0, -8.74228e-08, 2, 0, -2, -8.74228e-08, 0, 1.40824, 0)
|
||||
layers = 4
|
||||
texture_filter = 0
|
||||
texture = ExtResource("6_lbm5h")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="."]
|
||||
[node name="SubViewport" type="SubViewport" parent="." unique_id=1822622469]
|
||||
transparent_bg = true
|
||||
size = Vector2i(200, 55)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="SubViewport"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="SubViewport" unique_id=656248491]
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_bottom = 32.0
|
||||
grow_horizontal = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="HealthBar" parent="SubViewport" instance=ExtResource("7_o1784")]
|
||||
[node name="HealthBar" parent="SubViewport" unique_id=1254019741 instance=ExtResource("7_o1784")]
|
||||
visible = false
|
||||
offset_top = 36.0
|
||||
offset_bottom = 236.0
|
||||
|
||||
[node name="PathingController" type="Node" parent="." node_paths=PackedStringArray("character")]
|
||||
[node name="PathingController" type="Node" parent="." unique_id=1152836344 node_paths=PackedStringArray("character")]
|
||||
script = ExtResource("8_1fak8")
|
||||
character = NodePath("..")
|
||||
|
||||
[node name="StatusEffector" type="Node" parent="." node_paths=PackedStringArray("sprite_container")]
|
||||
[node name="StatusEffector" type="Node" parent="." unique_id=543205992 node_paths=PackedStringArray("sprite_container")]
|
||||
script = ExtResource("9_yrbee")
|
||||
sprite_container = NodePath("../SubViewport/HBoxContainer")
|
||||
metadata/_custom_type_script = "uid://cojjgevmbhwal"
|
||||
|
||||
[node name="Node3D" type="Node3D" parent="."]
|
||||
[node name="Node3D" type="Node3D" parent="." unique_id=2075469733]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.39813, 0)
|
||||
|
||||
[node name="baby_eyedog" parent="." instance=ExtResource("10_8k5ts")]
|
||||
[node name="baby_eyedog" parent="." unique_id=284376992 instance=ExtResource("10_8k5ts")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
|
||||
|
||||
[node name="Skeleton3D" parent="baby_eyedog/Armature" index="0"]
|
||||
bones/1/rotation = Quaternion(-0.468485, 0.0340623, 0.0227304, 0.882522)
|
||||
bones/3/rotation = Quaternion(0.205937, 0.0447436, 0.771376, 0.600473)
|
||||
bones/4/rotation = Quaternion(0.167593, 0.670881, 0.232675, 0.683881)
|
||||
bones/5/rotation = Quaternion(0.217808, 0.0665955, 0.266024, 0.936673)
|
||||
bones/6/rotation = Quaternion(0.360843, 0.0230075, 0.073477, 0.929443)
|
||||
bones/7/rotation = Quaternion(0.211303, -0.233647, -0.637125, 0.703443)
|
||||
bones/8/rotation = Quaternion(0.224122, -0.711587, -0.156808, 0.647166)
|
||||
bones/9/rotation = Quaternion(0.174333, -0.0933503, -0.20701, 0.958144)
|
||||
bones/10/rotation = Quaternion(0.284589, -0.0334567, -0.0330428, 0.957496)
|
||||
bones/11/position = Vector3(-0.100312, 0.0420758, 0.0808084)
|
||||
bones/13/rotation = Quaternion(-0.360764, -0.237006, 0.795331, 0.425589)
|
||||
bones/14/rotation = Quaternion(-0.196576, -0.553293, -0.0681959, 0.806581)
|
||||
bones/15/rotation = Quaternion(0.304636, 0.00165328, 0.265013, 0.914856)
|
||||
bones/16/rotation = Quaternion(0.30728, 0.0270259, 0.0530331, 0.949756)
|
||||
bones/17/rotation = Quaternion(-0.196513, 0.334849, -0.676991, 0.625253)
|
||||
bones/18/rotation = Quaternion(-0.308738, 0.575292, 0.22907, 0.721974)
|
||||
bones/19/rotation = Quaternion(0.374191, 0.0339708, -0.346235, 0.859621)
|
||||
bones/20/rotation = Quaternion(0.393702, -0.0142134, -0.103737, 0.913255)
|
||||
bones/21/rotation = Quaternion(0.430517, -1.05207e-07, -5.57264e-08, 0.902582)
|
||||
bones/22/position = Vector3(-0.247591, 0.0214787, 0.221024)
|
||||
bones/22/scale = Vector3(0.893472, 1, 1)
|
||||
bones/23/position = Vector3(0.146719, 0.0404748, 0.468044)
|
||||
bones/23/scale = Vector3(0.893472, 1, 1)
|
||||
bones/24/position = Vector3(0.184922, 0.0228077, -0.271657)
|
||||
[node name="Skeleton3D" parent="baby_eyedog/Armature" parent_id_path=PackedInt32Array(284376992, 1039790689) index="0" unique_id=65566848]
|
||||
bones/1/rotation = Quaternion(-0.43930408, -1.0709029e-07, 5.2369124e-08, 0.89833844)
|
||||
bones/3/rotation = Quaternion(0.23378512, 0.32485124, 0.5427555, 0.7383988)
|
||||
bones/4/rotation = Quaternion(0.2025959, 0.7308365, 0.13344719, 0.637985)
|
||||
bones/5/rotation = Quaternion(0.08071687, 0.11379393, 0.103388034, 0.98480797)
|
||||
bones/6/rotation = Quaternion(0.18970048, 0.045550477, -0.014727625, 0.9806743)
|
||||
bones/7/rotation = Quaternion(0.21259236, -0.040924743, -0.77614677, 0.5922212)
|
||||
bones/8/rotation = Quaternion(0.14559563, -0.673764, -0.22377312, 0.68903524)
|
||||
bones/9/rotation = Quaternion(0.21457952, -0.06795216, -0.27383056, 0.9350695)
|
||||
bones/10/rotation = Quaternion(0.36169595, -0.022981033, -0.07378154, 0.9290878)
|
||||
bones/11/position = Vector3(-0.18218139, 0.024974564, -0.29701275)
|
||||
bones/13/rotation = Quaternion(-0.19031386, -0.3437138, 0.6673053, 0.6327283)
|
||||
bones/14/rotation = Quaternion(-0.31594613, -0.57630664, -0.23705915, 0.71543807)
|
||||
bones/15/rotation = Quaternion(0.36767012, -0.03635548, 0.34470242, 0.8629468)
|
||||
bones/16/rotation = Quaternion(0.39200988, 0.014128355, 0.1034986, 0.91401124)
|
||||
bones/17/rotation = Quaternion(-0.41564333, 0.23491889, -0.8066817, 0.34830806)
|
||||
bones/18/rotation = Quaternion(-0.15507148, 0.54643595, 0.03793797, 0.8221443)
|
||||
bones/19/rotation = Quaternion(0.16323948, -0.017942403, -0.15406615, 0.97431755)
|
||||
bones/20/rotation = Quaternion(0.20094736, -0.03854681, -0.0018878406, 0.9788416)
|
||||
bones/22/position = Vector3(-0.1285572, 0.015959304, 0.5192608)
|
||||
bones/22/scale = Vector3(0.89347196, 1, 1)
|
||||
bones/23/position = Vector3(0.25597548, 0.022818465, 0.20058686)
|
||||
bones/23/scale = Vector3(0.89347196, 1, 1)
|
||||
bones/24/position = Vector3(0.08454189, 0.014853473, 0.12984678)
|
||||
|
||||
[node name="AnimationPlayer" parent="baby_eyedog" index="1"]
|
||||
autoplay = "Walk"
|
||||
[node name="AnimationPlayer" parent="baby_eyedog" index="1" unique_id=101655042]
|
||||
autoplay = &"Walk"
|
||||
|
||||
[connection signal="recieved_effect" from="Hitbox" to="StatusEffector" method="add_effect"]
|
||||
[connection signal="took_damage" from="Hitbox" to="." method="take_damage"]
|
||||
|
||||
Reference in New Issue
Block a user