Skip to main content

monstermaker

monstermaker icon
Point entity

A monstermaker makes monsters while the map runs, one every Frequency seconds while it is on, until it has made its Number of Monsters. It can pass names, paths, weapons, flags and any other key on to the monsters it makes.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Render FXrenderfx

Sets an effect that the engine adds on top of the Render Mode.

The 19 choices
  • Normal (0)
  • Slow Pulse (1)
  • Fast Pulse (2)
  • Slow Wide Pulse (3)
  • Fast Wide Pulse (4)
  • Slow Strobe (9)
  • Fast Strobe (10)
  • Faster Strobe (11)
  • Slow Flicker (12)
  • Fast Flicker (13)
  • Slow Fade Away (5)
  • Fast Fade Away (6)
  • Slow Become Solid (7)
  • Fast Become Solid (8)
  • Constant Glow (14)
  • Distort (15)
  • Hologram (Distort + fade) (16)
  • Bulge Sideways (18)
  • Glow Shell (19)
Render Moderendermode

Sets how the entity is drawn.

  • Normal (0)
  • Color (1)
  • Texture (2)
  • Glow (3)
  • Solid (4)
  • Additive (5)
FX Amountrenderamt

Sets how visible the entity is, from 1 up to 255.

FX Colorrendercolor

Sets the color for the Render Mode Color and the Render FX Glow Shell.

Target On Releasetarget

Fires each time the maker makes a monster, before the monster appears, or after it if you set Target's Activator.

Children's Namenetname

Gives every monster the maker makes this name.

Children's squad namesquadname

Gives every monster the maker makes this squad name.

Children's weaponsweapons

Gives every Fed the maker makes these weapons, and for a Fed with heavy weapons, 1 gives the chaingun and 8 the sniper rifle.

  • The monster's own (0) - Each Fed keeps its own weapons
  • Federal (1)
  • Federal + HG (3)
  • Federal + GL (5)
  • Saan Auto-Shotgun (8)
  • Saan Auto-Shotgun + HG (10)
Default The monster's own (0)
Children's Ignore Friendly DamageFf

Sets whether every Fed, Assassin and turret the maker makes ignores damage from its allies.

  • No (0)
  • Yes (1)

If you leave this key empty, it is No.

Default No (0)
Children's Target (path)childtarget

Names the path_corner or path_track that every monster the maker makes walks or flies along.

If you leave this key empty, the monsters get no path.

Children's TriggerTargetchildtriggertarget

Gives every monster the maker makes this TriggerTarget, which the monster fires when its Children's Trigger Condition happens.

Children's Trigger Conditionchildtriggercondition

Gives every monster the maker makes this Trigger Condition, which works like a monster's own.

The 10 choices
  • No Trigger (0)
  • See Player, Mad at Player (1)
  • Take Damage (2)
  • 50% Health Remaining (3)
  • Death (4)
  • Hear World (7)
  • Hear Player (8)
  • Hear Combat (9)
  • See Player Unconditional (10)
  • See Player, Not In Combat (11)
Default No Trigger (0)
Children's spawnflagschildspawnflags

Gives every monster the maker makes these flags on top of its own, as the sum of the monster's flag values, so for example 32 gives a monster_apache Fire Rockets. An Apache that the maker makes only waits for a trigger with 64 (Start Inactive), and not with 4, because bit 4 is this maker's MonsterClip for its monsters.

Default 0
Monster Typemonstertype

Sets the kind of monster the maker makes. "Rappelling Fed" and "Rappelling Fed Hunter" make a rope spot instead, so you fire the Children's Name to send a Fed down. Each spot counts as a live monster for good, and the children keys don't reach the Fed.

The 26 choices

If you leave this key empty, the game removes the maker when the map starts and writes a line in the server console.

Default Apache (monster_apache)
Number of Monstersmonstercount

Sets how many monsters the maker makes in all, where -1 means no limit. The server setting mp_makermon changes this number and Max live children, and mp_speedmon changes the Frequency. You set both in server.cfg or in the server console.

If you leave this key empty, there is no limit.

Default -1
Children's bodybody

Gives every monster the maker makes this body, such as the head of a Scientist or the look of a Sectum. Feds and Zombie Grunts keep their own body, because their body also sets their gun.

