Loner-StrikeReference

Reference

HUD & View

12 Game Mode Studio nodes. Pick one for its pins, settings and limits.

actionHide HUD PartsHides parts of a player's HUD (or everyone's): the crosshair, money, the round timer, the radar with health and armor (one switch in the game), the weapon and ammo panel, the flashlight icon.actionSet Field of ViewHow wide a player sees (or everyone): 90 is normal, less zooms in, more is a fish-eye.actionSet Weapon View ModelThe model a player sees in their own hands (models/v_...mdl) for the weapon in hand or a chosen weapon, kept whenever they take it out again; also, if set, the model others see them hold (models/p_...mdl).actionFlashlightTurns a player's flashlight on or off, lets them use it or not (F), and sets its battery (0 to 100; -1 leaves it).actionNight VisionGives a player night vision goggles or takes them, or turns them on or off (giving them first if needed).actionSilent FootstepsA player's footsteps make no sound (on) or sound again (off).actionScoreboard TagShows VIP, Bomb or Dead next to a player's name on everyone's scoreboard (or none: the game's own again).actionScoreboard Team ColorShows a player as a Terrorist, Counter-Terrorist or spectator in everyone's game (name color, scoreboard section) without moving them: their real team, spawns and rules stay.actionForce SpectateMakes a dead player or a spectator watch Target through their eyes, and keeps them on Target until Release (or Target leaves).actionPlay SoundtrackPlays a Half-Life soundtrack track for everyone or one player (the game's own music files, as a map's trigger_cdaudio does), looping if asked; or stops it.actionRadar BlipA dot on players' radar at a position or an entity (everyone's, a team's or only Viewer's), or takes it off.actionShow Team ScoreShows a team's score on everyone's scoreboard (the number only: the game's own count of rounds won is unchanged and is shown again when the next round ends).

Hide HUD Parts

actioneng.hide_hud

Hides parts of a player's HUD (or everyone's): the crosshair, money, the round timer, the radar with health and armor (one switch in the game), the weapon and ammo panel, the flashlight icon. Nothing ticked shows it all again. It stays through the game redrawing the HUD; Back to normal on death/respawn ends it there.

Inputs (2)
Run Flow
Runs this node.
Player (empty: everyone) Player
Player (empty: everyone): a player. Optional.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (7)
Crosshair
On or off. Default: true.
Money
On or off. Default: false.
Round timer
On or off. Default: false.
Radar, health and armor
On or off. Default: false.
Weapon and ammo panel
On or off. Default: false.
Flashlight icon
On or off. Default: false.
Back to normal on death/respawn
On or off. Default: true.
Notes (1)

Uses the game's own HUD switches (HideWeapon), so it costs nothing while it's on. The radar, health and armor are one switch in Counter-Strike. A spectator's own HUD isn't touched.

Set Field of View

actioneng.fov

How wide a player sees (or everyone): 90 is normal, less zooms in, more is a fish-eye. A sniper scope still zooms and comes back to this. Back to normal on death/respawn puts 90 back there.

Inputs (3)
Run Flow
Runs this node.
Player (empty: everyone) Player
Player (empty: everyone): a player. Optional.
Degrees Number
Degrees: a number. Leave it empty to use the setting.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (2)
Degrees
A number from 10 to 170. A wire into the pin of the same name is used instead. Default: 90.
Back to normal on death/respawn
On or off. Default: true.
Notes (1)

Scopes still work: a sniper zooms in and goes back to this field of view. Very wide or very narrow views can make people feel sick; keep it between 60 and 120 for long play.

Set Weapon View Model

actioneng.view_model

The model a player sees in their own hands (models/v_...mdl) for the weapon in hand or a chosen weapon, kept whenever they take it out again; also, if set, the model others see them hold (models/p_...mdl). Back to normal model puts the game's own back. Your own models are loaded with the map and go with the mode when you publish it.

Inputs (2)
Run Flow
Runs this node.
Player Player
The player. Needs a wire.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (4)
Weapon
Pick one: The one in hand, Knife, AK-47, M4A1, AWP, Scout, FAMAS, Galil, AUG, SG 552, MP5, P90…. Default: current.
View model
Picked from this mode's own pieces. Default: models/v_knife.mdl.
Model others see (empty: unchanged)
Picked from this mode's own pieces.
Back to normal model
On or off. Default: false.
Notes (2)

