Linedef type 422

From SRB2 Wiki
Jump to: navigation, search
By using the cut-away view, the camera position can be switched to a fixed point on the map. Here, the character can walk around while the camera stands still.

Linedef type 422, Switch to Cut-Away View, is a type of linedef executor which, when triggered, switches the camera scene to a view from a different place for a specified length of time. Note that this effect only works for linedef executors triggered by a player; it will not work if activated by something else, such as a pushable Object.


This linedef should be tagged to the desired target sector within the map. This target sector should also contain an Alternative View Point. The Z-offset of the Alternative View Point will determine the height of the cut-away view. The Angle of the Alternative View Point will adjust the angle of the cut-away view. The length of the control linedef indicates how long to stay in this view, in tics.

If the Not Climbable flag is checked, you can also adjust the pitch (vertical viewing angle) of the cut-away view. In this case, the pitch will be determined by the control linedef's front texture X offset. The angles are expressed in degrees, so the offset should be between -90 and 90.


Example WAD: ex_ld422_cutawayview.wad

  Linedef typesLinedef executors [view]

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

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
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