Jump to content

Unleashed-Generations Havok Collision Attributes

From HedgeDocs
Revision as of 14:17, 14 February 2025 by NextinHKRY (talk | contribs) (Created page with "Sonic Generations has several collision tags that the game uses to determine the type of terrain, its properties, and what can collide with whatelse. These attributes can be applied to hkx files with Havok Converter. == Material Type == === swa_attribute (1260399450) === {| class="wikitable" |Index |Type |- |1 |Concrete (Normal) |- |2 |Deep Water |- |3 |Stone |- |4 |Dirt |- |5 |Wood |- |6 |Grass |- |7 |Snow |- |8 |Metal |- |9 |Sand |- |10 |Glass |- |11 |Shallow Wat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sonic Generations has several collision tags that the game uses to determine the type of terrain, its properties, and what can collide with whatelse. These attributes can be applied to hkx files with Havok Converter.

Material Type

swa_attribute (1260399450)

Index Type
1 Concrete (Normal)
2 Deep Water
3 Stone
4 Dirt
5 Wood
6 Grass
7 Snow
8 Metal
9 Sand
10 Glass
11 Shallow Water
12 Kill
13 Damage
14 Water (no drowning)
15 No effect
16 Oil
17 Glass #2 (used in Casino Night)
18 Wrong Way indicator
19 Lava
20 Poison

Collision Properties

swa_col_camera (1706239430)

If enabled, the camera will collide with this object.

swa_col_player (2088238466)

If enabled, the player will collide with the object.

swa_col_other (620872783)

If enabled, anything that isnt the player or the camera will collide with the object.

swa_col_attacking (1651585625)

Note
What does this do?


swa_evil_isbalance_ground (122999549)

This is used for Classic Sonic to indicate where a ledge is.

swa_sonic_isbeltconveyor (1196263925)

Used for the BeltConveyorCollision object.

swa_sonic_isplayerwall (1368296714)

Used to indicate if a surface can be used for wall-jumping.

swa_isIce_ground (246659335)

If enabled, this'll make the ground slippery (like in Holoska in Sonic Unleashed). This requires for some extra files to be present to make it work, if these files are missing, the game will crash when the collision is touched by the player.

swa_col_specific (1330259859)

This is set to 1 by default, setting it to 2 or 3 will make the IKs for Sonic adjust to the terrain.

intersectional_way (1009866916)

Used in Casino Night Zone.

pinball_glass (2040148113)

Also used in Casino Night Zone.

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