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.

Setup

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 Object 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 Object who triggered the effect is touching a tagged sector/FOF.

Sample

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 typesLinedef executors [view]
Triggers:

ContinuousEach TimeOnce • Ring Count (ContinuousOnce) • Character Ability (ContinuousEach TimeOnce) • Race Only – Once • CTF Red Team (ContinuousEach Time) • CTF Blue Team (ContinuousEach Time) • No More Enemies – Once • Number of Pushables (ContinuousOnce) • Condition Set Trigger (ContinuousOnce) • Unlockable (ContinuousOnce) • Trigger After X Calls (ContinuousEach Time) • Level Load


Actions:
Sector:
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 Flickering LightStart Adjustable Pulsating 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
Player/Object:
TeleporterChange Object StateStop ObjectAward ScoreEnable/Disable 2D ModeEnable/Disable Gravity FlipAward Power-UpDisable Player ControlChange Object SizeChange Object Type State
Other:
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)
PolyObject:
Door SlideDoor SwingMoveMove, OverrideRotate RightRotate Right, OverrideRotate LeftRotate Left, OverrideMove by WaypointsTurn Invisible, IntangibleTurn Visible, TangibleSet Translucency