2025-09-01 16:06:24 -06:00
|
|
|
[gd_scene load_steps=19 format=3 uid="uid://brrd33217oplv"]
|
2025-08-30 00:12:41 -06:00
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cyqr1ojnddyk0" path="res://assets/npc/shambler/shambler.gltf" id="1_uiw1a"]
|
|
|
|
[ext_resource type="Material" uid="uid://7xrgrvf3lymv" path="res://assets/npc/shambler/shambler.material" id="2_nayyt"]
|
2025-08-30 18:42:35 -06:00
|
|
|
[ext_resource type="Script" uid="uid://bueq1q2qva7gs" path="res://src/world/grunk_beast/shambler/shambler.gd" id="2_s7rwx"]
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_s7rwx"]
|
|
|
|
_limits = [0.0, 1.0, 0.0, 10.0]
|
|
|
|
_data = [Vector2(0, 0), 0.0, 0.230666, 0, 0, Vector2(5, 1), 0.0, 0.0, 0, 0, Vector2(10, 1), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 3
|
|
|
|
|
2025-09-01 16:06:24 -06:00
|
|
|
[sub_resource type="Curve" id="Curve_xyfav"]
|
|
|
|
_limits = [0.0, 1.0, 0.0, 10.0]
|
|
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_lqi3b"]
|
|
|
|
_limits = [0.0, 4.0, 0.0, 10.0]
|
|
|
|
_data = [Vector2(0, 0), 0.0, 0.924, 0, 0, Vector2(4.36728, 4), 0.0, 0.0, 0, 0, Vector2(10, 4), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 3
|
|
|
|
|
2025-08-30 18:42:35 -06:00
|
|
|
[sub_resource type="Curve" id="Curve_vmxrd"]
|
|
|
|
_limits = [0.0, 3.0, 0.0, 10.0]
|
|
|
|
_data = [Vector2(4, 1), 0.141612, 0.141612, 0, 0, Vector2(5, 1.2), 0.327899, 0.327899, 0, 0, Vector2(10, 3), 0.392484, 0.0, 0, 0]
|
|
|
|
point_count = 3
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_elp7k"]
|
|
|
|
_limits = [0.0, 6.0, 0.0, 10.0]
|
|
|
|
_data = [Vector2(2, 1), 0.0, 0.0, 0, 0, Vector2(4, 3), 0.953378, 0.953378, 0, 0, Vector2(10, 6), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 3
|
2025-08-30 00:12:41 -06:00
|
|
|
|
2025-09-01 16:06:24 -06:00
|
|
|
[sub_resource type="AnimationNodeTimeScale" id="AnimationNodeTimeScale_s7rwx"]
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeTimeScale" id="AnimationNodeTimeScale_vmxrd"]
|
|
|
|
|
2025-08-30 00:12:41 -06:00
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_nayyt"]
|
|
|
|
animation = &"idle"
|
|
|
|
|
2025-08-30 18:42:35 -06:00
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_nayyt"]
|
|
|
|
|
2025-09-01 16:06:24 -06:00
|
|
|
[sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_lqi3b"]
|
2025-08-30 18:42:35 -06:00
|
|
|
|
2025-09-01 16:06:24 -06:00
|
|
|
[sub_resource type="AnimationNodeTimeScale" id="AnimationNodeTimeScale_elp7k"]
|
2025-08-30 18:42:35 -06:00
|
|
|
|
2025-09-01 16:06:24 -06:00
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_s7rwx"]
|
|
|
|
animation = &"walk_front"
|
2025-08-30 00:12:41 -06:00
|
|
|
|
2025-09-01 16:06:24 -06:00
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_elp7k"]
|
|
|
|
animation = &"walk_rear"
|
2025-08-30 00:12:41 -06:00
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_nayyt"]
|
2025-09-01 16:06:24 -06:00
|
|
|
graph_offset = Vector2(-931.897, 18.4586)
|
|
|
|
nodes/anim_scale/node = SubResource("AnimationNodeTimeScale_s7rwx")
|
|
|
|
nodes/anim_scale/position = Vector2(280, 140)
|
|
|
|
nodes/front_scale/node = SubResource("AnimationNodeTimeScale_vmxrd")
|
|
|
|
nodes/front_scale/position = Vector2(-460, 220)
|
2025-08-30 00:12:41 -06:00
|
|
|
nodes/idle_anim/node = SubResource("AnimationNodeAnimation_nayyt")
|
2025-08-30 18:42:35 -06:00
|
|
|
nodes/idle_anim/position = Vector2(-460, 20)
|
2025-09-01 16:06:24 -06:00
|
|
|
nodes/idle_blend/node = SubResource("AnimationNodeBlend2_nayyt")
|
|
|
|
nodes/idle_blend/position = Vector2(-220, 120)
|
2025-08-30 18:42:35 -06:00
|
|
|
nodes/output/position = Vector2(500, 160)
|
2025-09-01 16:06:24 -06:00
|
|
|
nodes/rear_add/node = SubResource("AnimationNodeAdd2_lqi3b")
|
|
|
|
nodes/rear_add/position = Vector2(60, 180)
|
|
|
|
nodes/rear_scale/node = SubResource("AnimationNodeTimeScale_elp7k")
|
|
|
|
nodes/rear_scale/position = Vector2(-200, 400)
|
|
|
|
nodes/walk_front/node = SubResource("AnimationNodeAnimation_s7rwx")
|
|
|
|
nodes/walk_front/position = Vector2(-680, 220)
|
|
|
|
nodes/walk_rear/node = SubResource("AnimationNodeAnimation_elp7k")
|
|
|
|
nodes/walk_rear/position = Vector2(-460, 440)
|
|
|
|
node_connections = [&"anim_scale", 0, &"rear_add", &"front_scale", 0, &"walk_front", &"idle_blend", 0, &"idle_anim", &"idle_blend", 1, &"front_scale", &"output", 0, &"anim_scale", &"rear_add", 0, &"idle_blend", &"rear_add", 1, &"rear_scale", &"rear_scale", 0, &"walk_rear"]
|
2025-08-30 18:42:35 -06:00
|
|
|
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_s7rwx"]
|
2025-08-30 00:12:41 -06:00
|
|
|
|
|
|
|
[node name="Shambler" instance=ExtResource("1_uiw1a")]
|
2025-08-30 18:42:35 -06:00
|
|
|
script = ExtResource("2_s7rwx")
|
2025-09-01 16:06:24 -06:00
|
|
|
idle_blend_curve = SubResource("Curve_s7rwx")
|
|
|
|
rear_blend_curve = SubResource("Curve_xyfav")
|
|
|
|
rear_scale_curve = SubResource("Curve_lqi3b")
|
2025-08-30 18:42:35 -06:00
|
|
|
walk_scale_curve = SubResource("Curve_vmxrd")
|
|
|
|
look_accel_curve = SubResource("Curve_elp7k")
|
|
|
|
|
|
|
|
[node name="Armature" parent="." index="0"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
|
|
|
|
top_level = true
|
2025-08-30 00:12:41 -06:00
|
|
|
|
|
|
|
[node name="Shambler" parent="Armature/Skeleton3D" index="0"]
|
|
|
|
surface_material_override/0 = ExtResource("2_nayyt")
|
|
|
|
|
2025-08-30 18:42:35 -06:00
|
|
|
[node name="LookIK" type="LookAtModifier3D" parent="Armature/Skeleton3D" index="1"]
|
|
|
|
target_node = NodePath("../../../LookTargetPivot/LookTarget")
|
|
|
|
bone_name = "Spine.005"
|
|
|
|
bone = 5
|
|
|
|
forward_axis = 2
|
|
|
|
primary_rotation_axis = 2
|
|
|
|
use_secondary_rotation = false
|
|
|
|
use_angle_limitation = true
|
|
|
|
symmetry_limitation = true
|
|
|
|
primary_limit_angle = 1.5708
|
|
|
|
primary_damp_threshold = 0.7
|
|
|
|
|
|
|
|
[node name="ArmLIK" type="LookAtModifier3D" parent="Armature/Skeleton3D" index="2"]
|
|
|
|
bone_name = "Arm.L.002"
|
|
|
|
bone = 8
|
|
|
|
forward_axis = 2
|
|
|
|
primary_rotation_axis = 2
|
|
|
|
|
|
|
|
[node name="ArmRIK" type="LookAtModifier3D" parent="Armature/Skeleton3D" index="3"]
|
|
|
|
bone_name = "Arm.R.002"
|
|
|
|
bone = 11
|
|
|
|
forward_axis = 2
|
|
|
|
primary_rotation_axis = 2
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" parent="." index="1"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
2025-08-30 00:12:41 -06:00
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
|
2025-08-30 18:42:35 -06:00
|
|
|
unique_name_in_owner = true
|
|
|
|
root_node = NodePath("%AnimationTree/..")
|
2025-08-30 00:12:41 -06:00
|
|
|
tree_root = SubResource("AnimationNodeBlendTree_nayyt")
|
|
|
|
anim_player = NodePath("../AnimationPlayer")
|
2025-09-01 16:06:24 -06:00
|
|
|
parameters/anim_scale/scale = 1.0
|
|
|
|
parameters/front_scale/scale = 1.0
|
|
|
|
parameters/idle_blend/blend_amount = 0.0
|
|
|
|
parameters/rear_add/add_amount = 1.0
|
|
|
|
parameters/rear_scale/scale = 1.0
|
2025-08-30 00:12:41 -06:00
|
|
|
|
2025-08-30 18:42:35 -06:00
|
|
|
[node name="LookTargetPivot" type="Node3D" parent="." index="3"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
top_level = true
|
|
|
|
|
|
|
|
[node name="LookTarget" type="Marker3D" parent="LookTargetPivot" index="0"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10)
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="LookTargetPivot/LookTarget" index="0"]
|
|
|
|
mesh = SubResource("SphereMesh_s7rwx")
|