Linedef type 414

From SRB2 Wiki
Jump to: navigation, search

Linedef type 414, Play Sound Effect, is a type of linedef executor which, when triggered, plays a specified sound effect.


The control linedef's front upper texture indicates the lump name of the sound to be played, e.g. DSALARM for the alarm sound effect. Consult the list of sounds for a list of available sound effects.

If the Block Enemies flag is checked, the sound is played from the center of the sector that triggered the linedef executor. If the Not Climbable flag is checked, the sound is played from nowhere, but only for the player who triggered it. If the Solid Midtexture flag is checked, the sound is played from nowhere for everyone. Otherwise, the sound is played from the location of the player or thing who triggered it.

Additionally, if this linedef is tagged to certain sectors or FOFs and the Repeat Midtexture flag is checked, the sound will also be played in those tagged sectors/FOFs. If the Repeat Midtexture flag is not checked, then the sound will only be played if the player or thing who triggered the effect is touching a tagged sector/FOF.


Example WAD: ex_ld414_playsoundeffect.wad
  • This example WAD can be played in any gametype. It uses MAP01, replacing Greenflower Zone Act 1.
  • This sample plays the sound effect DSGBEEP.

  Linedef types - Linedef executors [view]

ContinuousEach TimeOnceRing Count - ContinuousRing Count - OnceCharacter Ability - ContinuousCharacter Ability - Each TimeCharacter Ability - OnceRace Only - OnceCTF Red Team - ContinuousCTF Red Team - Each TimeCTF Blue Team - ContinuousCTF Blue Team - Each TimeNo More Enemies - OnceNumber of Pushables - Continuous Number of Pushables - OnceCondition Set Trigger - ContinuousCondition Set Trigger - OnceUnlockable - ContinuousUnlockable - OnceTrigger After X Calls - ContinuousTrigger After X Calls - Each TimeLevel Load

Set Tagged Sector's Floor Height/TextureSet Tagged Sector's Ceiling Height/TextureSet Tagged Sector's Light LevelChange Tagged Sectors' TagChange Front Sector's TagStart Adjustable Fire FlickerStart Adjustable Glowing LightStart Adjustable Blinking Light (unsynchronized)Start Adjustable Blinking Light (synchronized)Fade Light LevelStop Lighting EffectChange Plane Scroller Direction
Plane movement:
Move Tagged Sector's FloorMove Tagged Sector's CeilingMove Floor According to Front Texture OffsetsMove Ceiling According to Front Texture OffsetsStop Plane MovementStart Platform MovementCrush Ceiling OnceCrush Floor OnceCrush Ceiling and Floor Once
TeleporterChange Object StateStop ObjectAward ScoreEnable/Disable 2D ModeEnable/Disable Gravity FlipAward Power-UpDisable Player ControlChange Object SizeChange Object Type State
Change MusicPlay Sound EffectRun ScriptSwitch to Cut-Away ViewChange SkyChange WeatherShatter FOFChange Tagged Linedef's TexturesStart Metal Sonic RaceCondition Set TriggerCall Lua FunctionEarthquakeMake FOF Disappear/ReappearExecute Linedef Executor (from Tag)Execute Linedef Executor (Random Range)
Door SlideDoor SwingMoveMove, OverrideRotate RightRotate Right, OverrideRotate LeftRotate Left, OverrideMove by WaypointsTurn Invisible, IntangibleTurn Visible, TangibleSet Translucency