Collision Values

From Luma's Workshop
Jump to navigation Jump to search

Collision values are values that are assigned to a face that changes that face's behavior when the player interacts with it. They can be customized to have different effects when collided with, and also play a variety of sound effects.

Super Mario Galaxy 1

Floor Codes

Name Description
Normal
Death
Slip
NoSlip
DamageNormal
Ice
JumpLow
JumpMiddle
JumpHigh
Slider
DamageFire
JumpNormal
FireDance
Sand
Glass
DamageElectric
PullBack
Sink
SinkPoison
Slide
WaterBottomH
WaterBottomM
WaterBottomL
Wet
Needle
SinkDeath
Snow
RailMove
AreaMove
Press
NoStampSand
SinkDeathMud
Brake
GlassIce
JumpParasol

Sound Codes

Name Description
Normal
null
Soil
Lawn
DamageNormal
Stone
Marble
WoodThick
WoodThin
Metal
Snow
Ice
Shallow
Sand
Beach
Carpet
Mud
Honey

Super Mario Galaxy 2

Floor Codes

Name ID Description
Normal 0 The normal floor code.
Death 1 Kills the player on contact
Slip 2 Encourages slipping
NoSlip 3 Disables slipping
DamageNormal 4 Causes the player to recieve knockback damage
Ice 5 Shake the Wii Remote to start skating
JumpLow 6 Bounces the player
JumpMiddle 7 Bounces the player further
JumpHigh 8 Bounces the player super far
Slider 9 Forcefully makes the player slide when standing on the surface. In order to prevent softlocking, the surface should not be flat.
DamageFire 10 Causes the player to get burned by fire. Use this for Lava. Also applies to Walls.
JumpNormal 11 Jumps the same height as JumpLow
FireDance 12 Any Dry Bones that exist will not wander onto this collision code unless they are chasing the player.
Sand 13 Sand collision. Includes footprints, and the ability to get stuck in the sand.
Glass 14 Disables the player's shadow, and enable a reflection model to be displayed.
DamageElectric 15 Electrocutes the player.
PullBack 16 Activates the recovery bubble when the player touches
Sink 17 Slow quicksand that causes the player to sink when standing in it. The player can still move around and jump to escape death.
SinkPoison 18 Just like Sink, but damages the player over time.
Slide 19 Forcefully maintains the player's momentum. Use this on the top of fences to prevent players from standing on it.
WaterBottomH 20 Emits water surface effects at the chest level of the player.
WaterBottomM 21 Emits water surface effects at the waist level of the player.
WaterBottomL 22 Emits water surface effects at the knee level of the player.
Wet 23 Emits water surface effects at the player's feet. Does not passively emit particles, unlike the other WaterBottom codes. Use for wet surfaces.
Needle 23 Causes the player to get damaged by spikes, causing the player to jump high and run around a bit. Similar to Lava, this also applies to walls.
SinkDeath 24 Fast quicksand that the player cannot escape. The player cannot move. Only spam (A) to stall death.
Snow 25 Enables footprints when walking around. Also snow particles when moving around.
RailMove 26 This is a special floor code that only certain planets can use. It allows a rail to push the player along a path. Touching this floor code with
AreaMove 27 Standing on this floor code will activate AreaMoveSphere, which pushes the player away from the center of the area.
Press 28 Allows the player to get crushed to death.
NoStampSand 29 Sand without footprints.
SinkDeathMud 30 Deadly poison. Functionally similar to SinkDeath, but with particles designed for poison death mud.
Brake 31 Mud Surface. It prevents the player from jumping normally and makes the player move slower. Yoshi is unaffected walking on this code.
GlassIce 32 Disables the player's shadow, and enables the reflection model. You can skate on this surface.
JumpParasol 33 Same as JumpLow.
Oil 34 Slippery like Ice, but you cannot skate on it.
NoDig 35 Prevents the Spin Drill from drilling through this surface.
Lawn 36 Spinning brings up some grass particles. Otherwise acts normally
Cloud 37 Normal collision, just with special cloud particle effects.
PressAndNoSlip 38 Press, but prevents slipping like NoSlip
ForceDash 39 When stepping on this, all ForceDashCube's will be activated, giving the Rock Mushroom the speed of the area.
DarkMatter 40 Instantly kills the player with a gruesome disintegration animation.
Dust 41 Emits dust particles when walking.
SnowAndNoSlip 42 Snow, but prevents slipping like NoSlip.

Sound Codes

Name Description
Normal
null
Soil
Lawn
DamageNormal
Stone
Marble
WoodThick
WoodThin
Metal
Snow
Ice
Shallow
Sand
Beach
Carpet
Mud
Honey
MetalHeavy
Marble_Snow
Marble_Soil
Metal_Soil
Cloud
Marble_Beach
Marble_Sand

Both

The wall and camera code tables are the same in both games.

Wall Codes

Name Description
Normal
NotWallJump
NotWallSlip
NotGrab
DamageNormal
GhostThroughCode
NotSlideStep
Rebound
Fur
NoAction

Camera Codes

Name Description
NoThrough Does not allow the camera to clip through the face.
Through Allows the camera to clip through the face.