If you leave this key empty or set 0, each monster keeps its own body.

Default 0
Children's scalescale

Gives every monster the maker makes this model scale.

If you leave this key empty, each monster keeps its own size.

Frequencydelay

Sets how many seconds pass between two monsters. To make a new monster only when the last one dies, set Max live children to 1.

If you leave this key empty or set 0, the maker doesn't wait and makes monsters as fast as it can.

Default 5
Max live childrenm_imaxlivechildren

The maker makes no new monster while this many of its monsters are alive, and 0 or less counts as 1.

If you leave this key empty, there is no limit.

Default 5
Spawn positionFeaturefulspawnorigin

Sets where each monster appears, as a locus position that the maker works out again for each monster, so it can be x y z, an entity name or !activator.

If you leave this key empty, monsters appear at the maker.

Face positionFeaturefulface_position

Sets the point each monster faces when it appears, as a locus position, where *player is the nearest alive player.

If you leave this key empty, monsters face the way the maker faces.

WarpballFeaturefulwarpball

Names an env_warpball that plays where each monster appears.

Warp at monster's...Featurefulimpulse

Sets where on the new monster the warpball plays.

  • Origin (-1)
  • Default (Center) (0)
  • Center (1)
Default Default (Center) (0)
Delay before spawnFeaturefulspawndelay

Sets how many seconds pass between the warpball and the monster appearing.

If you leave this key empty or set 0, the monster appears at once.

Delay after blockeddelay_after_blocked

Sets how many seconds the maker waits before it tries again when something stood on the spot.

If you leave this key empty, it waits the Frequency.

Target's Activatortarget_activator

Sets the activator that Target On Release gets.

  • Don't pass activator (-1) - The targets get no activator
  • Default (Monstermaker, before the monster spawns) (0) - The maker, and the targets fire before the monster appears
  • Monstermaker (after the monster spawns) (1) - The maker, and the targets fire after the monster appears
  • Spawned monster (2) - The new monster
  • Forward my activator (3) - The entity that triggered the maker
Default Default (Monstermaker, before the monster spawns) (0)
Max yaw deviationyawdeviation

Turns each monster by a random amount, up to this many degrees to the left or the right.

Default 0
Trigger on death noticetrigger_on_death_notice

Fires each time one of the maker's monsters dies.

Children's classificationclassify

Sets the class every monster the maker makes fights in, from the classes on the Monster classes page.

The 15 choices
  • None (-1)
  • Object default (0)
  • Machine (1)
  • Player (2)
  • Human passive (3)
  • Human military (4)
  • Alien military (5)
  • Alien passive (6)
  • Alien monster (7)
  • Alien prey (8)
  • Alien predator (9)
  • Insect (10)
  • Player ally (11)
  • Player bioweapon (12)
  • Alien bioweapon (13)

If you leave this key empty or set 0, each monster keeps its own side.

Reverse Relationshiprespawn_as_playerally

With Yes, every monster the maker makes changes sides, as with Is player ally.

  • No (0)
  • Yes (1)
Default No (0)
Make blocker move awaymake_blocker_move_away

Sets whether the maker asks a monster that stands on the spot to move away, and whether that monster walks or runs.

  • No (0)
  • Yes, walking (1)
  • Yes, running (2)
Default No (0)
Gaggag

With Yes, every monster the maker makes gets Gag, so it makes no idle sounds.

  • No (0)
  • Yes (1)
Default No (0)
Override Render Modechange_rendermode

With Yes, every monster the maker makes gets this maker's render settings.

  • No (0)
  • Yes (1)
Default No (0)

Flags​

1Start ON

A named maker starts making monsters when the map loads, the first one after Frequency seconds, and a maker without a name always runs

4Cyclic

Each trigger makes one monster, instead of turning the maker on and off

8MonsterClip

func_monsterclip brushes block the monsters the maker makes

16Prisoner

The monsters get Prisoner, so they see nobody and no monster sees them

32Auto size BBox

The check for a free spot before a monster appears uses the monster's own size, instead of a box of 68 by 68 units below the maker

64Cyclic backlog

With Cyclic, a trigger that finds the spot blocked is kept, and the maker makes the monster once the spot is free

