Enemy States (Werehog): Difference between revisions
Included a heading for StateChartInfo, and relocated the image to the left. |
Added more information on StateNames and the different attack types |
||
| Line 1: | Line 1: | ||
The Werehog's enemies have a character state xml, found in their respective archive files (e.g. #EvilEnemyNightmareR.ar.00 >> EvilEnemyNightmareR.chr.xml). This XML file deals with the different states of the enemies, and how the enemies react to the player's attack types. | The Werehog's enemies have a chart (or character) state xml, found in their respective archive files (e.g. #EvilEnemyNightmareR.ar.00 >> EvilEnemyNightmareR.chr.xml). This XML file deals with the different states of the enemies, and how the enemies react to the player's attack types. | ||
{{Notice|type=note|content=Each enemy has distinct states (hard-coded), so we will view common values between enemies.}} | {{Notice|type=note|content=Each enemy has distinct states (hard-coded), so we will view common values between enemies.}} | ||
== StateChartInfo == | == StateChartInfo == | ||
[[File:StateChartInfo.png|thumb|The StateChartInfo identifies the enemy's state as "Rise", and receives "KnockOut" when hit with a "KnockBackSoft" attack type | [[File:StateChartInfo.png|thumb|The StateChartInfo identifies the enemy's state as "Rise", and receives "KnockOut" when hit with a "KnockBackSoft" attack type.|left]]'''StatChart''' is what the game calls the '''StateChart''', which contains every individual information of the different states. '''StateChartInfo''' represents an individual state of a nighttime enemy. | ||
'''StateNames''' are the names of the different enemy states. These vary between enemies, hence it is currently impossible to add new ENEMY states or share them between enemies. But there are common states such as "Tell", "Rise", "Walk", "KnockOut", and so on. | |||
The enemy reacts to different attack types by writing in the '''StateNames''' into the variables. Refer to "Attack and Hitbox Collision Types" for more information on that subject. | |||
Revision as of 22:39, 19 August 2026
The Werehog's enemies have a chart (or character) state xml, found in their respective archive files (e.g. #EvilEnemyNightmareR.ar.00 >> EvilEnemyNightmareR.chr.xml). This XML file deals with the different states of the enemies, and how the enemies react to the player's attack types.
StateChartInfo

StatChart is what the game calls the StateChart, which contains every individual information of the different states. StateChartInfo represents an individual state of a nighttime enemy.
StateNames are the names of the different enemy states. These vary between enemies, hence it is currently impossible to add new ENEMY states or share them between enemies. But there are common states such as "Tell", "Rise", "Walk", "KnockOut", and so on.
The enemy reacts to different attack types by writing in the StateNames into the variables. Refer to "Attack and Hitbox Collision Types" for more information on that subject.