mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:05:34 +00:00
200 lines
9.5 KiB
Text
200 lines
9.5 KiB
Text
[gd_scene load_steps=32 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"]
|
|
[ext_resource type="Script" uid="uid://cn3o414nvdd58" path="res://Scripts/Components/FSM/3DPlayer/IsoPlayerStateMachine.cs" id="1_vsywg"]
|
|
[ext_resource type="Script" uid="uid://y35vqx1ifo52" path="res://Scripts/Components/FSM/3DPlayer/Init.cs" id="2_3oyrx"]
|
|
[ext_resource type="Script" uid="uid://d3ydlcdm8m3tg" path="res://Scripts/Components/FSM/3DPlayer/Active.cs" id="3_cc7e7"]
|
|
[ext_resource type="Script" uid="uid://c5brx3ail1tlh" path="res://Scripts/Components/FSM/3DPlayer/IsoMovementModule.cs" id="5_fg04g"]
|
|
[ext_resource type="Script" uid="uid://cmafvigtkg2qo" path="res://Scripts/Components/FSM/3DPlayer/Dead.cs" id="5_ok250"]
|
|
[ext_resource type="Script" uid="uid://eop2ue3otxcs" path="res://Scripts/Components/FSM/3DPlayer/IsoPlayerStorageModule.cs" id="6_habpy"]
|
|
[ext_resource type="Script" uid="uid://cq1joxgoj3jdp" path="res://Scripts/Components/Actors/3D/PlayerAnimationProvider3D.cs" id="6_onfm2"]
|
|
[ext_resource type="SpriteFrames" uid="uid://c6exoa8pxbc6w" path="res://Resources/Sprites/player_float.tres" id="6_yq7h2"]
|
|
[ext_resource type="Script" uid="uid://dq338w2lw5phl" path="res://Scripts/Components/Actors/KeyboardInputProvider.cs" id="7_4cdxq"]
|
|
[ext_resource type="SpriteFrames" uid="uid://byb4cbb23cawf" path="res://Resources/Sprites/player_float_legs.tres" id="7_l4f8l"]
|
|
[ext_resource type="Material" uid="uid://dsrsfpcpwmaql" path="res://Resources/Materials/Player_Blink_Teleport_Material_3D.tres" id="7_yarib"]
|
|
[ext_resource type="Script" uid="uid://1fryvj4omkin" path="res://Scripts/Components/Actors/MouseAimProvider3D.cs" id="9_2ffwi"]
|
|
[ext_resource type="Script" uid="uid://c8ar11sg0su2h" path="res://Scripts/Components/FSM/3DPlayer/ShadowModule.cs" id="9_fg04g"]
|
|
[ext_resource type="Script" uid="uid://ceiworv2pgl1r" path="res://Scripts/Components/Actors/3D/AnimatedShaderSprite3D.cs" id="9_yarib"]
|
|
[ext_resource type="Script" uid="uid://dvln1783wvvuw" path="res://Scripts/Components/Actors/ShadowProvider.cs" id="10_2kukh"]
|
|
[ext_resource type="Script" uid="uid://bm73kgly8gv2i" path="res://Scripts/Components/FSM/3DPlayer/IsoInteractionController.cs" id="10_habpy"]
|
|
[ext_resource type="Script" uid="uid://d1ixvdcii6uy7" path="res://Scripts/Components/FSM/3DPlayer/SelectorController.cs" id="11_4cdxq"]
|
|
[ext_resource type="Script" uid="uid://vne180ohyucn" path="res://Scripts/Components/FSM/3DPlayer/IsoActivationProvider.cs" id="11_4exx2"]
|
|
[ext_resource type="AudioStream" uid="uid://myr6n2c1u503" path="res://SFX/581602__samsterbirdies__beep-error.mp3" id="13_2ffwi"]
|
|
[ext_resource type="Script" uid="uid://d2psafx4f3f58" path="res://Scripts/Components/FSM/3DPlayer/PlayerWeaponModule3D.cs" id="15_el8as"]
|
|
[ext_resource type="Script" uid="uid://by0x0qmbmkoak" path="res://Scripts/Components/FSM/3DPlayer/PlayerWeaponProvider3D.cs" id="16_olwak"]
|
|
[ext_resource type="PackedScene" uid="uid://cfgc6ik8vb08c" path="res://Scenes/Weapons/BaseWeapon_3D.tscn" id="17_olwak"]
|
|
[ext_resource type="Script" uid="uid://cqyr8mko8oo5" path="res://Scripts/Components/FSM/3DPlayer/PlayerAcidDeathModule.cs" id="19_7selo"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fg04g"]
|
|
radius = 0.349554
|
|
height = 0.811048
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2kukh"]
|
|
transparency = 1
|
|
depth_draw_mode = 2
|
|
shading_mode = 0
|
|
albedo_color = Color(0, 0, 0, 0.235294)
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_fg04g"]
|
|
material = SubResource("StandardMaterial3D_2kukh")
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_habpy"]
|
|
height = 0.679688
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6d8x8"]
|
|
height = 1.18042
|
|
radius = 1.20117
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_ok250"]
|
|
|
|
[node name="IsoPlayerFsm" type="CharacterBody3D" node_paths=PackedStringArray("PlayerFSM")]
|
|
collision_layer = 2
|
|
collision_mask = 17
|
|
script = ExtResource("1_cc7e7")
|
|
PlayerFSM = NodePath("StateMachine")
|
|
|
|
[node name="StateMachine" type="Node" parent="."]
|
|
script = ExtResource("1_vsywg")
|
|
|
|
[node name="Init" type="Node" parent="StateMachine"]
|
|
script = ExtResource("2_3oyrx")
|
|
|
|
[node name="Active" type="Node" parent="StateMachine" node_paths=PackedStringArray("_inputProvider", "AnimationProvider", "Storage", "_moduleNodes")]
|
|
script = ExtResource("3_cc7e7")
|
|
_inputProvider = NodePath("../../InputProvider")
|
|
AnimationProvider = NodePath("../../Sprites")
|
|
Storage = NodePath("../../Storage")
|
|
_moduleNodes = [NodePath("../../InputProvider"), NodePath("../../MovementModule"), NodePath("../../ShadowModule"), NodePath("../../InteractionController"), NodePath("../../ActivationProvider"), NodePath("../../WeaponModule"), NodePath("../../AcidDeathModule")]
|
|
|
|
[node name="Dead" type="Node" parent="StateMachine"]
|
|
script = ExtResource("5_ok250")
|
|
|
|
[node name="Sprites" type="Node3D" parent="." node_paths=PackedStringArray("AnimatedSprite")]
|
|
script = ExtResource("6_onfm2")
|
|
AnimatedSprite = NodePath("AnimatedSprite3D")
|
|
BlinkMaterial = ExtResource("7_yarib")
|
|
|
|
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="Sprites"]
|
|
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
|
material_override = ExtResource("7_yarib")
|
|
pixel_size = 0.05
|
|
texture_filter = 0
|
|
sprite_frames = ExtResource("6_yq7h2")
|
|
animation = &"idle"
|
|
frame_progress = 0.0351052
|
|
script = ExtResource("9_yarib")
|
|
|
|
[node name="Legs" type="AnimatedSprite3D" parent="Sprites"]
|
|
pixel_size = 0.05
|
|
billboard = 1
|
|
texture_filter = 0
|
|
sprite_frames = ExtResource("7_l4f8l")
|
|
animation = &"idle"
|
|
|
|
[node name="Sprite" type="Sprite3D" parent="Sprites"]
|
|
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
|
visible = false
|
|
pixel_size = 0.05
|
|
billboard = 1
|
|
texture_filter = 0
|
|
texture = ExtResource("1_vex34")
|
|
hframes = 3
|
|
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")]
|
|
script = ExtResource("5_fg04g")
|
|
PlayerStorage = NodePath("../Storage")
|
|
_inputProvider = NodePath("../InputProvider")
|
|
Speed = 6
|
|
StrafeSpeed = 4
|
|
Acceleration = 150.0
|
|
Deceleration = 25.0
|
|
Gravity = -50.0
|
|
FallSpeed = 100.0
|
|
|
|
[node name="Storage" type="Node" parent="." node_paths=PackedStringArray("Root")]
|
|
script = ExtResource("6_habpy")
|
|
Root = NodePath("..")
|
|
|
|
[node name="MouseAimProvider" type="Node3D" parent="."]
|
|
script = ExtResource("9_2ffwi")
|
|
|
|
[node name="InputProvider" type="Node" parent="."]
|
|
script = ExtResource("7_4cdxq")
|
|
|
|
[node name="Shadow" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, -0.29, 0)
|
|
mesh = SubResource("QuadMesh_fg04g")
|
|
script = ExtResource("10_2kukh")
|
|
AutoEnable = false
|
|
MaxShadowScale = 1.0
|
|
CollisionMask = 1
|
|
|
|
[node name="ShadowModule" type="Node" parent="." node_paths=PackedStringArray("ShadowProvider")]
|
|
script = ExtResource("9_fg04g")
|
|
ShadowProvider = NodePath("../Shadow")
|
|
|
|
[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")
|
|
|
|
[node name="ActivationProvider" type="Area3D" parent="." node_paths=PackedStringArray("_inputProvider", "_selectorController", "_errorSound")]
|
|
collision_layer = 0
|
|
collision_mask = 32
|
|
script = ExtResource("11_4exx2")
|
|
_inputProvider = NodePath("../InputProvider")
|
|
_selectorController = NodePath("SelectorController")
|
|
_errorSound = NodePath("AudioStreamPlayer")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ActivationProvider"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.294313, 0)
|
|
shape = SubResource("CylinderShape3D_6d8x8")
|
|
|
|
[node name="SelectorController" type="Node" parent="ActivationProvider"]
|
|
script = ExtResource("11_4cdxq")
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="ActivationProvider"]
|
|
stream = ExtResource("13_2ffwi")
|
|
bus = &"Effects"
|
|
|
|
[node name="AudioListener3D" type="AudioListener3D" parent="."]
|
|
current = true
|
|
|
|
[node name="WeaponOffset" type="Marker3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.267617, 0, -0.24769)
|
|
|
|
[node name="WeaponModule" type="Node" parent="." node_paths=PackedStringArray("WeaponProvider", "InputProvider", "Storage")]
|
|
script = ExtResource("15_el8as")
|
|
WeaponProvider = NodePath("WeaponProvider")
|
|
InputProvider = NodePath("../InputProvider")
|
|
Storage = NodePath("../Storage")
|
|
|
|
[node name="WeaponProvider" type="Node" parent="WeaponModule" node_paths=PackedStringArray("StorageModule", "WeaponRightOffset", "WeaponLeftOffset")]
|
|
script = ExtResource("16_olwak")
|
|
StorageModule = NodePath("../../Storage")
|
|
WeaponTemplate = ExtResource("17_olwak")
|
|
WeaponRightOffset = NodePath("../../WeaponOffset")
|
|
WeaponLeftOffset = NodePath("../../WeaponOffset")
|
|
|
|
[node name="AcidDeathModule" type="Node" parent="."]
|
|
script = ExtResource("19_7selo")
|
|
|
|
[node name="AcidDetector" type="Area3D" parent="."]
|
|
collision_layer = 2
|
|
collision_mask = 256
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="AcidDetector"]
|
|
shape = SubResource("SphereShape3D_ok250")
|
|
|
|
[connection signal="area_entered" from="AcidDetector" to="AcidDeathModule" method="OnAcidCollision"]
|