XML:StNA

From OniGalore
Revision as of 13:39, 30 March 2021 by Iritscen (talk | contribs) (copy-edit, moved talk out to talk page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
StNA : String Array
XML modding tips
  • See HERE to start learning about XML modding.
  • See HERE if you are searching for information on how to handle object coordinates.
  • See HERE for some typical modding errors and their causes.
XML.png
XML

SNDD << Other file types >> SUBT

switch to OBD page

StNA files are obsolete. However they were once used to store the names of all animation types, states and flags. The strings below were extracted from the Oni executable and from the three StNA files in level0_Final, and were helpful in understanding the animation system.

Animation flags

HEX	XML

01	RuntimeLoaded
02	Invulnerable
04	BlockHigh
08	BlockLow
10	Attack
20	DropWeapon
40	InAir
80	Atomic
0001	NoTurn
0002	AttackForward
0004	AttackLeft
0008	AttackRight
0010	AttackBackward
0020	Overlay
0040	DontInterpolateVelocity
0080	ThrowSource
000001	ThrowTarget
000002	RealWorld
000004	DoAim
000008	CanPickup
000010	Aim360
000020	DisableShield
000080	NoAIPickup

Animation states

#	HEX	XML			BSL				notes
	
0	0	None			None
1	1	Anything		Anything
2	2	RunningLeftDown		Running_Left_Down
3	3	RunningRightDown	Running_Right_Down
4	4	Sliding			Sliding
5	5	WalkingLeftDown		Walking_Left_Down
6	6	WalkingRightDown	Walking_Right_Down
7	7	Standing		Standing
8	8	RunStart		Run_Start
9	9	RunAccel		Run_Accel			not used *
10	0A	RunSidestepLeft		Run_Sidestep_Left
11	0B	RunSidestepRight	Run_Sidestep_Right
12	0C	RunSlide		Run_Slide
13	0D	RunJump			Run_Jump
14	0E	RunJumpLand		Run_Jump_Land
15	0F	RunBackStart		Run_Back_Start
16	10	RunningBackRightDown	Running_Back_Right_Down
17	11	RunningBackLeftDown	Running_Back_Left_Down
18	12	FallenBack		Fallen_Back
19	13	Crouch			Crouch
20	14	RunningUpstairRightDown	Running_Upstairs_Right_Down
21	15	RunningUpstairLeftDown	Running_Upstairs_Left_Down
22	16	SidestepLeftLeftDown	Sidestep_Left_Left_Down
23	17	SidestepLeftRightDown	Sidestep_Left_Right_Down
24	18	SidestepRightLeftDown	Sidestep_Right_Left_Down
25	19	SidestepRightRightDown	Sidestep_Right_Right_Down
26	1A	SidestepRightJump	Sidestep_Right_Jump
27	1B	SidestepLeftJump	Sidestep_Left_Jump
28	1C	JumpForward		Jump_Forward
29	1D	JumpUp			Jump_Up
30	1E	RunBackSlide		Run_Back_Slide
31	1F	LieBack			Lie_Back
32	20	SsLtStart		Sidestep_Left_Start
33	21	SsRtStart		Sidestep_Right_Start
34	22	WalkingSidestepLeft	Walking_Sidestep_Left
35	23	CrouchWalk		Crouch_Walk
36	24	WalkingSidestepRight	Walking_Sidestep_Right
37	25	Flying			Flying
38	26	Falling			Falling
39	27	FlyingForward		Flying_Forward
40	28	FallingForward		Falling_Forward
41	29	FlyingBack		Flying_Back
42	2A	FallingBack		Falling_Back
43	2B	FlyingLeft		Flying_Left
44	2C	FallingLeft		Falling_Left
45	2D	FlyingRight		Flying_Right
46	2E	FallingRight		Falling_Right
47	2F	CrouchStart		Crouch_Start
48	30	WalkingBackLeftDown	Walking_Back_Left_Down
49	31	WalkingBackRightDown	Walking_Back_Right_Down
50	32	FallenFront		Fallen_Front
51	33	SidestepLeftStart	Sidestep_Left_Start_Long_Name
52	34	SidestepRightStart	Sidestep_Right_Start_Long_Name
53	35	Sit			Sit
54	36	PunchLow		Punch_Low
55	37	StandSpecial		Stand_Special
56	38	Acting			Acting
57	39	CrouchRunLeft		Crouch_Run_Left
58	3A	CrouchRunRight		Crouch_Run_Right
59	3B	CrouchRunBackLeft	Crouch_Run_Back_Left
60	3C	CrouchRunBackRight	Crouch_Run_Back_Right
61	3D	Blocking1		Blocking1
62	3E	Blocking2		Blocking2
63	3F	Blocking3		Blocking3
64	40	CrouchBlocking1		Crouch_Blocking1
65	41	Gliding			Gliding
66	42	WatchIdle		Watch_Idle
67	43	Stunned			Stunned
68	44	Powerup			Powerup
69	45	Thunderbolt		Thunderbolt

Animation types

#	HEX	XML			BSL

00	0	None			None				not used * **
01	1	Anything		Anything
02	2	Walk			Walk
03	3	Run			Run
04	4	Slide			Slide
05	5	Jump			Jump
06	6	Stand			Stand
07	7	StandingTurnLeft	Standing_Turn_Left
08	8	StandingTurnRight	Standing_Turn_Right
09	9	RunBackwards		Run_Backwards
10	0A	RunSidestepLeft		Run_Sidestep_Left
11	0B	RunSidestepRight	Run_Sidestep_Right
12	0C	Kick			Kick
13	0D	WalkSidestepLeft	Walk_Sidestep_Left
14	0E	WalkSidestepRight	Walk_Sidestep_Right
15	0F	WalkBackwards		Walk_Backwards
16	10	Stance			Stance				not used * **
17	11	Crouch			Crouch
18	12	JumpForward		Jump_Forward
19	13	JumpBackward		Jump_Backward
20	14	JumpLeft		Jump_Left			not used * **
21	15	JumpRight		Jump_Right			not used * **
22	16	Punch			Punch
23	17	Block			Block
24	18	Land			Land
25	19	Fly			Fly
26	1A	KickForward		Kick_Forward
27	1B	KickLeft		Kick_Left
28	1C	KickRight		Kick_Right
29	1D	KickBack		Kick_Back
30	1E	KickLow			Kick_Low
31	1F	PunchForward		Punch_Forward
32	20	PunchLeft		Punch_Left
33	21	PunchRight		Punch_Right
34	22	PunchBack		Punch_Back
35	23	PunchLow		Punch_Low
36	24	Kick2			Kick2
37	25	Kick3			Kick3
38	26	Punch2			Punch2
39	27	Punch3			Punch3
40	28	LandForward		Land_Forward
41	29	LandRight		Land_Right
42	2A	LandLeft		Land_Left
43	2B	LandBack		Land_Back
44	2C	PPK			PPK
45	2D	PKK			PKK				not used * **
46	2E	PKP			PKP				not used * **
47	2F	KPK			KPK				not used * **
48	30	KPP			KPP				not used * **
49	31	KKP			KKP				not used * **
50	32	PK			PK				not used * **
51	33	KP			KP				not used * **
52	34	PunchHeavy		Punch_Heavy
53	35	KickHeavy		Kick_Heavy
54	36	PunchForwardHeavy	Punch_Forward_Heavy		not used * **
55	37	KickForwardHeavy	Kick_Forward_Heavy
56	38	AimingOverlay		Aiming_Overlay			not used * **
57	39	HitOverlay		Hit_Overlay
58	3A	CrouchRun		Crouch_Run
59	3B	CrouchWalk		Crouch_Walk
60	3C	CrouchRunBackwards	Crouch_Run_Backwards
61	3D	CrouchWalkBackwards	Crouch_Walk_Backwards
62	3E	CrouchRunSidestepLeft	Crouch_Run_Sidestep_Left	not used * **
63	3F	CrouchRunSidestepRigh	Crouch_Run_Sidestep_Right	not used * **
64	40	CrouchWalkSidestepLeft	Crouch_Walk_Sidestep_Left
65	41	CrouchWalkSidestepRight	Crouch_Walk_Sidestep_Right
66	42	RunKick			Run_Kick
67	43	RunPunch		Run_Punch
68	44	RunBackPunch		Run_Back_Punch
69	45	RunBackKick		Run_Back_Kick
70	46	SidestepLeftKick	Sidestep_Left_Kick
71	47	SidestepLeftPunch	Sidestep_Left_Punch
72	48	SidestepRightKick	Sidestep_Right_Kick
73	49	SidestepRightPunch	Sidestep_Right_Punch
74	4A	Prone			Prone
75	4B	Flip			Flip
76	4C	HitHead			Hit_Head
77	4D	HitBody			Hit_Body
78	4E	HitFoot			Hit_Foot
79	4F	KnockdownHead		Knockdown_Head
80	50	KnockdownBody		Knockdown_Body
81	51	KnockdownFoot		Knockdown_Foot
82	52	HitCrouch		Hit_Crouch
83	53	KnockdownCrouch		Knockdown_Crouch		not used * **
84	54	HitFallen		Hit_Fallen
85	55	HitHeadBehind		Hit_Head_Behind
86	56	HitBodyBehind		Hit_Body_Behind
87	57	HitFootBehind		Hit_Foot_Behind
88	58	KnockdownHeadBehind	Knockdown_Head_Behind
89	59	KnockdownBodyBehind	Knockdown_Body_Behind
90	5A	KnockdownFootBehind	Knockdown_Foot_Behind
91	5B	HitCrouchBehind		Hit_Crouch_Behind		not used * **
92	5C	KnockdownCrouchBehind	Knockdown_Crouch_Behind		not used * **
93	5D	Idle			Idle
94	5E	Taunt			Taunt
95	5F	Throw			Throw				not used * **
96	60	Thrown1			Thrown1
97	61	Thrown2			Thrown2
98	62	Thrown3			Thrown3
99	63	Thrown4			Thrown4
100	64	Thrown5			Thrown5
101	65	Thrown6			Thrown6
102	66	Special1		Special1
103	67	Special2		Special2			not used * **
104	68	Special3		Special3
105	69	Special4		Special4			not used * **
106	6A	ThrowForwardPunch	Throw_Forward_Punch
107	6B	ThrowForwardKick	Throw_Forward_Kick
108	6C	ThrowBackwardPunch	Throw_Behind_Punch
109	6D	ThrowBackwardKick	Throw_Behind_Kick
110	6E	RunThrowForwardPunch	Run_Throw_Forward_Punch
111	6F	RunThrowBackwardPunch	Run_Throw_Behind_Punch
112	70	RunThrowForwardKick	Run_Throw_Forward_Kick
113	71	RunThrowBackwardKick	Run_Throw_Behind_Kick
114	72	Thrown7			Thrown7
115	73	Thrown8			Thrown8
116	74	Thrown9			Thrown9				not used * **
117	75	Thrown10		Thrown10
118	76	Thrown11		Thrown11
119	77	Thrown12		Thrown12
120	78	StartleLeft		Startle_Left_Unused
121	79	StartleRight		Startle_Right_Unused
122	7A	Sit			Sit
123	7B	StandSpecial		Stand_Special
124	7C	Act			Act
125	7D	Kick3Fw			Kick3_Forward
126	7E	HitFootOuch		Hit_Foot_Ouch
127	7F	HitJewels		Hit_Jewels
128	80	Thrown13		Thrown13
129	81	Thrown14		Thrown14			not used * **
130	82	Thrown15		Thrown15
131	83	Thrown16		Thrown16
132	84	Thrown17		Thrown17			not used * **
133	85	PPKK			PPKK
134	86	PPKKK			PPKKK
135	87	PPKKKK			PPKKKK
136	88	LandHard		Land_Hard
137	89	LandHardForward		Land_Forward_Hard		not used * **
138	8A	LandHardRight		Land_Right_Hard			not used * **
139	8B	LandHardLeft		Land_Left_Hard			not used * **
140	8C	LandHardBack		Land_Back_Hard			not used * **
141	8D	LandDead		Land_Dead
142	8E	CrouchTurnLeft		Crouch_Turn_Left
143	8F	CrouchTurnRight		Crouch_Turn_Right
144	90	CrouchForward		Crouch_Forward
145	91	CrouchBack		Crouch_Back
146	92	CrouchLeft		Crouch_Left
147	93	CrouchRight		Crouch_Right
148	94	GetupKickBack		Getup_Kick_Back
149	95	AutopistolRecoil	Autopistol_Recoil
150	96	PhaseRifleRecoil	Phase_Rifle_Recoil
151	97	PhaseStreamRecoil	Phase_Stream_Recoil
152	98	SuperballRecoil		Superball_Recoil
153	99	VandegrafRecoil		Vandegraf_Recoil
154	9A	ScramCannonRecoil	Scram_Cannon_Recoil
155	9B	MercuryBowRecoil	Mercury_Bow_Recoil
156	9C	ScreamerRecoil		Screamer_Recoil
157	9D	PickupObject		Pickup_Object
158	9E	PickupPistol		Pickup_Pistol
159	9F	PickupRifle		Pickup_Rifle
160	A0	Holster			Holster
161	A1	DrawPistol		Draw_Pistol
162	A2	DrawRifle		Draw_Rifle
163	A3	Punch4			Punch4
164	A4	ReloadPistol		Reload_Pistol
165	A5	ReloadPhaseRifle	Reload_Rifle
166	A6	ReloadPhaseStream	Reload_Stream
167	A7	ReloadSuperball		Reload_Superball
168	A8	ReloadVandegraf		Reload_Vandegraf
169	A9	ReloadScramCannon	Reload_Scram_Cannon
170	AA	ReloadMercuryBow	Reload_MercuryBow
171	AB	ReloadScreamer		Reload_Screamer
172	AC	PfPf			PF_PF				not used * **
173	AD	PfPfPf			PF_PF_PF			not used * **
174	AE	PlPl			PL_PL				not used * **
175	AF	PlPlPl			PL_PL_PL			not used * **
176	B0	PrPr			PR_PR				not used * **
177	B1	PrPrPr			PR_PR_PR			not used * **
178	B2	PbPb			PB_PB				not used * **
179	B3	PbPbPb			PB_PB_PB			not used * **
180	B4	PdPd			PD_PD				not used * **
181	B5	PdPdPd			PD_PD_PD			not used * **
182	B6	KfKf			KF_KF				not used * **
183	B7	KfKfKf			KF_KF_KF			not used * **
184	B8	KlKl			KL_KL				not used * **
185	B9	KlKlKl			KL_KL_KL			not used * **
186	BA	KrKr			KR_KR				not used * **
187	BB	KrKrKr			KR_KR_KR			not used * **
188	BC	KbKb			KB_KB				not used * **
189	BD	KbKbKb			KB_KB_KB			not used * **
190	BE	KdKd			KD_KD				not used * **
191	BF	KdKdKd			KD_KD_KD			not used * **
192	C0	StartleLt		Startle_Left
193	C1	StartleRt		Startle_Right
194	C2	StartleBk		Startle_Back
195	C3	StartleFw		Startle_Forward
196	C4	Console			Console
197	C5	ConsoleWalk		Console_Walk
198	C6	Stagger			Stagger
199	C7	Watch			Watch
200	C8	ActNo			Act_No
201	C9	ActYes			Act_Yes
202	CA	ActTalk			Act_Talk
203	CB	ActShrug		Act_Shrug
204	CC	ActShout		Act_Shout
205	CD	ActGive			Act_Give
206	CE	RunStop			Run_Stop
207	CF	WalkStop		Walk_Stop
208	D0	RunStart		Run_Start
209	D1	WalkStart		Walk_Start
210	D2	RunBackwardsStart	Run_Backwards_Start
211	D3	WalkBackwardsStart	Walk_Backwards_Start
212	D4	Stun			Stun
213	D5	StaggerBehind		Stagger_Behind
214	D6	Blownup			Blownup
215	D7	BlownupBehind		Blownup_Behind
216	D8	OneStepStop		1Step_Stop
217	D9	RunSidestepLeftStart	Run_Sidestep_Left_Start
218	DA	RunSidestepRightStart	Run_Sidestep_Right_Start
219	DB	Powerup			Powerup
220	DC	FallingFlail		Falling_Flail
221	DD	ConsolePunch		Console_Punch		 	*
222	DE	TeleportIn		Teleport_In
223	DF	TeleportOut		Teleport_Out
224	E0	NinjaFireball		Ninja_Fireball
225	E1	NinjaInvisible		Ninja_Invisible
226	E2	PunchRifle		Punch_Rifle
227	E3	PickupObjectMid		Pickup_Object_Mid
228	E4	PickupPistolMid		Pickup_Pistol_Mid
229	E5	PickupRifleMid		Pickup_Rifle_Mid
230	E6	Hail			Hail
231	E7	MuroThunderbolt		Muro_Thunderbolt
232	E8	HitOverlayAI		Hit_Overlay_AI			not used * **
* Tool used for flag searches: XMLEquality.
** Applicability not tested.