-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactor_state_machine.tscn
94 lines (69 loc) · 3.88 KB
/
actor_state_machine.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[gd_scene load_steps=17 format=3 uid="uid://dtj4xwyh8jcdm"]
[ext_resource type="Script" path="res://addons/actor/actor_state_machine.gd" id="1"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_spawned.gd" id="2"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_idle.gd" id="3"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_falling.gd" id="4"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_locomotion.gd" id="5"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_stop.gd" id="6"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_landed.gd" id="7"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_networked.gd" id="8"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_pre_jump.gd" id="9"]
[ext_resource type="Script" path="res://addons/actor/states/actor_state_noclip.gd" id="10"]
[ext_resource type="Script" path="res://addons/godot_state_charts/state_chart.gd" id="11_b8jtm"]
[ext_resource type="Script" path="res://addons/godot_state_charts/compound_state.gd" id="12_xpokv"]
[ext_resource type="Script" path="res://addons/godot_state_charts/atomic_state.gd" id="13_2ndhb"]
[ext_resource type="Script" path="res://addons/godot_state_charts/transition.gd" id="14_ppkdt"]
[ext_resource type="Script" path="res://addons/godot_state_charts/expression_guard.gd" id="15_vdocb"]
[sub_resource type="Resource" id="Resource_3o8w6"]
script = ExtResource("15_vdocb")
expression = "noclipping == true"
[node name="ActorStateMachine" type="Node"]
script = ExtResource("1")
start_state = NodePath("Spawned")
[node name="Spawned" type="Node" parent="."]
script = ExtResource("2")
[node name="Idle" type="Node" parent="."]
script = ExtResource("3")
[node name="Landed" type="Node" parent="."]
script = ExtResource("7")
[node name="Locomotion" type="Node" parent="."]
script = ExtResource("5")
[node name="Falling" type="Node" parent="."]
script = ExtResource("4")
[node name="Stop" type="Node" parent="."]
script = ExtResource("6")
[node name="Pre-Jump" type="Node" parent="."]
script = ExtResource("9")
[node name="Networked" type="Node" parent="."]
script = ExtResource("8")
[node name="Noclip" type="Node" parent="."]
script = ExtResource("10")
[node name="StateChartWorkInProgress" type="Node" parent="."]
unique_name_in_owner = true
script = ExtResource("11_b8jtm")
[node name="CompoundState" type="Node" parent="StateChartWorkInProgress"]
script = ExtResource("12_xpokv")
initial_state = NodePath("Spawned")
[node name="Spawned" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[node name="OnTransitionToNoClipping" type="Node" parent="StateChartWorkInProgress/CompoundState/Spawned"]
script = ExtResource("14_ppkdt")
to = NodePath("../../Noclip")
guard = SubResource("Resource_3o8w6")
[node name="Idle" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[node name="Landed" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[node name="Locomotion" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[node name="Falling" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[node name="Stop" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[node name="Pre-Jump" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[node name="Networked" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[node name="Noclip" type="Node" parent="StateChartWorkInProgress/CompoundState"]
script = ExtResource("13_2ndhb")
[connection signal="event_received" from="StateChartWorkInProgress/CompoundState" to="." method="print_event_received"]