490 lines
14 KiB
Plaintext
490 lines
14 KiB
Plaintext
[gd_scene load_steps=48 format=3 uid="uid://cfecvvav8kkp6"]
|
|
|
|
[ext_resource type="Script" uid="uid://yxmiqy7i0t7r" path="res://src/player/Player.cs" id="1_xcol5"]
|
|
[ext_resource type="Texture2D" uid="uid://c4ps26w7h3vpq" path="res://src/minimap/textures/player_map_icon.png" id="4_3ojaj"]
|
|
[ext_resource type="Texture2D" uid="uid://c6r3dhnkuw22w" path="res://src/vfx/hit_effects/FIRE_STRIKE_1.0.png" id="5_wr6lo"]
|
|
[ext_resource type="Texture2D" uid="uid://b5qjlbcesth53" path="res://src/vfx/Weapon Strikes/NON ELEMENTAL SLASH.png" id="6_p34sl"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_dw45s"]
|
|
radius = 1.0
|
|
height = 3.07596
|
|
|
|
[sub_resource type="Animation" id="Animation_hcjph"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Collision/Hitbox/HitboxCollision:disabled")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Animation/SwordSlashAnimation:frame")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_g183x"]
|
|
resource_name = "atonement_attack"
|
|
step = 0.0833333
|
|
|
|
[sub_resource type="Animation" id="Animation_0jjwv"]
|
|
resource_name = "attack"
|
|
length = 0.916675
|
|
step = 0.0833333
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Collision/Hitbox/HitboxCollision:disabled")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.0833333, 0.333333),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [true, false, true]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Animation/SwordSlashAnimation:frame")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.0833333, 0.166667, 0.25, 0.333333, 0.416667, 0.5, 0.583333, 0.666667, 0.75, 0.833333, 0.916666),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_es4xk"]
|
|
resource_name = "hit_wall"
|
|
length = 0.3
|
|
step = 0.0833333
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Animation/SwordSlashAnimation:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.0833333, 0.166667),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [10, 1, 11]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_w8l8m"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_hcjph"),
|
|
&"atonement_attack": SubResource("Animation_g183x"),
|
|
&"attack": SubResource("Animation_0jjwv"),
|
|
&"hit_wall": SubResource("Animation_es4xk")
|
|
}
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_irupf"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(300, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_63m7j"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(600, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1ypgu"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(900, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_d7qd7"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(1200, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7heog"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(1500, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x4mbv"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(1800, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f7ysd"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(2100, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i2p57"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(2400, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tfnlg"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(2700, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gvgtb"]
|
|
atlas = ExtResource("6_p34sl")
|
|
region = Rect2(3000, 0, 300, 300)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fha34"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(0, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6es8e"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(450, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ajsk2"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(1350, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_m6lxd"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(2250, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_66iny"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(3150, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ifj8k"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(4050, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0sse1"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(4950, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_biijj"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(5850, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ox7ae"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(6750, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0jda2"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(7650, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6i1pl"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(8550, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ivimc"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(9450, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3pwkw"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(10350, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fr7ff"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(11250, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yopcg"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(12150, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_j6465"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(13050, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sqdiu"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(13950, 0, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_p3jka"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(0, 450, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1g7qb"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(900, 450, 450, 450)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7ab4x"]
|
|
atlas = ExtResource("5_wr6lo")
|
|
region = Rect2(1800, 450, 450, 450)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ywvvo"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": null
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_irupf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_63m7j")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1ypgu")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_d7qd7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7heog")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_x4mbv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f7ysd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_i2p57")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tfnlg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gvgtb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": null
|
|
}],
|
|
"loop": false,
|
|
"name": &"attack",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fha34")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6es8e")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ajsk2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_m6lxd")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_66iny")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ifj8k")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0sse1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_biijj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ox7ae")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0jda2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6i1pl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ivimc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3pwkw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fr7ff")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_yopcg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_j6465")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sqdiu")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_p3jka")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1g7qb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7ab4x")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": null
|
|
}],
|
|
"loop": false,
|
|
"name": &"attack_fire",
|
|
"speed": 12.0
|
|
}, {
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"attack_water",
|
|
"speed": 12.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="Animation_3ojaj"]
|
|
resource_name = "IconAnimation"
|
|
length = 2.5
|
|
loop_mode = 1
|
|
tracks/0/type = "scale_3d"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Minimap/Minimap Sprite")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = PackedFloat32Array(0, 1, 2.4, 2.4, 2.4, 1.23333, 1, 2.7, 2.7, 2.7, 2.5, 1, 2.4, 2.4, 2.4)
|
|
|
|
[sub_resource type="Animation" id="Animation_565yv"]
|
|
length = 0.001
|
|
tracks/0/type = "scale_3d"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Minimap/Minimap Sprite")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = PackedFloat32Array(0, 1, 2.4, 2.4, 2.4)
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_v7rlw"]
|
|
_data = {
|
|
&"IconAnimation": SubResource("Animation_3ojaj"),
|
|
&"RESET": SubResource("Animation_565yv")
|
|
}
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_wedu3"]
|
|
size = Vector3(1, 1, 1.80176)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_hs4wf"]
|
|
size = Vector3(2, 3, 1)
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_es4xk"]
|
|
height = 1.6909
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
collision_layer = 802
|
|
collision_mask = 775
|
|
script = ExtResource("1_xcol5")
|
|
|
|
[node name="PlayerGeometryCollision" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(-0.0242399, 0.00507889, 0.999693, 0.000123113, 0.999987, -0.00507739, -0.999706, 0, -0.0242402, 0, 1.06447, 0.00162865)
|
|
shape = SubResource("CapsuleShape3D_dw45s")
|
|
|
|
[node name="HealthTimer" type="Timer" parent="."]
|
|
unique_name_in_owner = true
|
|
process_mode = 1
|
|
wait_time = 3.0
|
|
|
|
[node name="Animation" type="Node3D" parent="."]
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Animation"]
|
|
unique_name_in_owner = true
|
|
root_node = NodePath("../..")
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_w8l8m")
|
|
}
|
|
|
|
[node name="SwordSlashAnimation" type="AnimatedSprite2D" parent="Animation"]
|
|
unique_name_in_owner = true
|
|
texture_filter = 1
|
|
position = Vector2(983, 555)
|
|
scale = Vector2(3, 3)
|
|
sprite_frames = SubResource("SpriteFrames_ywvvo")
|
|
animation = &"attack"
|
|
flip_h = true
|
|
flip_v = true
|
|
|
|
[node name="Camera" type="Node3D" parent="."]
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="Camera"]
|
|
transform = Transform3D(1, 6.69803e-05, 0.000118449, -6.06525e-05, 0.998614, -0.052638, -0.000121811, 0.052638, 0.998614, 0.003, 1.2, -0.01)
|
|
cull_mask = 1048569
|
|
doppler_tracking = 1
|
|
fov = 52.0
|
|
near = 0.01
|
|
far = 9000.0
|
|
|
|
[node name="player_model" type="Node3D" parent="Camera"]
|
|
transform = Transform3D(-0.015, 0, -2.26494e-09, 0, 0.015, 0, 2.26494e-09, 0, -0.015, 0, -0.268445, -0.00941753)
|
|
|
|
[node name="Lights" type="Node3D" parent="Camera"]
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="Camera/Lights"]
|
|
transform = Transform3D(0.999997, 0, 0.00260054, 0, 1, 0, -0.00260054, 0, 0.999997, -0.109951, 1.37487, -0.0100155)
|
|
light_color = Color(0.87424, 0.682579, 0.506014, 1)
|
|
light_energy = 0.2
|
|
light_bake_mode = 1
|
|
shadow_enabled = true
|
|
shadow_opacity = 0.9
|
|
shadow_blur = 2.038
|
|
omni_range = 6.0
|
|
omni_attenuation = 0.017
|
|
|
|
[node name="Minimap" type="Node3D" parent="."]
|
|
|
|
[node name="Minimap Sprite" type="Sprite3D" parent="Minimap"]
|
|
transform = Transform3D(2.4, 0, 0, 0, 2.4, 0, 0, 0, 2.4, 0, 0.734914, -0.336784)
|
|
layers = 2
|
|
sorting_offset = 100.0
|
|
pixel_size = 0.025
|
|
axis = 1
|
|
double_sided = false
|
|
texture_filter = 0
|
|
render_priority = 127
|
|
texture = ExtResource("4_3ojaj")
|
|
|
|
[node name="Minimap Icon Animation" type="AnimationPlayer" parent="Minimap"]
|
|
root_node = NodePath("../..")
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_v7rlw")
|
|
}
|
|
autoplay = "IconAnimation"
|
|
|
|
[node name="Collision" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.301443, 0)
|
|
|
|
[node name="Hitbox" type="Area3D" parent="Collision"]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.12691, -1)
|
|
collision_layer = 2048
|
|
collision_mask = 2048
|
|
|
|
[node name="HitboxCollision" type="CollisionShape3D" parent="Collision/Hitbox"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.177762)
|
|
shape = SubResource("BoxShape3D_wedu3")
|
|
disabled = true
|
|
|
|
[node name="CollisionDetector" type="Area3D" parent="Collision"]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.126903, 0)
|
|
collision_layer = 448
|
|
collision_mask = 388
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision/CollisionDetector"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0479561, 0.509249, 0.0101219)
|
|
shape = SubResource("BoxShape3D_hs4wf")
|
|
|
|
[node name="WallCheck" type="RigidBody3D" parent="Collision"]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.507, 0, 0)
|
|
collision_layer = 0
|
|
axis_lock_linear_x = true
|
|
axis_lock_linear_y = true
|
|
axis_lock_linear_z = true
|
|
axis_lock_angular_x = true
|
|
axis_lock_angular_y = true
|
|
axis_lock_angular_z = true
|
|
contact_monitor = true
|
|
max_contacts_reported = 100
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision/WallCheck"]
|
|
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, -1.51238, 1.03938, -0.0105059)
|
|
shape = SubResource("CapsuleShape3D_es4xk")
|