Linedef type 333, Player Skin – Once, is a type of linedef executor trigger which activates any linedef executor in the control sector when a player with the specified skin name activates a tagged trigger sector. This linedef executor will trigger only the first time, and cannot be triggered again until the level is reloaded.
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.
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
|
|
Sample
- Example file: ex_ld333_trigger_playerskinonce.wad (MAP01)
- Stepping on the red floor as Sonic will raise 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_ld333_trigger_playerskinonce.wad into the addons folder of your SRB2 directory.
- Start SRB2, go to the Addons menu, and then select
ex_ld333_trigger_playerskinonce.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.
|