[gd_scene load_steps=26 format=2] [ext_resource path="res://entities/Player.cs" type="Script" id=1] [ext_resource path="res://components/NavigationComponent.cs" type="Script" id=2] [ext_resource path="res://materials/debug/PlayerPhysicsGeometry.tres" type="Material" id=3] [ext_resource path="res://assets/Objects/toolAxe.tscn" type="PackedScene" id=4] [ext_resource path="res://components/WorldInfoComponent.cs" type="Script" id=5] [ext_resource path="res://utils/DebugGeometry.cs" type="Script" id=6] [ext_resource path="res://components/MovableComponent.tscn" type="PackedScene" id=7] [ext_resource path="res://assets/CreatusPiratePack/Modified/Pirate1_Rigged.glb" type="PackedScene" id=8] [sub_resource type="CapsuleShape" id=7] radius = 0.27 height = 0.4 [sub_resource type="CapsuleMesh" id=26] radius = 0.27 mid_height = 0.4 [sub_resource type="CylinderShape" id=24] height = 0.2 radius = 1.5 [sub_resource type="SphereShape" id=23] radius = 0.1 [sub_resource type="SpatialMaterial" id=25] flags_unshaded = true vertex_color_use_as_albedo = true [sub_resource type="AnimationNodeAnimation" id=1] animation = "Hit-loop" [sub_resource type="AnimationNodeAnimation" id=2] animation = "Idle-loop" [sub_resource type="AnimationNodeAnimation" id=3] animation = "Interaction-loop" [sub_resource type="AnimationNodeAnimation" id=35] animation = "Shrug-loop" [sub_resource type="AnimationNodeStateMachineTransition" id=4] [sub_resource type="AnimationNodeStateMachineTransition" id=5] switch_mode = 2 xfade_time = 0.2 [sub_resource type="AnimationNodeStateMachineTransition" id=6] xfade_time = 0.1 [sub_resource type="AnimationNodeStateMachineTransition" id=33] switch_mode = 2 xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id=36] xfade_time = 0.1 [sub_resource type="AnimationNodeStateMachineTransition" id=37] switch_mode = 2 auto_advance = true xfade_time = 0.1 [sub_resource type="AnimationNodeStateMachine" id=8] states/Hit/node = SubResource( 1 ) states/Hit/position = Vector2( 413, 37 ) states/Idle/node = SubResource( 2 ) states/Idle/position = Vector2( 157, 37 ) states/Interaction/node = SubResource( 3 ) states/Interaction/position = Vector2( 157, 162 ) states/Shrug-loop/node = SubResource( 35 ) states/Shrug-loop/position = Vector2( -53, 37 ) transitions = [ "Idle", "Hit", SubResource( 4 ), "Hit", "Idle", SubResource( 5 ), "Idle", "Interaction", SubResource( 6 ), "Interaction", "Idle", SubResource( 33 ), "Idle", "Shrug-loop", SubResource( 36 ), "Shrug-loop", "Idle", SubResource( 37 ) ] start_node = "Idle" graph_offset = Vector2( -175, -42 ) [sub_resource type="AnimationNodeStateMachinePlayback" id=34] [node name="Player" type="KinematicBody"] collision_mask = 0 input_ray_pickable = false axis_lock_motion_y = true move_lock_y = true script = ExtResource( 1 ) [node name="CollisionShape" type="CollisionShape" parent="."] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, 0 ) shape = SubResource( 7 ) __meta__ = { "_editor_description_": "Player World Collision Shape " } [node name="MeshInstance" type="MeshInstance" parent="CollisionShape" groups=["PhysicsGeometry"]] visible = false mesh = SubResource( 26 ) material/0 = ExtResource( 3 ) [node name="Movable" parent="." instance=ExtResource( 7 )] [node name="WorldInfo" type="Node" parent="."] script = ExtResource( 5 ) [node name="Navigation" type="Spatial" parent="."] visible = false script = ExtResource( 2 ) [node name="ItemAttractorArea" type="Area" parent="."] collision_layer = 0 collision_mask = 8 input_ray_pickable = false monitorable = false [node name="CollisionShape" type="CollisionShape" parent="ItemAttractorArea"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.123516, 0 ) shape = SubResource( 24 ) [node name="ItemPickupArea" type="Area" parent="."] collision_layer = 0 collision_mask = 8 input_ray_pickable = false monitorable = false [node name="CollisionShape" type="CollisionShape" parent="ItemPickupArea"] visible = false shape = SubResource( 23 ) [node name="DebugGeometry" type="Spatial" parent="."] script = ExtResource( 6 ) [node name="ImmediateGeometry" type="ImmediateGeometry" parent="DebugGeometry"] material_override = SubResource( 25 ) cast_shadow = 0 generate_lightmap = false [node name="ImmediateGeometry" type="ImmediateGeometry" parent="."] [node name="Geometry" type="Spatial" parent="." groups=["GameGeometry"]] [node name="PirateAsset" parent="Geometry" instance=ExtResource( 8 )] transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0 ) [node name="ToolAttachement" type="BoneAttachment" parent="Geometry/PirateAsset/Armature/Skeleton" index="5"] transform = Transform( 1, 8.68458e-08, -1.04308e-07, 1.74623e-07, -1, -1.30385e-07, 1.41561e-07, 1.50874e-07, -1, -0.72, 0.45, 3.28113e-08 ) visible = false bone_name = "HandTip.R" [node name="toolAxe" parent="Geometry/PirateAsset/Armature/Skeleton/ToolAttachement" instance=ExtResource( 4 )] transform = Transform( -6.98781e-14, 7.86805e-08, -1.2, 1.8, -7.86805e-08, -4.88782e-14, -7.86805e-08, -1.8, -5.24537e-08, 0.0240936, -0.144196, 0.560397 ) [node name="AnimationTree" type="AnimationTree" parent="Geometry"] tree_root = SubResource( 8 ) anim_player = NodePath("../PirateAsset/AnimationPlayer") active = true parameters/playback = SubResource( 34 ) [editable path="Geometry/PirateAsset"]