Jump to content

Enemy States (Werehog): Difference between revisions

From HedgeDocs
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 from the player.|left]]"StatChart" is what the game calls the StateChart, which contains every individual information of the different states.
[[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.  


"StateChartInfo" represents an individual state of a nighttime enemy. These vary between enemies, but there are common states such as "Tell", "Rise", "Walk", "KnockOut", and so on.
'''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.

Note
Each enemy has distinct states (hard-coded), so we will view common values between enemies.


StateChartInfo

The StateChartInfo identifies the enemy's state as "Rise", and receives "KnockOut" when hit with a "KnockBackSoft" attack type.

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.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.