256Pre-Disaster

The monsters get Pre-Disaster

8192Monster Flag 64

The monsters get the monster flag 64, which is Start Inactive for Apaches and turrets and Wait until provoked for the Sectum, the Demon Slave and its hunter, and the Werewolf and its hunter

65536Non-solid corpse

The monsters' corpses aren't solid

524288Ignore move away requests

Players who push a monster the maker made don't make it step aside

1048576Act out of PVS

The monsters look, listen and act even when no player is near them

Keys for the monstersHalf-Life Unified SDK​

A key whose name starts with # goes to every monster the maker makes, under its name without the #, so a key #unkillable with the value 1 makes every monster unkillable. The monster gets these keys before it spawns, the way a monster placed in the map gets its keys, and the maker's own children keys, such as Children's Target (path), apply after them. The maker loads what these keys name, such as a sound file, when the map loads, and you add these keys in the editor with SmartEdit turned off.

A maker accepts up to 64 such keys, and with developer 1 set in the console, the console notes each key past that. The keys #model, #new_model, #health, #max_health, #displayname and #classname aren't passed on, and with developer 2 set in the console, the console notes each one. You can't add or change a # key while the map runs, because a new value could need a file that the map hasn't loaded.

Notes​

  • A maker with a name and Start ON makes its first monster Frequency seconds after the map starts, and its first trigger turns it off
  • A monster that dies frees its place among Max live children, and so does a shot-down Apache or Osprey or a destroyed turret
  • A monster_turret that the maker makes only comes out by itself with Children's spawnflags 32, which is the turret's Autostart
  • The corpses of the maker's monsters fade out, except when Number of Monsters is 1
  • The server can make Number of Monsters and Max live children half as large, but never below 1, twice or three times as large, and it can make the Frequency delay twice as long, half or a third as long, or turn every maker off. A maker that is turned off this way makes nothing, and it starts again when the setting changes back
  • Once the map runs, trigger_changevalue and trigger_copyvalue can only set Monster Type to a class that the map already loads, which is a class the map places, one that another maker makes, or a morph monster, and on a maker with # keys they can't change it at all. A refused change leaves the maker's class as it was, and with developer 1 set in the console, the console says why
  • If trigger_changevalue or trigger_copyvalue gives a maker that made its last monster a new Number of Monsters, it starts again, so a maker that was on makes its next monster after Frequency seconds and a cyclic one takes triggers again. The server's mp_makermon scales the new count as it scales the map's, and reading the key back gives the monsters still to make before that scaling. See Changing keys

See also​

Changes since 1.38​

  • You can use the new keys Children's Target (path), Children's TriggerTarget, Children's Trigger Condition, Children's spawnflags, Children's weapons, Children's squad name, Children's Ignore Friendly Damage, Children's body, Children's scale, Children's classification, Spawn position, Face position, Warpball, Warp at monster's..., Delay before spawn, Delay after blocked, Target's Activator, Max yaw deviation, Trigger on death notice, Reverse Relationship, Make blocker move away, Gag and Override Render Mode
  • Fixed a monster maker of 1 monster making monsters without end when the server halves monster counts. Half of 1 is 0, which the maker read as no limit. This was a bug in SBO 1.38
  • Fixed a named monster maker with Start ON not starting with the map (its first trigger turned it off)
  • Fixed a shot-down Apache or Osprey keeping its place in its monster maker. The maker never heard that it died. This was a bug in SBO 1.38
  • Fixed a destroyed turret or Sentry Gun keeping its place in its monster maker. The maker never heard that it died. This was a bug in SBO 1.38
  • Fixed an Apache from a monster maker with MonsterClip waiting for a trigger forever. The MonsterClip flag has the same value as the Apache's Wait for trigger flag. This was a bug in SBO 1.38
  • Fixed a monster maker without a monster type stopping the server when the map loaded. It tried to load a monster with an empty name
  • mp_speedmon -1 turns off the map's monster makers
  • A key written as #name on a monster maker is passed on as name to every monster it makes
  • Fixed a bug in monster maker set to unlimited monsters (-1) stopping after about 4.29 billion monsters had been spawned. If anyone wants to confirm, run the any map for 138 years and let me know if it's fixed