The model must be a file under models/ (the game's own, like models/v_knife.mdl, or your own). A file that isn't there is left out and the weapon keeps its own model. Only the look changes: damage, speed and sounds are the weapon's.

Careful: Each model the mode uses is loaded with the map (the game has a limit of 512 models).

Flashlight

actioneng.flashlight

Turns a player's flashlight on or off, lets them use it or not (F), and sets its battery (0 to 100; -1 leaves it).

Inputs (2)
Run Flow
Runs this node.
Player Player
The player. Needs a wire.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (2)
Do
Pick one: Turn it on, Turn it off, Let them use it, Don't let them use it. Default: on.
Battery
A number from -1 to 100. Default: -1.
Limits (1)
Effect messages a frame
48 by default; hosts can raise it to 64. Above 56 the server may slow down.
Notes (1)

Don't let them use it also turns it off; Let them use it undoes that. The battery is what the HUD shows; it drains and recharges as usual.

Night Vision

actioneng.nightvision

Gives a player night vision goggles or takes them, or turns them on or off (giving them first if needed). The same in Counter-Strike and Condition Zero.

Inputs (2)
Run Flow
Runs this node.
Player Player
The player. Needs a wire.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Do
Pick one: Give goggles, Take goggles, Turn on, Turn off. Default: give.
Limits (1)
Effect messages a frame
48 by default; hosts can raise it to 64. Above 56 the server may slow down.

Silent Footsteps

actioneng.footsteps

A player's footsteps make no sound (on) or sound again (off). It lasts until turned off or they leave.

Inputs (2)
Run Flow
Runs this node.
Player Player
The player. Needs a wire.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Silent
On or off. Default: true.
Bots (1)

Only the footstep sounds: jumping and landing still make noise, and bots still hear players who shoot.

Notes (1)

Only the footstep sounds: jumping and landing still make noise, and bots still hear players who shoot.

Scoreboard Tag

actioneng.score_tag

Shows VIP, Bomb or Dead next to a player's name on everyone's scoreboard (or none: the game's own again). Only the tag: they aren't really the VIP, carrying the bomb or dead. Clear on death/respawn ends it there.

Inputs (2)
Run Flow
Runs this node.
Player Player
The player. Needs a wire.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (2)
Tag
Pick one: None (the game's own), VIP, Bomb, Dead. Default: vip.
Clear on death/respawn
On or off. Default: false.
Limits (1)
Effect messages a frame
48 by default; hosts can raise it to 64. Above 56 the server may slow down.
Notes (1)

The game sends the tags again when someone dies, spawns or picks up the bomb; this one is put back on each time until it's set to None.

Scoreboard Team Color

actioneng.score_color

Shows a player as a Terrorist, Counter-Terrorist or spectator in everyone's game (name color, scoreboard section) without moving them: their real team, spawns and rules stay. Real team undoes it. Side effects: the radar and name tags follow what's shown, and the player's own buy menu and team HUD do too.

Inputs (2)
Run Flow
Runs this node.
Player Player
The player. Needs a wire.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Show as
Pick one: Terrorist, Counter-Terrorist, Spectator, Real team. Default: t.
Limits (1)
Effect messages a frame
48 by default; hosts can raise it to 64. Above 56 the server may slow down.
Notes (1)

Careful: Players can be confused about who's on which team; say so in the mode's description.

Force Spectate

actioneng.spectate

Makes a dead player or a spectator watch Target through their eyes, and keeps them on Target until Release (or Target leaves). A living player is refused.

Inputs (3)
Run Flow
Runs this node.
Watcher Player
Watcher: a player. Needs a wire.
Target Player
Target: a player. Optional.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Do
Pick one: Watch Target, Release. Default: watch.
Notes (1)

The watcher sees through Target's eyes and can't switch away while it lasts. When Target dies they keep watching the body until Release or a new Target.

Play Soundtrack

actioneng.soundtrack

Plays a Half-Life soundtrack track for everyone or one player (the game's own music files, as a map's trigger_cdaudio does), looping if asked; or stops it. Players hear it only if their game has the soundtrack (Steam's Half-Life files do).

Inputs (2)
Run Flow
Runs this node.
Player (empty: everyone) Player
Player (empty: everyone): a player. Optional.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (3)
Do
Pick one: Play, Stop. Default: play.
Track
Pick one: 2: Adrenaline Horror, 3: Vague Voices, 4: Klaxon Beat, 5: Space Ocean, 6: Cavern Ambiance, 7: Apprehensive Short, 8: Bass String Short, 9: Hurricane Strings, 10: Diabolical Adrenaline Guitar, 11: Valve Theme (long), 12: Nepal Monastery, 13: Alien Shock…. Default: 2.
Loop
On or off. Default: false.
Limits (1)
Effect messages a frame
48 by default; hosts can raise it to 64. Above 56 the server may slow down.
Notes (1)

The tracks are the Half-Life soundtrack's, numbered as the game numbers them (2 is the first). It's the player's own music volume (MP3 volume in the options).

Radar Blip

actionhud.radar_blip

A dot on players' radar at a position or an entity (everyone's, a team's or only Viewer's), or takes it off. Hostage dots: four slots, each one dot (a hostage map's own hostages share the game's dots). Bomb dot: one, the dropped-bomb dot (the game moves it when the real bomb drops or is picked up).

Inputs (4)
Run Flow
Runs this node.
At Entity
At: an entity (a thing in the map). Optional.
Position Vector
The position. Optional.
Viewer Player
Viewer: a player. Optional.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (4)
Do
Pick one: Show, Take off. Default: show.
Dot
Pick one: Hostage dot, Bomb dot. Default: hostage.
Slot (hostage dots)
Pick one: 1, 2, 3, 4. Default: 1.
Seen by
Pick one: Everyone, Terrorists, Counter-Terrorists, Only Viewer. Default: all.
Limits (1)
Effect messages a frame
48 by default; hosts can raise it to 64. Above 56 the server may slow down.

Show Team Score

actionhud.team_score

Shows a team's score on everyone's scoreboard (the number only: the game's own count of rounds won is unchanged and is shown again when the next round ends).

Inputs (2)
Run Flow
Runs this node.
Score Number
Score: a number. Leave it empty to use the setting.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (2)
Team
Pick one: Terrorists, Counter-Terrorists. Default: t.
Score
A number from 0 to 32767. A wire into the pin of the same name is used instead. Default: 0.
Limits (1)
Effect messages a frame
48 by default; hosts can raise it to 64. Above 56 the server may slow down.

Made from the app's own catalog (nodes.json, nodehelp.json, limits.ts), so it matches the app.