Loner-StrikeReference

Reference

Files

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

Model

valueasset.model

A model file (models/....mdl), loaded with the map. Files are picked, never made from text: the game loads every file a mode can use before the map starts. Keep it in a variable, an array or a Function's input like any value.

Outputs (1)
Model Model
The model.
Settings (1)
Model
Picked from this mode's own pieces. Default: models/w_weaponbox.mdl.

Sprite

valueasset.sprite

A sprite file (sprites/....spr), loaded with the map. Files are picked, never made from text: the game loads every file a mode can use before the map starts. Keep it in a variable, an array or a Function's input like any value.

Outputs (1)
Sprite Sprite
The sprite.
Settings (1)
Sprite
Picked from this mode's own pieces. Default: sprites/arrow1.spr.

Sound

valueasset.sound

A sound file (a .wav from inside sound/), loaded with the map. Files are picked, never made from text: the game loads every file a mode can use before the map starts. Keep it in a variable, an array or a Function's input like any value.

Outputs (1)
Sound Sound
The sound.
Settings (1)
Sound
Picked from this mode's own pieces. Default: items/gunpickup2.wav.

File Name Of

valueasset.file_name

A Model's, Sprite's or Sound's file name as text (models/....mdl; a sound from inside sound/), to show or log it. Empty when it's none.

Inputs (1)
File Anything
File: any value. Needs a wire.
Outputs (1)
Name Text
Name: text.

Decal

valueasset.decal

A kind of decal from the game's decals.wad (bullet hole, scorch, blood...): keep it in a variable or an array, and wire it into Place Decal, which picks one of that kind.

Outputs (1)
Decal Decal
The decal.
Settings (1)
Decal
Pick one: Bullet hole, Big bullet hole, Scorch mark, Small scorch, Blood, Yellow blood, Broken glass, Lambda. Default: scorch.

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