Spmod entities

ft_mod_slowburn


Map Entity Color: (.7 .3 .4) (COLOR PREVIEW)
Dimensions: (-16 -16 -16) (16 16 16)
SPMod only. Slowburn mod for the flamethrower (weapon_flamethrower), reduces gaz consumption.
Spawnflags
1TRIGGER_SPAWNMust be triggered to appear.
2NO_TOUCH
128TRIGGER_PICKUPPicked up when triggered (SPMod only).
256NOT_EASYDo not spawn if skill = 0.
512NOT_MEDIUMDo not spawn if skill = 1.
1024NOT_HARDDo not spawn if skill >= 2.
2048NOT_DEATHMATCHDo not spawn in Deathmatch.
4096NOT_COOPDo not spawn in Coop.
Keys
targetnameThis entity's ID
targetEntity's ID to trigger when picked up
killtargetID of the entity to delete when picked up

misc_model


Map Entity Color: (0 .5 .8) (COLOR PREVIEW)
Dimensions: (-16 -16 -16) (16 16 16)
Display a non-solid model. If pawn_index2 is set, then the model is animated.
Spawnflags
1START_OFFSet default state to OFF.
2IMPORTANTDefined as reliable, always have priority on other effects.
4NON_LOOPED
8GLOW
16NO_SHADOWDisable shadow casting.
32DIR_LIGHT
64FULLBRIGHT
128SURF2_ALPHAAlpha-blending render, no depth sorting!
Keys
angleFacing direction
scaleModel scale -- 0 to 1 (default=1)
modelModel filename (.MD2 or .MDX)
pawn_index1First frame (default frame)
pawn_index2Last frame
pawn_index3When set, defines opacity level -- 1 to 255
targetnameThis entity's ID, toggle display when triggered

pistol_mod_accuracy


Map Entity Color: (.7 .3 .4) (COLOR PREVIEW)
Dimensions: (-16 -16 -16) (16 16 16)
SPMod only. Accuracy mod for the pistol (weapon_pistol, weapon_spistol), increases accuracy.
Spawnflags
1TRIGGER_SPAWNMust be triggered to appear.
2NO_TOUCH
128TRIGGER_PICKUPPicked up when triggered (SPMod only).
256NOT_EASYDo not spawn if skill = 0.
512NOT_MEDIUMDo not spawn if skill = 1.
1024NOT_HARDDo not spawn if skill >= 2.
2048NOT_DEATHMATCHDo not spawn in Deathmatch.
4096NOT_COOPDo not spawn in Coop.
Keys
targetnameThis entity's ID
targetEntity's ID to trigger when picked up
killtargetID of the entity to delete when picked up

target_noweapon


Map Entity Color: (1 0 0) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
SPMod only. Toggle bar mode when triggered (force weapon holstering).
Keys
targetnameThis entity's ID

target_register_epflag


Map Entity Color: (1 .5 0) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
SPMod only. Register a pre-defined episode flag, must be triggered.
Keys
noiseWav file to play when triggered
messageFlagname as defined in EPLOGS.KPL

target_savegame


Map Entity Color: (1 .5 0) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
SPMod only. Save game when triggered.
Spawnflags
1ONCE
Keys
targetnameThis entity's ID
messageSavegame name (default=quick)

trigger_observer


Map Entity Color: (1 0 0) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
SPMod only. When triggered, this entity observes the player's behavior. If any of the selected spawnflag is true, the targeted entities are triggered (if ALL_TRUE is set, all selected spawnflags must be true). This entity is turned off everytime the selected events happened unless DONT_STOP is set.
Spawnflags
1MAKE_NOISE
2MORE_HEALTH_THAN
4LESS_HEALTH_THAN
8DRAW_GUN
16HIDE_GUN
32RELOAD_GUN
64NON_MELEE
128DONT_STOP
Keys
targetnameThis entity's ID
targetEntity to trigger
style0=at least one of the conditions is true, 1=all conditions must be true (default=0)
delayDelay in seconds between two checks (default=0.1)
health_thresholdUse with spawnflag 2 (player health >= health_threshold)
health_threshold2Use with spawnflag 4 (player health <= health_threshold2)

trigger_superkey


Map Entity Color: (1 .5 0) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
SPMod only. When triggered, this entity will activate all targeted entities IF an item is present (or not) in the player's inventory or if an episode flag is registered (or not).
Spawnflags
1PRESENT
2ONCE
Keys
style0=item, 1=episode flag (default=0)
nameItem name as displayed in inventory (if style=0) or episode flag name as defined in KPL (if style=1) (CASE SENSITIVE!)
targetEntities' ID to trigger
targetnameThis entity's ID
killtargetID of the entity to delete when triggered

trigger_switcharea


Map Entity Color: (0 .5 .8) (COLOR PREVIEW)
Dimensions: Size of map components used
SPMod only. Trigger an entity or toggle on/off episode flags when walking in or out of an area (set area's direction with angle), link multiple markers to a same area with targetname. Use START_IN only if the player starts INSIDE the area. You may create ONE master for quick check on mapload). Works pretty much like rc_initiation_brush and ai_territory.
Spawnflags
1START_IN
2NO_IN
4NO_OUT
8MASTER
Keys
angleArea's direction
targetnameThe area's name
targetEntity to trigger
nameEpisode flag name to toggle