Changes for page Player State Machine

Last modified by Alexandros Mloukie on 2026/01/12 19:51

From version 38.1
edited by Alexandros Mloukie
on 2025/12/11 22:24
Change comment: There is no comment for this version
To version 24.1
edited by Alexandros Mloukie
on 2025/12/11 01:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Player State Machine
1 +Player State Machine (Test)
Content
... ... @@ -1,3 +1,5 @@
1 += Table of Contents =
2 +
1 1  {{toc/}}
2 2  
3 3  ----
... ... @@ -58,146 +58,11 @@
58 58  
59 59  (% class="table-bordered" %)
60 60  (% class="active" %)|=State|=Description
61 -|{{box}}Idle{{/box}}|Default player State. Allows for most of the movement and combat actions the player can partake in.
62 -|{{box}}Controlled Fall{{/box}}|The player is mid-air, but maintains control over the PC.
63 -|{{box}}Freefall{{/box}}|(((
64 -The player is mid-air, but has lost control over the PC.
65 -)))
66 -|{{box}}Skating{{/box}}|The player is skating on top of a rail.
67 -|{{box}}Rock Climbing{{/box}}|The player is clung onto a climbable rock surface.
68 -|{{box}}Rope Climbing{{/box}}|The player is currently on a climbable rope.
69 -|{{box}}Grappling{{/box}}|The player is currently utilizing a Grapple Hook tool.
70 -|{{box}}Mounted{{/box}}|The player is mounting a vehicle/ridable mob.
71 -
72 -----
73 -
74 -= 3 - Actions =
75 -
76 -== 3.1 - Traversal Actions ==
77 -
78 -{{warning}}
79 -For details on any of the following actions please refer to: Traversal - Technical Design
80 -{{/warning}}
81 -
82 -{{info}}Walk{{/info}} {{info}}Sprint{{/info}} {{info}}Crouch{{/info}} {{info}}Jump{{/info}} {{info}}Fall{{/info}} {{info}}Skate{{/info}} {{info}}Rock Climb{{/info}} {{info}}Rope Climb{{/info}} {{info}}Grapple{{/info}}
83 -
84 -== 3.2 - Combat Actions ==
85 -
86 -{{warning}}
87 -For details on any of the following actions please refer to: Combat System - Technical Design
88 -{{/warning}}
89 -
90 - {{error}}Attack{{/error}} {{error}}Block{{/error}} {{error}}Parry{{/error}} {{error}}Dodge{{/error}} {{error}}Use Off-Hand{{/error}}
91 -
92 -== 3.3 - Interaction Actions ==
93 -
94 -{{warning}}
95 -For details on any of the following actions please refer to: Crafting System - Technical Design
96 -{{/warning}}
97 -
98 - {{success}}Interact{{/success}} {{success}}Construct{{/success}}
99 -
100 -----
101 -
102 -= 4 - Statuses =
103 -
104 -== 4.1 - Status List ==
105 -
106 -(% class="table-bordered" %)
107 -(% class="active" %)|=Status|=Blocks the following Actions
108 -|{{box}}Blinded{{/box}}|{{info}}Skate{{/info}} {{info}}Grapple{{/info}} {{error}}Attack{{/error}} {{error}}Parry{{/error}} {{success}}Interact{{/success}} {{success}}Construct{{/success}}
109 -|{{box}}Crippled{{/box}}|{{info}}Sprint{{/info}} {{info}}Jump{{/info}} {{info}}Skate{{/info}} {{info}}Rock Climb{{/info}} {{error}}Dodge{{/error}}
110 -|{{box}}Crouching{{/box}}|{{info}}Sprint{{/info}} {{error}}Dodge{{/error}}
111 -|{{box}}Sprinting{{/box}}|{{info}}Crouch{{/info}} {{info}}Rock Climb{{/info}} {{info}}Rope Climb{{/info}} {{info}}Grapple{{/info}} {{error}}Attack{{/error}} {{error}}Block{{/error}} {{error}}Parry{{/error}} {{error}}Dodge{{/error}} {{error}}Use Off-Hand{{/error}} {{success}}Interact{{/success}} {{success}}Construct{{/success}}
112 -|{{box}}Attacking{{/box}}|{{info}}Sprint{{/info}} {{info}}Rock Climb{{/info}} {{info}}Rope Climb{{/info}} {{info}}Grapple{{/info}} {{error}}Attack{{/error}} {{error}}Block{{/error}} {{error}}Parry{{/error}} {{error}}Dodge{{/error}} {{error}}Use Off-Hand{{/error}} {{success}}Interact{{/success}} {{success}}Construct{{/success}}
113 -
114 -== 4.2 - Action Induced Statuses ==
115 -
116 -(% class="table-bordered" %)
117 -(% class="active" %)|=(% style="width: 127px;" %)Action|=(% style="width: 1036px;" %)Applies the following Status
118 -|(% style="width:127px" %){{info}}Sprint{{/info}}|(% style="width:1036px" %){{box}}Sprinting{{/box}}
119 -|(% style="width:127px" %){{info}}Crouch{{/info}}|(% style="width:1036px" %){{box}}Crouching{{/box}}
120 -|(% style="width:127px" %){{error}}Attack{{/error}}|(% style="width:1036px" %){{box}}Attacking{{/box}}
121 -
122 -----
123 -
124 -= 5 - Transitions =
125 -
126 -== 5.1 - High-Level Transition Diagram ==
127 -
128 -[[image:1765417604690-575.png]]
129 -
130 -== 5.2 - Per-State Transition Tables ==
131 -
132 -=== 5.2.1 - {{box}}Idle{{/box}} Transitions ===
133 -
134 -(% class="table-bordered" %)
135 -(% class="active" %)|=(% style="width: 324px;" %)Available Actions|=(% style="width: 839px;" %)Transitions to State
136 -|(% style="width:324px" %){{info}}Walk{{/info}} {{info}}Sprint{{/info}} {{info}}Crouch{{/info}}|(% style="width:839px" %)-
137 -|(% style="width:324px" %){{info}}Jump{{/info}}|(% style="width:839px" %){{box}}Controlled Fall{{/box}}
138 -|(% style="width:324px" %){{info}}Fall{{/info}} with Stamina|(% style="width:839px" %){{box}}Controlled Fall{{/box}}
139 -|(% style="width:324px" %){{info}}Rock Climb{{/info}}|(% style="width:839px" %){{box}}Rock Climbing{{/box}}
140 -|(% style="width:324px" %){{info}}Rope Climb{{/info}}|(% style="width:839px" %){{box}}Rope Climbing{{/box}}
141 -|(% style="width:324px" %){{info}}Grapple{{/info}}|(% style="width:839px" %){{box}}Grappling{{/box}}
142 -|(% style="width:324px" %){{error}}Attack{{/error}} {{error}}Block{{/error}} {{error}}Parry{{/error}} {{error}}Dodge{{/error}} {{error}}Use Off-Hand{{/error}}|(% style="width:839px" %)-
143 -|(% style="width:324px" %){{success}}Interact{{/success}} {{success}}Construct{{/success}} with object or station|(% style="width:839px" %)-
144 -|(% style="width:324px" %){{success}}Interact{{/success}} with mount|(% style="width:839px" %){{box}}Mounted{{/box}}
145 -
146 -=== 5.2.2 - {{box}}Controlled Fall{{/box}} Transitions ===
147 -
148 -(% class="table-bordered" %)
149 -(% class="active" %)|=(% style="width: 324px;" %)Available Actions|=(% style="width: 839px;" %)Transitions to State
150 -|(% style="width:324px" %){{info}}Fall{{/info}} land on ground|(% style="width:839px" %){{box}}Idle{{/box}}
151 -|(% style="width:324px" %){{info}}Fall{{/info}} land on rail|(% style="width:839px" %){{box}}Skating{{/box}}
152 -|(% style="width:324px" %){{info}}Fall{{/info}} out of Stamina or after X seconds|(% style="width:839px" %){{box}}Freefall{{/box}}
153 -|(% style="width:324px" %){{info}}Rock Climb{{/info}}|(% style="width:839px" %){{box}}Rock Climbing{{/box}}
154 -|(% style="width:324px" %){{info}}Rope Climb{{/info}}|(% style="width:839px" %){{box}}Rope Climbing{{/box}}
155 -|(% style="width:324px" %){{info}}Grapple{{/info}}|(% style="width:839px" %){{box}}Grappling{{/box}}
156 -
157 -=== 5.2.3 - {{box}}Freefall{{/box}} Transitions ===
158 -
159 -(% class="table-bordered" %)
160 -(% class="active" %)|=(% style="width: 324px;" %)Available Actions|=(% style="width: 839px;" %)Transitions to State
161 -|(% style="width:324px" %){{info}}Fall{{/info}} land on a solid surface|(% style="width:839px" %){{box}}Idle{{/box}}
162 -
163 -=== 5.2.4 - {{box}}Skating{{/box}} Transitions ===
164 -
165 -(% class="table-bordered" %)
166 -(% class="active" %)|=(% style="width: 326px;" %)Available Actions|=(% style="width: 837px;" %)Transitions to State
167 -|(% style="width:326px" %){{info}}Jump{{/info}}|(% style="width:837px" %){{box}}Controlled Fall{{/box}}
168 -|(% style="width:326px" %){{info}}Grapple{{/info}}|(% style="width:837px" %){{box}}Grappling{{/box}}
169 -
170 -=== 5.2.5 - {{box}}Rock Climbing{{/box}} Transitions ===
171 -
172 -(% class="table-bordered" %)
173 -(% class="active" %)|=(% style="width: 327px;" %)Available Actions|=(% style="width: 836px;" %)Transitions to State
174 -|(% style="width:327px" %){{info}}Jump{{/info}}|(% style="width:836px" %){{box}}Controlled Fall{{/box}}
175 -|(% style="width:327px" %){{info}}Fall{{/info}} when out of Stamina|(% style="width:836px" %){{box}}Controlled Fall{{/box}} → {{box}}Freefall{{/box}}
176 -|(% style="width:327px" %){{info}}Rock Climb{{/info}} end Rock Climb on ground|(% style="width:836px" %){{box}}Idle{{/box}}
177 -|(% style="width:327px" %){{info}}Grapple{{/info}}|(% style="width:836px" %){{box}}Grappling{{/box}}
178 -
179 -=== 5.2.6 - {{box}}Rope Climbing{{/box}} Transitions ===
180 -
181 -(% class="table-bordered" %)
182 -(% class="active" %)|=(% style="width: 327px;" %)Available Actions|=(% style="width: 836px;" %)Transitions to State
183 -|(% style="width:327px" %){{info}}Jump{{/info}}|(% style="width:836px" %){{box}}Controlled Fall{{/box}}
184 -|(% style="width:327px" %){{info}}Fall{{/info}} when out of Stamina|(% style="width:836px" %){{box}}Controlled Fall{{/box}} → {{box}}Freefall{{/box}}
185 -|(% style="width:327px" %){{info}}Rope Climb{{/info}} end Rope Climb on ground|(% style="width:836px" %){{box}}Idle{{/box}}
186 -|(% style="width:327px" %){{info}}Grapple{{/info}}|(% style="width:836px" %){{box}}Grappling{{/box}}
187 -
188 -=== 5.2.7 - {{box}}Grappling{{/box}} Transitions ===
189 -
190 -(% class="table-bordered" %)
191 -(% class="active" %)|=(% style="width: 327px;" %)Available Actions|=(% style="width: 835px;" %)Transitions to State
192 -|(% style="width:327px" %){{info}}Jump{{/info}}|(% style="width:835px" %){{box}}Controlled Fall{{/box}}
193 -|(% style="width:327px" %){{info}}Fall{{/info}} when out of Stamina|(% style="width:835px" %){{box}}Controlled Fall{{/box}} → {{box}}Freefall{{/box}}
194 -|(% style="width:327px" %){{info}}Rock Climb{{/info}}|(% style="width:835px" %){{box}}Rock Climbing{{/box}}
195 -|(% style="width:327px" %){{info}}Rope Climb{{/info}}|(% style="width:835px" %){{box}}Rope Climbing{{/box}}
196 -|(% style="width:327px" %){{info}}Grapple{{/info}} end Grapple on ground|(% style="width:835px" %){{box}}Idle{{/box}}
197 -
198 -=== 5.2.8 - {{box}}Mounted{{/box}} Transitions ===
199 -
200 -(% class="table-bordered" %)
201 -(% class="active" %)|=(% style="width: 329px;" %)Available Actions|=(% style="width: 833px;" %)Transitions to State
202 -|(% style="width:329px" %){{info}}Walk{{/info}}|(% style="width:833px" %)-
203 -|(% style="width:329px" %){{success}}Interact{{/success}} to dismount|(% style="width:833px" %){{box}}Idle{{/box}}
63 +|{{box}}Idle{{/box}}|
64 +|(% style="background-color:blue; color:#753800" %){{box}}Controlled Fall{{/box}}|
65 +|{{box}}Idle{{/box}}|
66 +|{{box}}Idle{{/box}}|
67 +|{{box}}Idle{{/box}}|
68 +|{{box}}Idle{{/box}}|
69 +|{{box}}Idle{{/box}}|
70 +|{{box}}Idle{{/box}}|
1765417604690-575.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.AlexandrosMloukie
Size
... ... @@ -1,1 +1,0 @@
1 -26.9 KB
Content