Linedef type 332, Player Skin – Each Time, is a type of linedef executor trigger which activates any linedef executor in the control sector once for each time a player with the specified skin name activates a tagged trigger sector.
Setup
The skin name should be written across the control linedef's front upper textures. It must match the name
field provided in the character's S_SKIN
lump. If Flag [6] / Not Climbable is set, the linedef executor will trigger for any skin except those with the specified name. If Flag [14] / Bouncy Wall is set, the trigger will activate once for each time a player enters or exits the trigger sector.
Valid Skin names for default characters are as follows:
SONIC |
TAILS |
KNUCKLES |
AMY |
FANG |
METALSONIC
|
 |
 |
 |
 |
 |
|
Linedef special info
|
|
Front upper texture
|
Skin name
|
|
Front middle texture
|
Skin name, continued
|
|
Front lower texture
|
Skin name, continued
|
|
Linedef flags
|
[6] Not Climbable: Trigger for every skin except the specified one [14] Bouncy Wall: Trigger is activated once per entry or exit from the trigger sector.
|
|
Sample
- Example file: ex_ld332_trigger_playerskineachtime.wad (MAP01)
- Stepping on the red floor as Sonic will raise the sector with the grassy floor.
- Stepping on the green floor as Sonic will let go the sector with the grassy floor.
How to use |
---|
- You may load this file into your favorite map editor, such as Zone Builder. Select
MAP01 as the map to load.
- You may also load this file in the game:
- Save
ex_ld332_trigger_playerskineachtime.wad into the addons folder of your SRB2 directory.
- Start SRB2, go to the Addons menu, and then select
ex_ld332_trigger_playerskineachtime.wad .
- Start the game in Single Player mode.
- Press the Console button (
~ ), and type in the command MAP MAP01 to access the example map.
- When you load this file in the game, it replaces Greenflower Zone Act 1.
|