Difference between revisions of "State Mechanics"

From SWGANH Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
Locomotion State:
 
Locomotion State:
  
Locomotion Table has the following:
+
[[Locomotion State Table]]
{| class="wikitable"
+
 
|+'''LOCOMOTION TABLE'''
+
Posture State:
|-
+
 
||'''ID'''||'''String'''
+
[[Posture State Table]]
|-
+
 
|align="center"|0||Standing
+
 
|-
+
These states all work in parallel with each other. This means that one of the state types can effect all of the states.
|align="center"|1||Sneaking
+
If a player has a Locomotion State of 'Dead' | 20 then the player is unable to transition into any other state such as combat, peace, cover, etc.
|-
+
This allows a very clear set of rules that can be applied for the actor.
|align="center"|2||Walking
+
 
|-
+
[[Parallel State Machine Design]]
|align="center"|3||Running
+
|-
+
|align="center"|4||Kneeling
+
|-
+
|align="center"|5||CrouchSneaking
+
|-
+
|align="center"|6||CrouchWalking
+
|-
+
|align="center"|7||Prone
+
|-
+
|align="center"|8||Crawling
+
|-
+
|align="center"|9||ClimbingStationary
+
|-
+
|align="center"|10||Climbing
+
|-
+
|align="center"|11||Hovering
+
|-
+
|align="center"|12||Flying
+
|-
+
|align="center"|13||LyingDown
+
|-
+
|align="center"|14||Sitting
+
|-
+
|align="center"|15||SkillAnimating
+
|-
+
|align="center"|16||DrivingVehicle
+
|-
+
|align="center"|17||RidingCreature
+
|-
+
|align="center"|18||KnockedDown
+
|-
+
|align="center"|19||Incapacitated
+
|-
+
|align="center"|20||Dead
+
|-
+
|align="center"|21||Blocking
+
|-
+
|}
+
Posture State
+

Latest revision as of 14:45, 23 January 2012

The 'state' of an actor is broken down into 3 characteristics.

Action State:

Action State Table

Locomotion State:

Locomotion State Table

Posture State:

Posture State Table


These states all work in parallel with each other. This means that one of the state types can effect all of the states. If a player has a Locomotion State of 'Dead' | 20 then the player is unable to transition into any other state such as combat, peace, cover, etc. This allows a very clear set of rules that can be applied for the actor.

Parallel State Machine Design