Added coffin switcher

rose_physics
jonathan 2 months ago
parent 6f2f5a2df9
commit f1ac87db17

@ -0,0 +1,23 @@
extends Node3D
@onready var coffin_slide_out: Node3D = $CoffinSlideOut
@onready var coffin_openable: Node3D = $CoffinOpenable
@onready var coffin_slide_fire: Node3D = $CoffinSlideFire
func _input(event: InputEvent) -> void:
if event is InputEventKey:
var keyEvent: InputEventKey = event
if keyEvent.keycode == KEY_1:
coffin_slide_out.visible = true
coffin_openable.visible = false
coffin_slide_fire.visible = false
if keyEvent.keycode == KEY_2:
coffin_slide_out.visible = false
coffin_openable.visible = true
coffin_slide_fire.visible = false
if keyEvent.keycode == KEY_3:
coffin_slide_out.visible = false
coffin_openable.visible = false
coffin_slide_fire.visible = true

@ -0,0 +1 @@
uid://cds31423mplsy

@ -1,35 +1,36 @@
[gd_scene load_steps=70 format=4 uid="uid://157h04x0krfu"] [gd_scene load_steps=76 format=4 uid="uid://157h04x0krfu"]
[ext_resource type="PackedScene" uid="uid://bjufextny1icg" path="res://models/UndertakerAssets.glb" id="1_7dqbv"] [ext_resource type="PackedScene" uid="uid://bjufextny1icg" path="res://models/UndertakerAssets.glb" id="1_7dqbv"]
[ext_resource type="ArrayMesh" uid="uid://iitrxdpdaq0i" path="res://models/ceiling.res" id="1_jn645"] [ext_resource type="ArrayMesh" uid="uid://c5hhygnuya8m4" path="res://models/ceiling.res" id="1_jn645"]
[ext_resource type="PackedScene" uid="uid://vqn2vnm5uonx" path="res://models/AnimatedBody.glb" id="1_wg1up"] [ext_resource type="PackedScene" uid="uid://vqn2vnm5uonx" path="res://models/AnimatedBody.glb" id="1_wg1up"]
[ext_resource type="Texture2D" uid="uid://cmctogmnkjjsx" path="res://models/AnimatedBody_T_Face.png" id="2_ns543"] [ext_resource type="Texture2D" uid="uid://cmctogmnkjjsx" path="res://models/AnimatedBody_T_Face.png" id="2_ns543"]
[ext_resource type="ArrayMesh" uid="uid://17chuhi8kh01" path="res://models/door.res" id="2_qvc4m"] [ext_resource type="ArrayMesh" uid="uid://clarjq81uknpt" path="res://models/door.res" id="2_qvc4m"]
[ext_resource type="Script" uid="uid://btddh0r45yuh4" path="res://scenes/just_blend.gd" id="2_wkj6l"] [ext_resource type="Script" uid="uid://btddh0r45yuh4" path="res://scenes/just_blend.gd" id="2_wkj6l"]
[ext_resource type="ArrayMesh" uid="uid://duokqbm5xp6mc" path="res://models/duct.res" id="3_7dqbv"] [ext_resource type="ArrayMesh" uid="uid://bvdlv1xumxsvr" path="res://models/duct.res" id="3_7dqbv"]
[ext_resource type="PackedScene" uid="uid://be7u1kn41g2ww" path="res://addons/interaction/interactable.tscn" id="3_w68ji"] [ext_resource type="PackedScene" uid="uid://be7u1kn41g2ww" path="res://addons/interaction/interactable.tscn" id="3_w68ji"]
[ext_resource type="ArrayMesh" uid="uid://bjt6sta5lnhjr" path="res://models/floor.res" id="4_ybpoa"] [ext_resource type="ArrayMesh" uid="uid://nvm86aghye8t" path="res://models/floor.res" id="4_ybpoa"]
[ext_resource type="PackedScene" uid="uid://bxuveo0hlwy33" path="res://prefabs/character.tscn" id="5_3j2fx"] [ext_resource type="PackedScene" uid="uid://bxuveo0hlwy33" path="res://prefabs/character.tscn" id="5_3j2fx"]
[ext_resource type="ArrayMesh" uid="uid://dj1dpmph88iyx" path="res://models/wall_lower.res" id="5_qtoah"] [ext_resource type="ArrayMesh" uid="uid://c065fyhh8q3uo" path="res://models/wall_lower.res" id="5_qtoah"]
[ext_resource type="PackedScene" uid="uid://cv3qpo5lfrchn" path="res://prefabs/lever.tscn" id="6_dynfe"] [ext_resource type="PackedScene" uid="uid://cv3qpo5lfrchn" path="res://prefabs/lever.tscn" id="6_dynfe"]
[ext_resource type="ArrayMesh" uid="uid://cfwr5bvmj0ocy" path="res://models/wall_upper.res" id="6_eom3m"] [ext_resource type="ArrayMesh" uid="uid://33mpid1shdhd" path="res://models/wall_upper.res" id="6_eom3m"]
[ext_resource type="ArrayMesh" uid="uid://dooebv7iy46yb" path="res://models/coffin_chute.res" id="8_ybpoa"] [ext_resource type="ArrayMesh" uid="uid://dct52eykigyd" path="res://models/coffin_chute.res" id="8_ybpoa"]
[ext_resource type="ArrayMesh" uid="uid://m1tiq7rwgpnf" path="res://models/table.res" id="9_dynfe"] [ext_resource type="ArrayMesh" uid="uid://bkwpvxfupc2jo" path="res://models/table.res" id="9_dynfe"]
[ext_resource type="ArrayMesh" uid="uid://dd0u0u7m1n8hy" path="res://models/rails.res" id="10_jxwrd"] [ext_resource type="ArrayMesh" uid="uid://bal15efottr41" path="res://models/rails.res" id="10_jxwrd"]
[ext_resource type="ArrayMesh" uid="uid://doilhy26qpcp1" path="res://models/wall_cabinet.res" id="11_katsu"] [ext_resource type="ArrayMesh" uid="uid://b557l16x5x031" path="res://models/wall_cabinet.res" id="11_katsu"]
[ext_resource type="ArrayMesh" uid="uid://bc3608xdecenx" path="res://models/cabinet.res" id="12_jxwrd"] [ext_resource type="ArrayMesh" uid="uid://bc3608xdecenx" path="res://models/cabinet.res" id="12_jxwrd"]
[ext_resource type="ArrayMesh" uid="uid://cn2oc7g2wr35s" path="res://models/cupboard.res" id="13_spkk5"] [ext_resource type="ArrayMesh" uid="uid://bwtg5n1lbvkjg" path="res://models/cupboard.res" id="13_spkk5"]
[ext_resource type="ArrayMesh" uid="uid://djcvnf2sgohaf" path="res://models/trolly.res" id="14_yggoe"] [ext_resource type="ArrayMesh" uid="uid://b2vx6uduptlnh" path="res://models/trolly.res" id="14_yggoe"]
[ext_resource type="ArrayMesh" uid="uid://d1echoo5nispa" path="res://models/pipe.res" id="15_2ulci"] [ext_resource type="ArrayMesh" uid="uid://c168j0a5ekjyk" path="res://models/pipe.res" id="15_2ulci"]
[ext_resource type="PackedScene" uid="uid://bwf1m3q64007x" path="res://prefabs/lamp_ceiling.tscn" id="16_vfrn5"] [ext_resource type="PackedScene" uid="uid://bwf1m3q64007x" path="res://prefabs/lamp_ceiling.tscn" id="16_vfrn5"]
[ext_resource type="ArrayMesh" uid="uid://d0uvr0bshllbo" path="res://models/lamp_wall.res" id="17_vfrn5"] [ext_resource type="ArrayMesh" uid="uid://cemnmemdquy7" path="res://models/lamp_wall.res" id="17_vfrn5"]
[ext_resource type="ArrayMesh" uid="uid://bww0dtmtdvf4r" path="res://models/liftarms.res" id="19_2ulci"] [ext_resource type="ArrayMesh" uid="uid://bbdtm4w2gihid" path="res://models/liftarms.res" id="19_2ulci"]
[ext_resource type="VoxelGIData" uid="uid://rfxeiyxkedo6" path="res://scenes/room.VoxelGI_data.res" id="19_jxwrd"] [ext_resource type="VoxelGIData" uid="uid://rfxeiyxkedo6" path="res://scenes/room.VoxelGI_data.res" id="19_jxwrd"]
[ext_resource type="ArrayMesh" uid="uid://te2j13rctqpb" path="res://models/coffin_lower.res" id="19_yggoe"] [ext_resource type="ArrayMesh" uid="uid://d0uaw7ewx52pp" path="res://models/coffin_lower.res" id="19_yggoe"]
[ext_resource type="ArrayMesh" uid="uid://uos83uc5mxn7" path="res://models/coffin_upper.res" id="20_2ulci"] [ext_resource type="ArrayMesh" uid="uid://bel68d6prmovl" path="res://models/coffin_upper.res" id="20_2ulci"]
[ext_resource type="Script" uid="uid://8bdjflc6ufvr" path="res://scenes/coffin_openable.gd" id="20_mc3m6"] [ext_resource type="Script" uid="uid://8bdjflc6ufvr" path="res://scenes/coffin_openable.gd" id="20_mc3m6"]
[ext_resource type="Script" uid="uid://cds31423mplsy" path="res://scenes/coffin_switcher.gd" id="20_ns543"]
[ext_resource type="Script" uid="uid://bwmyjdcv3cvc" path="res://scenes/coffin_slide_out.gd" id="24_a5qmg"] [ext_resource type="Script" uid="uid://bwmyjdcv3cvc" path="res://scenes/coffin_slide_out.gd" id="24_a5qmg"]
[ext_resource type="ArrayMesh" uid="uid://dtaqp7ru2gi8d" path="res://models/button.res" id="25_2ftkj"] [ext_resource type="ArrayMesh" uid="uid://buy1tqwpmqsb4" path="res://models/button.res" id="25_2ftkj"]
[ext_resource type="Script" uid="uid://b22xrvio2577x" path="res://scenes/coffin_slide_fire.gd" id="27_ny2il"] [ext_resource type="Script" uid="uid://b22xrvio2577x" path="res://scenes/coffin_slide_fire.gd" id="27_ny2il"]
[ext_resource type="ArrayMesh" uid="uid://vtl7yxfd4hhq" path="res://models/main_screen.res" id="28_gjarb"] [ext_resource type="ArrayMesh" uid="uid://vtl7yxfd4hhq" path="res://models/main_screen.res" id="28_gjarb"]
[ext_resource type="Script" uid="uid://bysnkaditp712" path="res://scenes/main_screen.gd" id="29_1wmww"] [ext_resource type="Script" uid="uid://bysnkaditp712" path="res://scenes/main_screen.gd" id="29_1wmww"]
@ -42,64 +43,8 @@
[ext_resource type="Texture2D" uid="uid://8xpvoty8w3g6" path="res://screens/contract-5.png" id="34_wg1up"] [ext_resource type="Texture2D" uid="uid://8xpvoty8w3g6" path="res://screens/contract-5.png" id="34_wg1up"]
[ext_resource type="Texture2D" uid="uid://cin2sxy6ypjji" path="res://screens/NO-contract.png" id="35_wkj6l"] [ext_resource type="Texture2D" uid="uid://cin2sxy6ypjji" path="res://screens/NO-contract.png" id="35_wkj6l"]
[ext_resource type="Texture2D" uid="uid://cn7yi35kntfwt" path="res://screens/LAST-contract.png" id="36_ns543"] [ext_resource type="Texture2D" uid="uid://cn7yi35kntfwt" path="res://screens/LAST-contract.png" id="36_ns543"]
[ext_resource type="Texture2D" uid="uid://pwvb2mrsola" path="res://models/UndertakerAssets_T_Basket.png" id="44_xtec0"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2b7e3"] [ext_resource type="ArrayMesh" uid="uid://ce01n7ulg3r82" path="res://models/terminal.res" id="45_xcuph"]
resource_name = "M_Face"
cull_mode = 2
albedo_texture = ExtResource("2_ns543")
roughness = 0.5
uv1_offset = Vector3(0.5, 0, 0)
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_mwhaa"]
_surfaces = [{
"aabb": AABB(-0.18719779, 0.101959825, -0.16023456, 0.34999996, 0.060000047, 0.3204691),
"format": 34896613377,
"index_count": 24,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAABAAMABAAFAAEAAgABAAYABQAGAAEAAgAGAAcABQAIAAYA"),
"name": "M_Face",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 9,
"vertex_data": PackedByteArray("////fwAAAAC2bf///38AALZt//8AAAAA////f/9/AAD///9///8AALZt/////wAAAAAAAP9/AADxFQAA9hcAAPEVAAAI6AAA")
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_r8gds"]
resource_name = "AnimatedBody_Cube_047"
_surfaces = [{
"aabb": AABB(-0.18719779, 0.101959825, -0.16023456, 0.34999996, 0.060000047, 0.3204691),
"attribute_data": PackedByteArray("/x8AAP87/yP/H/8j/zsAAP8D/yP/H/87/wf/N/8f/yP/HwAA/wP/I/8DAAD/H/8j/zv/I/8f/zv/H/8j/zf/Nw=="),
"format": 34896613399,
"index_count": 24,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAAFAAYABAAHAAUACAAJAAoACAALAAkADAANAA4ADAAPAA0A"),
"material": SubResource("StandardMaterial3D_2b7e3"),
"name": "M_Face",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 16,
"vertex_data": PackedByteArray("////fwAA6ti2bf///3/q2LZt//8AAOrY////f/9/6ti2bf//AACCzQAAAAD/f4LN8RUAAPYXjs22bf///394zf///3///+rYtm3///9/6tj///9//3/q2LZt/////+rYtm3/////5MoAAAAA/3/kyrZt////f+7K8RUAAAjo1sq7rIamu6yGprushqa7rIamdaR7uHWkfLhfpIS4hKR3uLushqa7rIamu6yGprushqa4ox23uKMdt6mjILfNoxe3")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_mwhaa")
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ns543"]
animation = &"ArmatureAction"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_g8dr5"]
animation = &"Weird Pos"
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_xtec0"]
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_xcuph"]
graph_offset = Vector2(-753.6569, 63.098648)
nodes/Animation/node = SubResource("AnimationNodeAnimation_g8dr5")
nodes/Animation/position = Vector2(-200, 120)
nodes/Blend2/node = SubResource("AnimationNodeBlend2_xtec0")
nodes/Blend2/position = Vector2(100, 160)
"nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_ns543")
"nodes/Animation 2/position" = Vector2(-220, 320)
node_connections = [&"output", 0, &"Blend2", &"Blend2", 0, &"Animation", &"Blend2", 1, &"Animation 2"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_frp7b"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_frp7b"]
albedo_color = Color(0, 0, 0, 1) albedo_color = Color(0, 0, 0, 1)
@ -205,6 +150,64 @@ _data = {
&"RESET": SubResource("Animation_0tws2") &"RESET": SubResource("Animation_0tws2")
} }
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2b7e3"]
resource_name = "M_Face"
cull_mode = 2
albedo_texture = ExtResource("2_ns543")
roughness = 0.5
uv1_offset = Vector3(0.75, 0.25, 0)
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_mwhaa"]
_surfaces = [{
"aabb": AABB(-0.18719779, 0.101959825, -0.16023456, 0.34999996, 0.060000047, 0.3204691),
"format": 34896613377,
"index_count": 24,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAABAAMABAAFAAEAAgABAAYABQAGAAEAAgAGAAcABQAIAAYA"),
"name": "M_Face",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 9,
"vertex_data": PackedByteArray("////fwAAAAC2bf///38AALZt//8AAAAA////f/9/AAD///9///8AALZt/////wAAAAAAAP9/AADxFQAA9hcAAPEVAAAI6AAA")
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_r8gds"]
resource_name = "AnimatedBody_Cube_047"
_surfaces = [{
"aabb": AABB(-0.18719779, 0.101959825, -0.16023456, 0.34999996, 0.060000047, 0.3204691),
"attribute_data": PackedByteArray("/x8AAP87/yP/H/8j/zsAAP8D/yP/H/87/wf/N/8f/yP/HwAA/wP/I/8DAAD/H/8j/zv/I/8f/zv/H/8j/zf/Nw=="),
"format": 34896613399,
"index_count": 24,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAAFAAYABAAHAAUACAAJAAoACAALAAkADAANAA4ADAAPAA0A"),
"material": SubResource("StandardMaterial3D_2b7e3"),
"name": "M_Face",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 16,
"vertex_data": PackedByteArray("////fwAA6ti2bf///3/q2LZt//8AAOrY////f/9/6ti2bf//AACCzQAAAAD/f4LN8RUAAPYXjs22bf///394zf///3///+rYtm3///9/6tj///9//3/q2LZt/////+rYtm3/////5MoAAAAA/3/kyrZt////f+7K8RUAAAjo1sq7rIamu6yGprushqa7rIamdaR7uHWkfLhfpIS4hKR3uLushqa7rIamu6yGprushqa4ox23uKMdt6mjILfNoxe3")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_mwhaa")
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ns543"]
animation = &"ArmatureAction"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_g8dr5"]
animation = &"Weird Pos"
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_xtec0"]
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_xcuph"]
graph_offset = Vector2(-753.6569, 63.098648)
nodes/Animation/node = SubResource("AnimationNodeAnimation_g8dr5")
nodes/Animation/position = Vector2(-200, 120)
nodes/Blend2/node = SubResource("AnimationNodeBlend2_xtec0")
nodes/Blend2/position = Vector2(100, 160)
"nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_ns543")
"nodes/Animation 2/position" = Vector2(-220, 320)
node_connections = [&"output", 0, &"Blend2", &"Blend2", 0, &"Animation", &"Blend2", 1, &"Animation 2"]
[sub_resource type="Animation" id="Animation_kk8bn"] [sub_resource type="Animation" id="Animation_kk8bn"]
resource_name = "CoffinSlideOut" resource_name = "CoffinSlideOut"
length = 1.341 length = 1.341
@ -400,42 +403,46 @@ bind/17/name = &"neutral_bone"
bind/17/bone = -1 bind/17/bone = -1
bind/17/pose = Transform3D(0.0746971, 0, 0, 0, 0, -0.0746971, 0, 0.0746971, 0, 0, 0.18674275, -0.06974169) bind/17/pose = Transform3D(0.0746971, 0, 0, 0, 0, -0.0746971, 0, 0.0746971, 0, 0, 0.18674275, -0.06974169)
[node name="BlockoutRoom" type="Node3D"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mcl0v"]
resource_name = "M_Basket"
[node name="AnimatedBody" parent="." instance=ExtResource("1_wg1up")] cull_mode = 2
albedo_texture = ExtResource("44_xtec0")
[node name="Skeleton3D" parent="AnimatedBody/Armature" index="0"] roughness = 0.9
bones/1/rotation = Quaternion(0.98481596, -0.00083194015, 0.17332742, 0.009715752) texture_filter = 2
bones/2/rotation = Quaternion(0.026424047, -0.0002678612, -0.02301538, 0.99938583)
bones/4/rotation = Quaternion(0.98481596, -0.00083192455, 0.17332749, 0.009715752)
bones/5/rotation = Quaternion(0.026424043, -0.00026785373, -0.02301536, 0.99938583)
bones/6/rotation = Quaternion(-0.24330616, 0.009764576, 0.62130296, 0.74477476)
bones/9/rotation = Quaternion(-0.86570036, 0.19894437, -0.44322658, -0.120557964)
bones/10/rotation = Quaternion(-0.18447517, 0.35387474, -0.6469678, 0.64974934)
bones/11/rotation = Quaternion(0.013044027, -0.2410653, 0.045270618, 0.9693647)
bones/12/rotation = Quaternion(0.97710764, -0.21059328, -0.023610441, 0.01880603)
bones/13/rotation = Quaternion(0.64828163, 0.12760647, 0.013005167, 0.7505188)
bones/14/rotation = Quaternion(-0.035038, -0.0047629066, -0.00039249362, 0.99937457)
bones/16/rotation = Quaternion(-7.511955e-09, -1.8198413e-07, 0.032410674, 0.99947464)
[node name="BoneAttachment3D" type="BoneAttachment3D" parent="AnimatedBody/Armature/Skeleton3D" index="0"]
transform = Transform3D(0.47932008, 0.87764007, 2.4056902e-08, -0.87764007, 0.47932008, -4.3557066e-08, -4.9758285e-08, -2.356213e-10, 1.0000002, 0.046313114, 0.0039921002, 0.0007469526)
bone_name = "root.004"
bone_idx = 16
[node name="Body_002" type="MeshInstance3D" parent="AnimatedBody/Armature/Skeleton3D/BoneAttachment3D"] [sub_resource type="ArrayMesh" id="ArrayMesh_ro0ji"]
transform = Transform3D(-0.0026715081, -0.07464932, -3.7168064e-09, 0.07464932, -0.0026715081, -1.7592976e-11, -1.1534074e-10, -3.7150507e-09, 0.07469708, 0.0001797378, 0.012750886, 1.7568469e-05) _surfaces = [{
mesh = SubResource("ArrayMesh_r8gds") "aabb": AABB(-0.3953024, -0.33331797, -0.39999998, 0.79999995, 0.59999996, 0.79999995),
skeleton = NodePath("") "format": 34896613377,
"index_count": 84,
"index_data": PackedByteArray("AAABAAIAAAADAAEAAwAAAAQABAAAAAIAAwAEAAUABAACAAYABQAEAAYAAwAFAAcAAwAHAAEABQAGAAcAAQAIAAIAAgAJAAYAAgAIAAkABgAKAAcABgAJAAoABwALAAEAAQALAAgABwAKAAsADAAKAAkADQAIAAsADgALAAoADQALAA4ADgAKAAwADwAIAA0ADgAPAA0ADwAJAAgADgAMAA8ADAAJAA8A"),
"name": "M_Basket",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 16,
"vertex_data": PackedByteArray("ZiYAAJjZAAAAAP//AAAAAAAA/////wAAZiYAAGYmAACY2QAAmNkAAJjZAABmJgAA////////AAD/////AAAAAMwM//8y8wAAMvP//zLzAAAy8///zAwAAMwM///MDAAAzMwhIjIzAAAzMyEizMwAADMzISIyMwAAzMwhIszMAAA=")
}]
blend_shape_mode = 0
[node name="AnimationTree" type="AnimationTree" parent="AnimatedBody"] [sub_resource type="ArrayMesh" id="ArrayMesh_25djc"]
tree_root = SubResource("AnimationNodeBlendTree_xcuph") resource_name = "UndertakerAssets_Cube_043"
anim_player = NodePath("../AnimationPlayer") _surfaces = [{
parameters/Blend2/blend_amount = 1.0 "aabb": AABB(-0.3953024, -0.33331797, -0.39999998, 0.79999995, 0.59999996, 0.79999995),
script = ExtResource("2_wkj6l") "attribute_data": PackedByteArray("AAD/36pa/1eqWv/3AAD/bwAA/9+qWv9Xqlr/9wAA/28AAP/fqlr/V6pa//cAAP9vAAD/36pa/1eqWv/3AAD/b6na/9f/z//n/8//16na/+dUxf9nVHX/z1SF/2dU1f/PVMX/Z1R1/89Uhf9nVNX/z1TF/2dUdf/PVIX/Z1TV/89Uhf9nVNX/z1TF/2dUdf/PVIX/X1TFAABUxf9fVIUAAFT1/6//7/8XVPX/D//v/6dU9f+v/+//F1T1/w//7/+nVPX/r//v/xdU9f8P/+//p1T1/6//7/8XVPX/D//v/6c="),
"format": 34896613399,
"index_count": 84,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAAFAAYABAAHAAUACAAJAAoACAALAAkADAANAA4ADAAPAA0AEAARABIAEAATABEAFAAVABYAFAAXABUAGAAZABoAGAAbABkAHAAdAB4AHAAfAB0AIAAhACIAIAAjACEAJAAlACYAJAAnACUAKAApACoAKAArACkALAAtAC4ALAAvAC0AMAAxADIAMAAzADEANAA1ADYANAA3ADUA"),
"material": SubResource("StandardMaterial3D_mcl0v"),
"name": "M_Basket",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 56,
"vertex_data": PackedByteArray("ZiYAAJjZHdoAAP//AAAd2gAA/////x3aZiYAAGYmHdpmJgAAZiZQ+v////8AAFD6AAD//wAAUPqY2QAAZiZQ+pjZAABmJtnQ////////2dD/////AADZ0JjZAACY2dnQmNkAAJjZZMAAAP////9kwP///////2TAZiYAAJjZZMBmJgAAZib//5jZAACY2f//mNkAAGYm//9mJgAAmNn//zMzISLMzHf5zAz//8wMd/kzMyEiMjN3+cwM//8y83f5MzMhIjIz//8y8///zAz//8zMISIyM///zAz//8wM///MzCEiMjN3+TLz//8y83f5zMwhIszMd/ky8///zAx3+czMISLMzAAAzAz//zLzAAAzMyEizMwAADLz//8y8wAAMzMhIjIzVNXMzCEizMxU1TMzISLMzFTVzMwhIjIzVNUAAP//AAD//8wM//8y8///AAD////////MDP//zAz///////8AAFTVzAz//8wMVNUAAP//AABU1TLz///MDFTV/////////78y8///zAz/v/////8AAP+/MvP//zLz/78AAP////9U1TLz//8y81TV////////VNXMDP//MvNU1ZrSyNqa0sjamtLI2prSyNoEQwRDBEMEQwRDBEMEQwRDwCd9MMAnfTDAJ30wwCd9MJQKavWUCmr1lApq9ZQKavX/f/8//3//P/9//z//f/8/jLzlhoy85YaMvOWGjLzlhv9/Fo3/fxaN/38Wjf9/Fo0Z+Yw8GfmMPBn5jDwZ+Yw8/3/o8v9/6PL/f+jy/3/o8qqqqqqqqqqqqqqqqqqqqqr/f/+//3//v/9//7//f/+/VNWqKlTVqipU1aoqVNWqKv///3////9/////f////3+qqqqqqqqqqqqqqqqqqqqq")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_ro0ji")
[node name="Body_001" parent="AnimatedBody" index="2"] [node name="BlockoutRoom" type="Node3D"]
visible = false
[node name="UndertakerAssets" parent="." instance=ExtResource("1_7dqbv")] [node name="UndertakerAssets" parent="." instance=ExtResource("1_7dqbv")]
visible = false visible = false
@ -572,87 +579,126 @@ current = true
[node name="Lever" parent="." instance=ExtResource("6_dynfe")] [node name="Lever" parent="." instance=ExtResource("6_dynfe")]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -1.9271023, 1.3349965, 2.5290997) transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -1.9271023, 1.3349965, 2.5290997)
[node name="CoffinOpenable" type="Node3D" parent="."] [node name="CoffinSwitcher" type="Node3D" parent="."]
script = ExtResource("20_ns543")
[node name="CoffinOpenable" type="Node3D" parent="CoffinSwitcher"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.24035808, 0.8164685, 2.485278) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.24035808, 0.8164685, 2.485278)
script = ExtResource("20_mc3m6") script = ExtResource("20_mc3m6")
[node name="ArmsAnimationPivot" type="Node3D" parent="CoffinOpenable"] [node name="ArmsAnimationPivot" type="Node3D" parent="CoffinSwitcher/CoffinOpenable"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
[node name="Liftarms" type="MeshInstance3D" parent="CoffinOpenable/ArmsAnimationPivot"] [node name="Liftarms" type="MeshInstance3D" parent="CoffinSwitcher/CoffinOpenable/ArmsAnimationPivot"]
transform = Transform3D(0, 1, 0, -1, 0, 0, 0, 0, 1, 1.9822427, 0.5227046, 0.550565) transform = Transform3D(0, 1, 0, -1, 0, 0, 0, 0, 1, 1.9822427, 0.5227046, 0.550565)
mesh = ExtResource("19_2ulci") mesh = ExtResource("19_2ulci")
skeleton = NodePath("") skeleton = NodePath("")
[node name="LidAnimationPivit" type="Node3D" parent="CoffinOpenable"] [node name="LidAnimationPivit" type="Node3D" parent="CoffinSwitcher/CoffinOpenable"]
[node name="CoffinUpper" type="MeshInstance3D" parent="CoffinOpenable/LidAnimationPivit"] [node name="CoffinUpper" type="MeshInstance3D" parent="CoffinSwitcher/CoffinOpenable/LidAnimationPivit"]
transform = Transform3D(1, 0, 0, 0, -1, -8.742278e-08, 0, 8.742278e-08, -1, -0.014046758, 0.5784328, 0) transform = Transform3D(1, 0, 0, 0, -1, -8.742278e-08, 0, 8.742278e-08, -1, -0.014046758, 0.5784328, 0)
mesh = ExtResource("20_2ulci") mesh = ExtResource("20_2ulci")
skeleton = NodePath("../../../..") skeleton = NodePath("../../../../..")
[node name="CoffinLower" type="MeshInstance3D" parent="CoffinOpenable"] [node name="CoffinLower" type="MeshInstance3D" parent="CoffinSwitcher/CoffinOpenable"]
mesh = ExtResource("19_yggoe") mesh = ExtResource("19_yggoe")
skeleton = NodePath("../..") skeleton = NodePath("../../..")
[node name="AnimationPlayer" type="AnimationPlayer" parent="CoffinOpenable"] [node name="AnimationPlayer" type="AnimationPlayer" parent="CoffinSwitcher/CoffinOpenable"]
libraries = { libraries = {
&"": SubResource("AnimationLibrary_0tws2") &"": SubResource("AnimationLibrary_0tws2")
} }
[node name="CoffinSlideOut" type="Node3D" parent="."] [node name="AnimatedBody" parent="CoffinSwitcher/CoffinOpenable" instance=ExtResource("1_wg1up")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.24035808, -0.8164685, -2.485278)
[node name="Skeleton3D" parent="CoffinSwitcher/CoffinOpenable/AnimatedBody/Armature" index="0"]
bones/1/rotation = Quaternion(0.98481596, -0.00083194015, 0.17332742, 0.009715752)
bones/2/rotation = Quaternion(0.026424047, -0.0002678612, -0.02301538, 0.99938583)
bones/4/rotation = Quaternion(0.98481596, -0.00083192455, 0.17332749, 0.009715752)
bones/5/rotation = Quaternion(0.026424043, -0.00026785373, -0.02301536, 0.99938583)
bones/6/rotation = Quaternion(-0.24330616, 0.009764576, 0.62130296, 0.74477476)
bones/9/rotation = Quaternion(-0.86570036, 0.19894437, -0.44322658, -0.120557964)
bones/10/rotation = Quaternion(-0.18447517, 0.35387474, -0.6469678, 0.64974934)
bones/11/rotation = Quaternion(0.013044027, -0.2410653, 0.045270618, 0.9693647)
bones/12/rotation = Quaternion(0.97710764, -0.21059328, -0.023610441, 0.01880603)
bones/13/rotation = Quaternion(0.64828163, 0.12760647, 0.013005167, 0.7505188)
bones/14/rotation = Quaternion(-0.035038, -0.0047629066, -0.00039249362, 0.99937457)
bones/16/rotation = Quaternion(-7.511955e-09, -1.8198413e-07, 0.032410674, 0.99947464)
[node name="BoneAttachment3D" type="BoneAttachment3D" parent="CoffinSwitcher/CoffinOpenable/AnimatedBody/Armature/Skeleton3D" index="0"]
transform = Transform3D(0.47932008, 0.87764007, 2.4056902e-08, -0.87764007, 0.47932008, -4.3557066e-08, -4.9758285e-08, -2.356213e-10, 1.0000002, 0.046313114, 0.0039921002, 0.0007469526)
bone_name = "root.004"
bone_idx = 16
[node name="Body_002" type="MeshInstance3D" parent="CoffinSwitcher/CoffinOpenable/AnimatedBody/Armature/Skeleton3D/BoneAttachment3D"]
transform = Transform3D(-0.0026715081, -0.07464932, -3.7168064e-09, 0.07464932, -0.0026715081, -1.7592976e-11, -1.1534074e-10, -3.7150507e-09, 0.07469708, 0.0001797378, 0.012750886, 1.7568469e-05)
mesh = SubResource("ArrayMesh_r8gds")
skeleton = NodePath("")
[node name="Body_001" parent="CoffinSwitcher/CoffinOpenable/AnimatedBody" index="1"]
visible = false
[node name="AnimationTree" type="AnimationTree" parent="CoffinSwitcher/CoffinOpenable/AnimatedBody"]
tree_root = SubResource("AnimationNodeBlendTree_xcuph")
anim_player = NodePath("../AnimationPlayer")
parameters/Blend2/blend_amount = 1.0
script = ExtResource("2_wkj6l")
[node name="CoffinSlideOut" type="Node3D" parent="CoffinSwitcher"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.24035808, 0.8164685, 2.485278) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.24035808, 0.8164685, 2.485278)
visible = false visible = false
script = ExtResource("24_a5qmg") script = ExtResource("24_a5qmg")
[node name="Liftarms2" type="MeshInstance3D" parent="CoffinSlideOut"] [node name="Liftarms2" type="MeshInstance3D" parent="CoffinSwitcher/CoffinSlideOut"]
transform = Transform3D(-4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0, 1, 1.9822427, 2.5227046, 0.550565) transform = Transform3D(-4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0, 1, 1.9822427, 2.5227046, 0.550565)
mesh = ExtResource("19_2ulci") mesh = ExtResource("19_2ulci")
skeleton = NodePath("") skeleton = NodePath("")
[node name="AnimationPlayer" type="AnimationPlayer" parent="CoffinSlideOut"] [node name="AnimationPlayer" type="AnimationPlayer" parent="CoffinSwitcher/CoffinSlideOut"]
root_node = NodePath("../AnimParent") root_node = NodePath("../AnimParent")
libraries = { libraries = {
&"": SubResource("AnimationLibrary_mc3m6") &"": SubResource("AnimationLibrary_mc3m6")
} }
[node name="AnimParent" type="Node3D" parent="CoffinSlideOut"] [node name="AnimParent" type="Node3D" parent="CoffinSwitcher/CoffinSlideOut"]
transform = Transform3D(1, 0, 0, 0, 0.97488576, 0.22270565, 0, -0.22270565, 0.97488576, 0, 1.7166598, 1.2106416) transform = Transform3D(1, 0, 0, 0, 0.97488576, 0.22270565, 0, -0.22270565, 0.97488576, 0, 1.7166598, 1.2106416)
[node name="CoffinLower" type="MeshInstance3D" parent="CoffinSlideOut/AnimParent"] [node name="CoffinLower" type="MeshInstance3D" parent="CoffinSwitcher/CoffinSlideOut/AnimParent"]
mesh = ExtResource("19_yggoe") mesh = ExtResource("19_yggoe")
skeleton = NodePath("../../..") skeleton = NodePath("../../../..")
[node name="CoffinUpper" type="MeshInstance3D" parent="CoffinSlideOut/AnimParent"] [node name="CoffinUpper" type="MeshInstance3D" parent="CoffinSwitcher/CoffinSlideOut/AnimParent"]
transform = Transform3D(1, 0, 0, 0, -1, -8.742278e-08, 0, 8.742278e-08, -1, -0.014046758, 0.5784328, 0) transform = Transform3D(1, 0, 0, 0, -1, -8.742278e-08, 0, 8.742278e-08, -1, -0.014046758, 0.5784328, 0)
mesh = ExtResource("20_2ulci") mesh = ExtResource("20_2ulci")
skeleton = NodePath("../../..") skeleton = NodePath("../../../..")
[node name="CoffinSlideFire" type="Node3D" parent="."] [node name="CoffinSlideFire" type="Node3D" parent="CoffinSwitcher"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.24035808, 0.8164685, 2.485278) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.24035808, 0.8164685, 2.485278)
visible = false visible = false
script = ExtResource("27_ny2il") script = ExtResource("27_ny2il")
[node name="Liftarms2" type="MeshInstance3D" parent="CoffinSlideFire"] [node name="Liftarms2" type="MeshInstance3D" parent="CoffinSwitcher/CoffinSlideFire"]
transform = Transform3D(-4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0, 1, 1.9822427, 2.5227046, 0.550565) transform = Transform3D(-4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0, 1, 1.9822427, 2.5227046, 0.550565)
mesh = ExtResource("19_2ulci") mesh = ExtResource("19_2ulci")
skeleton = NodePath("") skeleton = NodePath("")
[node name="AnimationPlayer" type="AnimationPlayer" parent="CoffinSlideFire"] [node name="AnimationPlayer" type="AnimationPlayer" parent="CoffinSwitcher/CoffinSlideFire"]
libraries = { libraries = {
&"": SubResource("AnimationLibrary_kk8bn") &"": SubResource("AnimationLibrary_kk8bn")
} }
[node name="AnimParent" type="Node3D" parent="CoffinSlideFire"] [node name="AnimParent" type="Node3D" parent="CoffinSwitcher/CoffinSlideFire"]
[node name="CoffinLower" type="MeshInstance3D" parent="CoffinSlideFire/AnimParent"] [node name="CoffinLower" type="MeshInstance3D" parent="CoffinSwitcher/CoffinSlideFire/AnimParent"]
mesh = ExtResource("19_yggoe") mesh = ExtResource("19_yggoe")
skeleton = NodePath("../../..") skeleton = NodePath("../../../..")
[node name="CoffinUpper" type="MeshInstance3D" parent="CoffinSlideFire/AnimParent"] [node name="CoffinUpper" type="MeshInstance3D" parent="CoffinSwitcher/CoffinSlideFire/AnimParent"]
transform = Transform3D(1, 0, 0, 0, -1, -8.742278e-08, 0, 8.742278e-08, -1, -0.014046758, 0.5784328, 0) transform = Transform3D(1, 0, 0, 0, -1, -8.742278e-08, 0, 8.742278e-08, -1, -0.014046758, 0.5784328, 0)
mesh = ExtResource("20_2ulci") mesh = ExtResource("20_2ulci")
skeleton = NodePath("../../..") skeleton = NodePath("../../../..")
[node name="Button" type="MeshInstance3D" parent="."] [node name="Button" type="MeshInstance3D" parent="."]
transform = Transform3D(0, 1, 0, 0, 0, -1, -1, 0, 0, 3.0767944, 1.0443684, 1.5089626) transform = Transform3D(0, 1, 0, 0, 0, -1, -1, 0, 0, 3.0767944, 1.0443684, 1.5089626)
@ -838,10 +884,30 @@ bones/17/scale = Vector3(1, 1, 1)
mesh = SubResource("ArrayMesh_ps37a") mesh = SubResource("ArrayMesh_ps37a")
skin = SubResource("Skin_cbukb") skin = SubResource("Skin_cbukb")
[connection signal="changed" from="Lever" to="CoffinOpenable" method="_on_lever_changed"] [node name="Basket_01" type="MeshInstance3D" parent="."]
[connection signal="on_hit" from="Button/Interactable" to="CoffinSlideFire" method="_on_interactable_on_hit"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.683367, 0.33331797, 1)
[connection signal="on_hit" from="Button2/Interactable" to="CoffinSlideFire" method="_on_interactable_on_hit"] mesh = SubResource("ArrayMesh_25djc")
skeleton = NodePath("")
[node name="Basket_02" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.683367, 0.33331797, 0.00527215)
mesh = SubResource("ArrayMesh_25djc")
skeleton = NodePath("")
[node name="Basket_03" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.683367, 0.33331797, -1.0702021)
mesh = SubResource("ArrayMesh_25djc")
skeleton = NodePath("")
[node name="Terminal" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.195536, 1.5613695, -2.2281835)
mesh = ExtResource("45_xcuph")
skeleton = NodePath("")
[connection signal="changed" from="Lever" to="CoffinSwitcher/CoffinOpenable" method="_on_lever_changed"]
[connection signal="on_hit" from="Button/Interactable" to="CoffinSwitcher/CoffinSlideFire" method="_on_interactable_on_hit"]
[connection signal="on_hit" from="Button2/Interactable" to="CoffinSwitcher/CoffinSlideFire" method="_on_interactable_on_hit"]
[editable path="AnimatedBody"]
[editable path="UndertakerAssets"] [editable path="UndertakerAssets"]
[editable path="Character"] [editable path="Character"]
[editable path="CoffinSwitcher/CoffinOpenable/AnimatedBody"]

Loading…
Cancel
Save