Jump to content

Linedef type 439

From SRB2 Wiki

Linedef type 439, Change Tagged Linedef's Textures, is a type of linedef executor which, when triggered, changes the textures of all tagged linedefs.

Setup

This linedef should be tagged to all linedefs whose textures should be changed. Normally, the control linedef's front side texture fields determine the new textures for both sides of the target linedef, i.e., both the front upper texture and the back upper texture of the target linedef are set to the front upper texture of the control linedef. If Flag [13] / Effect 6 is set, the control linedef's back side textures determine the new textures for the target linedef's back side.

The table below shows which of the control texture linedef's textures each texture field on the target linedef will be changed to:

Upper texture Middle texture Lower texture
Target's front side Front upper texture Front middle texture Front lower texture
Target's back side (no flag) Front upper texture Front middle texture Front lower texture
Target's back side (Effect 6) Back upper texture Back middle texture Back lower texture

By default, all textures on the target linedef will be changed regardless of whether textures were set in each field previously or not. If the target linedef does not have a back side, the target's back side texture fields will not be affected. If the control linedef does not have a texture set for a particular texture field, the corresponding texture fields on the target linedef will change to have no texture set as well. If Flag [6] / Not Climbable is checked, textures are only changed if the corresponding texture field of the target linedef already has a texture set; texture fields without a texture set will be unchanged.

Sample

Example file: ex_ld439_changetexture.wad (MAP01)
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:
    1. Save ex_ld439_changetexture.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld439_changetexture.wad.
    3. Start the game in Single Player mode.
    4. 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.



  Linedef types – Linedef executors [view]
Triggers:

Continuous • Each Time • Once • Ring Count (Continuous • Once) • Character Ability (Continuous • Each Time • Once) • Race Only – Once • CTF Red Team (Continuous • Each Time) • CTF Blue Team (Continuous • Each Time) • No More Enemies – Once • Number of Pushables (Continuous • Once) • Condition Set Trigger (Continuous • Once) • Unlockable (Continuous • Once) • Trigger After X Calls (Continuous • Each Time) • NiGHTSerize (Each Time • Once) • De-NiGHTSerize (Each Time • Once) • NiGHTS Lap (Each Time • Once) • Ideya Capture Touch (Each Time • Once) • Player Skin (Continuous • Each Time • Once) • Object Dye (Continuous • Each Time • Once) • Emerald Check (Continuous • Each Time • Once) • NiGHTS Mare (Continuous • Each Time • Once) • Gravity Check (Continuous • Each Time • Once) • Level Load


Actions:
Sector:
Set Tagged Sector's Floor Height/Texture • Set Tagged Sector's Ceiling Height/Texture • Copy Light Level to Tagged Sectors • Set Tagged Sector's Flats • Change Tagged Sectors' Tag • Change Front Sector's Tag • Start Adjustable Flickering Light • Start Adjustable Pulsating Light • Start Adjustable Blinking Light (unsynchronized) • Start Adjustable Blinking Light (synchronized) • Fade Light Level • Stop Lighting Effect • Change Plane Scroller Direction • Set Tagged Sector's Light Level
Plane movement:
Move Tagged Sector's Floor • Move Tagged Sector's Ceiling • Move Floor According to Front Texture Offsets • Move Ceiling According to Front Texture Offsets • Stop Plane Movement • Start Platform Movement • Crush Ceiling Once • Crush Floor Once • Crush Ceiling and Floor Once
Player/Object:
Teleporter • Change Object State • Stop Object • Award Score • Enable/Disable 2D Mode • Enable/Disable Gravity Flip • Award Power-Up • Disable Player Control • Change Object Size • Change Object Type State • Enable Bosses with Parameter • Track Object's Angle • Stop Tracking Object's Angle • Award Rings • Spawn Object • Stop Timer/Exit Stage in Record Attack • Dye Object • Trigger Egg Capsule
Other:
Change Music • Play Sound Effect • Run Script • Switch to Cut-Away View • Change Sky • Change Weather • Shatter FOF • Change Tagged Linedef's Textures • Start Metal Sonic Race • Condition Set Trigger • Call Lua Function • Earthquake • Make FOF Disappear/Reappear • Make FOF Crumble • Change Tagged Sector's Colormap • Change Skybox • Execute Linedef Executor (from Tag) • Execute Linedef Executor (Random Range) • Set FOF Translucency • Fade FOF • Stop Fading FOF • Fade Tagged Sector's Colormap • Stop Fading Tagged Sector's Colormap • Control Text Prompt • Toggle Level Fail
PolyObject:
Door Slide • Door Swing • Move • Move, Override • Rotate Right • Rotate Right, Override • Rotate Left • Rotate Left, Override • Move by Waypoints • Turn Invisible, Intangible • Turn Visible, Tangible • Set Translucency • Fade Translucency