monster_generic
Last edited 1 month ago2024-09-24 04:31:54 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
Used to spawn
models for use with scripted sequences (
scripted_sequence
and
aiscripted_sequence
).
Attributes
- Name (targetname) - Property used to identify entities.
- Pitch Yaw Roll (Y Z X) (angles) - Sets the pitch (up / down), yaw (left / right) and roll (bank) respectively. The compass in WorldCraft / Hammer / J.A.C.K. corresponds to Yaw. Monsters will spawn facing this direction.
- Patrol Path or Target (target) - Name of a
path_corner
that the monster entity would start patrolling.
- Render FX (renderfx) - Gives objects special render effects. Think of it as modifying whatever the Render Mode puts out. The options are as follows:
- 0 = Normal
- 1 = Slow Pulse
- 2 = Fast Pulse
- 3 = Slow Wide Pulse
- 4 = Fast Wide Pulse
- 5 = Slow Fade Away
- 6 = Fast Fade Away
- 7 = Slow Become Solid
- 8 = Fast Become Solid
- 9 = Slow Strobe
- 10 = Fast Strobe
- 11 = Faster Strobe
- 12 = Slow Flicker
- 13 = Fast Flicker
- 14 = Constant Glow
- 15 = Distort
- 16 = Hologram (Distort and Fade)
- Render Mode (rendermode) - Controls the type of rendering that is used for an object. Options are:
- 0 = Normal
- 1 = Color
- 2 = Texture
- 3 = Glow
- 4 = Solid
- 5 = Additive
- FX Amount (0 - 255) (renderamt)
- FX Color (R G B) (rendercolor)
- Trigger Target (TriggerTarget) - The event to trigger when the Trigger Condition is met. Used by monsters.
- Trigger Condition (TriggerCondition) - This controls the condition under which a monster will trigger its Trigger Target. The options are:
- 0 = No Trigger
- 1 = See Player, Mad at Player
- 2 = Take Damage
- 3 = 50% Health Remaining
- 4 = Death
- 7 = Hear World
- 8 = Hear Player
- 9 = Hear Combat
- 10 = See Player Unconditional
- 11 = See Player, Not In Combat
- Animation Sequence (editor) (sequence)
- Model (model) - Sets the model to use.
- Body (body) - Sets the model's bodygroup combination.
- Skin (skin) - Sets the model's skin.
Flags
- WaitTillSeen (1) - Stands in place until seen by a player.
- Gag (2) - Makes no idle sounds.
- MonsterClip (4) - Makes
func_monsterclip
solid/impassable to this monster.
- Prisoner (16) - Won't attack, or be attacked by, other monsters.
- WaitForScript (128) - Does nothing, not implemented.
- Pre-Disaster (256) - For some NPCs, switch to pre-disaster dialogues and behaviour (busy and won't follow players).
- Fade Corpse (512)
Notes
- Spawns with only 8 HP.
- Classified as a player ally. Enemies with the military and alien factions, and will try to attack them if any animation with the appropriate ACTs exists in the .mdl file.
- If the Not solid flag is checked, will be immune to damage.
- The model's origin should be on the ground. Sole exceptions are
models/player.mdl
and models/holo.mdl
which have their centered origins (like DM player models) adjusted automatically.
Comments
You must log in to post a comment.
You can login or register a new account.