41 lines
1.8 KiB
Text
41 lines
1.8 KiB
Text
[gd_scene format=3 uid="uid://dj8ahau6dm3cq"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://hkabmxpescpj" path="res://assets/models/props/elevator_door.blend" id="1_x018o"]
|
|
[ext_resource type="PackedScene" uid="uid://3ncut5jdnsav" path="res://objects/destructable_props/elevator_door_destroyed.tscn" id="2_vdgxb"]
|
|
[ext_resource type="Texture2D" uid="uid://ccp6svl4d1jab" path="res://assets/ui/west_face.png" id="3_6vimc"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_x018o"]
|
|
size = Vector3(0.35058594, 2.7597656, 2.3769531)
|
|
|
|
[sub_resource type="GDScript" id="GDScript_vdgxb"]
|
|
resource_name = "BrokenElevatorDoor"
|
|
script/source = "extends AnimationPlayer
|
|
|
|
func _ready():
|
|
play(\"door-leftAction\")
|
|
"
|
|
|
|
[node name="elevator_door" unique_id=713389186 instance=ExtResource("1_x018o")]
|
|
|
|
[node name="DestructableObject" type="DestructableObject" parent="." index="4" unique_id=988429904]
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
destroyed_object = ExtResource("2_vdgxb")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DestructableObject" index="0" unique_id=321467721]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.3798828, 0)
|
|
shape = SubResource("BoxShape3D_x018o")
|
|
|
|
[node name="AnimationPlayer" parent="." index="5" unique_id=83015350]
|
|
script = SubResource("GDScript_vdgxb")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="." index="6" unique_id=1383786363]
|
|
transform = Transform3D(-1.4504323e-07, 0, 1, 0, 1, 0, -1, 0, -1.4504323e-07, 0.1775921, 1.2978766, 0.43569183)
|
|
modulate = Color(0, 1, 0.015686275, 1)
|
|
texture = ExtResource("3_6vimc")
|
|
|
|
[node name="Label3D" type="Label3D" parent="." index="7" unique_id=778045940]
|
|
transform = Transform3D(-2.1855693e-07, 0, 1, 0, 1, 0, -1, 0, -2.1855693e-07, 0.16179192, 1.2958318, -0.28928328)
|
|
text = "Open"
|
|
font_size = 53
|
|
outline_size = 10
|