mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-13 20:55:55 +00:00
Elevators
This commit is contained in:
parent
929d993f99
commit
4fc136e5d7
39 changed files with 4471 additions and 264 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://rimplblbptcd"]
|
||||
[gd_scene load_steps=15 format=3 uid="uid://rimplblbptcd"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://88smibkin17p" path="res://Scripts/Components/FSM/3DPlayer/IsoPlayerFSMProxy.cs" id="1_cc7e7"]
|
||||
[ext_resource type="Texture2D" uid="uid://ddwhrlrgj6i00" path="res://Sprites/Actors/Cirno.png" id="1_vex34"]
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
[ext_resource type="Script" uid="uid://eop2ue3otxcs" path="res://Scripts/Components/FSM/3DPlayer/IsoPlayerStorageModule.cs" id="6_habpy"]
|
||||
[ext_resource type="Script" uid="uid://dq338w2lw5phl" path="res://Scripts/Components/Actors/KeyboardInputProvider.cs" id="7_4cdxq"]
|
||||
[ext_resource type="Script" uid="uid://c8ar11sg0su2h" path="res://Scripts/Components/FSM/3DPlayer/ShadowModule.cs" id="9_fg04g"]
|
||||
[ext_resource type="Script" uid="uid://bm73kgly8gv2i" path="res://Scripts/Components/FSM/3DPlayer/IsoInteractionController.cs" id="10_habpy"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fg04g"]
|
||||
radius = 0.349554
|
||||
|
|
@ -23,6 +24,9 @@ albedo_color = Color(0, 0, 0, 0.235294)
|
|||
[sub_resource type="QuadMesh" id="QuadMesh_fg04g"]
|
||||
material = SubResource("StandardMaterial3D_cc7e7")
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_habpy"]
|
||||
height = 0.679688
|
||||
|
||||
[node name="IsoPlayerFsm" type="CharacterBody3D" node_paths=PackedStringArray("PlayerFSM")]
|
||||
collision_layer = 2
|
||||
script = ExtResource("1_cc7e7")
|
||||
|
|
@ -36,7 +40,7 @@ script = ExtResource("2_3oyrx")
|
|||
|
||||
[node name="Active" type="Node" parent="StateMachine" node_paths=PackedStringArray("_moduleNodes")]
|
||||
script = ExtResource("3_cc7e7")
|
||||
_moduleNodes = [NodePath("../../InputProvider"), NodePath("../../MovementModule"), NodePath("../../ShadowModule")]
|
||||
_moduleNodes = [NodePath("../../InputProvider"), NodePath("../../MovementModule"), NodePath("../../ShadowModule"), NodePath("../../InteractionController")]
|
||||
|
||||
[node name="Sprite" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
||||
|
|
@ -48,6 +52,7 @@ vframes = 4
|
|||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.101789, 0)
|
||||
visible = false
|
||||
shape = SubResource("CapsuleShape3D_fg04g")
|
||||
|
||||
[node name="MovementModule" type="Node" parent="." node_paths=PackedStringArray("PlayerStorage", "_inputProvider")]
|
||||
|
|
@ -77,3 +82,12 @@ script = ExtResource("9_fg04g")
|
|||
ShadowPath = NodePath("../Shadow")
|
||||
Shadow = NodePath("../Shadow")
|
||||
CollisionMask = 1
|
||||
|
||||
[node name="InteractionController" type="Area3D" parent="."]
|
||||
collision_layer = 2
|
||||
collision_mask = 0
|
||||
script = ExtResource("10_habpy")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractionController"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0410156, 0)
|
||||
shape = SubResource("CylinderShape3D_habpy")
|
||||
|
|
|
|||
16
Scenes/Interactable/AreaTrigger3D.tscn
Normal file
16
Scenes/Interactable/AreaTrigger3D.tscn
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bhh7qq1plw53i"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://btyooucm1g70g" path="res://Scripts/Interactables/AreaTrigger3D.cs" id="1_stwr4"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_5x0x6"]
|
||||
|
||||
[node name="AreaTrigger3d" type="Area3D"]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_stwr4")
|
||||
OneTime = true
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_5x0x6")
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
|
|
@ -86,7 +86,7 @@
|
|||
script = ExtResource("4_u1i8n")
|
||||
EggIndex = 0
|
||||
StartingEquipment = Array[ExtResource("2_g20dv")]([ExtResource("3_6314l")])
|
||||
RemoveEquipment = Array[ExtResource("2_g20dv")]([])
|
||||
RemoveEquipment = []
|
||||
metadata/_custom_type_script = "uid://mja0rk7n2kln"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_1tvdd"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue