|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "all.qh"Go to the source code of this file.
Macros | |
| #define | _MSOUND(m) |
| #define | ALLMONSTERSOUNDS |
| #define | MONSTER_SKILLMOD(mon) |
Functions | |
| bool | Monster_Attack_Leap (entity this, vector anm, void(entity this, entity toucher) touchfunc, vector vel, float animtime) |
| float | Monster_Attack_Melee (entity this, entity targ, float damg, vector anim, float er, float animtime, int deathtype, float dostop) |
| void | Monster_Delay (entity this, int repeat_count, float defer_amnt, void(entity) func) |
| entity | Monster_FindTarget (entity this) |
| void | monster_makevectors (entity this, entity targ) |
| void | Monster_Move_2D (entity this, float mspeed, float allow_jumpoff) |
| void | Monster_Remove (entity this) |
| void | monster_setupcolors (entity this) |
| void | Monster_Sound (entity this,.string samplefield, float sound_delay, float delaytoo, float chan) |
| bool | Monster_Spawn (entity this, bool check_appear, Monster mon) |
| Setup the basic required properties for a monster. | |
| void | Monster_Touch (entity this, entity toucher) |
| void | monsters_setstatus (entity this) |
| STATIC_INIT (g_monster_targets) | |
| STATIC_INIT (g_monsters) | |
Variables | |
| float | anim_finished |
| will be phased out when we have proper animations system | |
| float | attack_range |
| melee attack if closer, ranged attack if further away (TODO: separate ranged attack range?) | |
| float | autocvar_g_monsters |
| float | autocvar_g_monsters_armor_blockpercent |
| float | autocvar_g_monsters_attack_range |
| float | autocvar_g_monsters_damageforcescale = 0.8 |
| float | autocvar_g_monsters_drop_time = 10 |
| bool | autocvar_g_monsters_edit |
| float | autocvar_g_monsters_healthbars |
| bool | autocvar_g_monsters_lineofsight = true |
| int | autocvar_g_monsters_max |
| int | autocvar_g_monsters_max_perplayer |
| float | autocvar_g_monsters_miniboss_chance |
| float | autocvar_g_monsters_miniboss_healthboost |
| string | autocvar_g_monsters_miniboss_loot = "vortex" |
| bool | autocvar_g_monsters_owners |
| bool | autocvar_g_monsters_playerclip_collisions |
| bool | autocvar_g_monsters_quake_resize = true |
| bool | autocvar_g_monsters_respawn |
| float | autocvar_g_monsters_respawn_delay |
| int | autocvar_g_monsters_score_kill |
| int | autocvar_g_monsters_score_spawned |
| bool | autocvar_g_monsters_sounds |
| float | autocvar_g_monsters_spawnshieldtime |
| bool | autocvar_g_monsters_target_infront |
| bool | autocvar_g_monsters_target_infront_2d = true |
| float | autocvar_g_monsters_target_infront_range = 0.3 |
| float | autocvar_g_monsters_target_range |
| bool | autocvar_g_monsters_teams |
| bool | autocvar_g_monsters_typefrag |
| bool | candrop |
| toggle to allow disabling monster item drops | |
| IntrusiveList | g_monster_targets |
| IntrusiveList | g_monsters |
| ALLMONSTERSOUNDS bool | GetMonsterSoundSampleField_notFound |
| float | last_enemycheck |
| for checking monster enemy | |
| float | last_trace |
| monster logic delay between target tracing | |
| string | mdl_dead |
| dead model for goombas | |
| bool | monster_attack |
| indicates whether an entity can be attacked by monsters | |
| const int | MONSTER_ATTACK_MELEE = 6 |
| const int | MONSTER_ATTACK_RANGED = 7 |
| vector | monster_face |
| custom looking direction for monster (reset to '0 0 0' when you're done!) | |
| entity | monster_follow |
| monster follow target | |
| bool | monster_item |
| identifier for dropped monster loot TODO: generic identifiers? ok_item exists too! | |
| float | monster_lifetime |
| monster dies instantly after this delay, set from spawn | |
| const int | MONSTER_MOVE_ENEMY = 5 |
| used only as a movestate, for monsters | |
| const int | MONSTER_MOVE_FOLLOW = 1 |
| monster will follow if in range, or stand still | |
| const int | MONSTER_MOVE_NOMOVE = 4 |
| monster simply stands still | |
| const int | MONSTER_MOVE_SPAWNLOC = 3 |
| monster will move to its spawn location when not attacking | |
| const int | MONSTER_MOVE_WANDER = 2 |
| monster will ignore owner & wander around | |
| int | monster_moveflags |
| int | monster_movestate |
| monster move target priority | |
| vector | monster_moveto |
| custom destination for monster (reset to '0 0 0' when you're done!) | |
| int | monster_skill |
| const int | MONSTER_SKILL_EASY = 1 |
| const int | MONSTER_SKILL_HARD = 5 |
| const int | MONSTER_SKILL_INSANE = 7 |
| const int | MONSTER_SKILL_MEDIUM = 3 |
| const int | MONSTER_SKILL_NIGHTMARE = 10 |
| const int | MONSTERFLAG_APPEAR = BIT(1) |
| delay monster spawn until triggered | |
| const int | MONSTERFLAG_FLY_VERTICAL = BIT(3) |
| monster can fly/swim vertically | |
| const int | MONSTERFLAG_INFRONT = BIT(5) |
| only check for enemies infront of us, for monsters | |
| const int | MONSTERFLAG_INVINCIBLE = BIT(7) |
| monster doesn't take damage (may be used for map objects & temporary monsters) | |
| const int | MONSTERFLAG_MINIBOSS = BIT(6) |
| monster spawns as mini-boss (also has a chance of naturally becoming one) | |
| const int | MONSTERFLAG_NORESPAWN = BIT(2) |
| monster doesn't respawn (revive) | |
| const int | MONSTERFLAG_RESPAWNED = BIT(15) |
| flag for respawned monsters | |
| const int | MONSTERFLAG_SPAWNED = BIT(14) |
| flag for spawned monsters | |
| int | monsters_killed |
| int | monsters_total |
| const int | MONSTERSKILL_NOTEASY = BIT(8) |
| monster will not spawn on skill <= 1 | |
| const int | MONSTERSKILL_NOTHARD = BIT(10) |
| monster will not spawn on skill >= 3 | |
| const int | MONSTERSKILL_NOTMEDIUM = BIT(9) |
| monster will not spawn on skill 2 | |
| float | msound_delay |
| temporary antilag system | |
| int | oldskin |
| string | oldtarget2 |
| a copy of the original follow target string for monsters | |
| float | spawn_time |
| delay monster thinking until spawn animation has completed | |
| float | speed |
| monster walk speed | |
| float | speed2 |
| monster run speed | |
| float | stopspeed |
| int | totalspawned |
| number of monsters spawned with mobspawn command | |
| float | wander_delay |
| monster logic delay between moving while idle | |
| float | wander_distance |
| distance to move between wander delays for monsters | |
| #define _MSOUND | ( | m | ) |
Definition at line 138 of file sv_monsters.qh.
| #define ALLMONSTERSOUNDS |
Definition at line 128 of file sv_monsters.qh.
Referenced by Monster_Sound_SampleField(), and Monster_Sounds_Clear().
| #define MONSTER_SKILLMOD | ( | mon | ) |
Definition at line 63 of file sv_monsters.qh.
Referenced by M_Golem_Attack_Smash(), M_Wyvern_Attack_Fireball_Explode(), M_Zombie_Attack_Leap_Touch(), Monster_Attack_Melee(), Monster_Move(), and Monster_Spawn_Setup().
| bool Monster_Attack_Leap | ( | entity | this, |
| vector | anm, | ||
| void(entity this, entity toucher) | touchfunc, | ||
| vector | vel, | ||
| float | animtime ) |
Definition at line 430 of file sv_monsters.qc.
References anim_finished, animstate_endtime, attack_finished_single, entity(), IS_MONSTER, Monster_Attack_Leap_Check(), MONSTER_ATTACK_RANGED, setanim, settouch, state, time, toucher, UNSET_ONGROUND, vector, and velocity.
Referenced by M_Zombie_Attack().
Definition at line 243 of file sv_monsters.qc.
References entity(), Monster_Delay(), Monster_Delay_Action(), new_pure, setthink, and time.
Referenced by M_Golem_Attack(), M_Wyvern_Attack(), M_Zombie_Defend_Block(), and Monster_Delay().
Definition at line 137 of file sv_monsters.qc.
References CENTER_OR_VIEWOFS, enemy, entity(), g_monster_targets, IL_EACH, MUTATOR_CALLHOOK, NULL, and vector.
Referenced by Monster_Enemy_Check().
Definition at line 85 of file sv_monsters.qc.
References entity(), IS_MONSTER, makevectors, origin, v_angle, vectoangles(), vector, and view_ofs.
Referenced by M_Golem_Attack_Lightning(), Monster_Attack_Check(), and Monster_Delay_Action().
Definition at line 947 of file sv_monsters.qc.
References entity(), IS_CLIENT, MAX_WEAPONSLOTS, MUTATOR_CALLHOOK, origin, Send_Effect(), sprite, WaypointSprite_Kill(), and weaponentities.
Referenced by CommonCommand_editmob(), Invasion_CheckWinner(), Monster_Reset(), and Monster_Spawn().
Definition at line 172 of file sv_monsters.qc.
References colormap, colormapPaletteColor, entity(), glowmod, IS_PLAYER, monster_skill, MONSTER_SKILL_EASY, MONSTER_SKILL_HARD, MONSTER_SKILL_INSANE, MONSTER_SKILL_MEDIUM, MONSTER_SKILL_NIGHTMARE, realowner, team, and teamplay.
Referenced by monster_changeteam(), and Monster_Spawn().
| void Monster_Sound | ( | entity | this, |
| .string | samplefield, | ||
| float | sound_delay, | ||
| float | delaytoo, | ||
| float | chan ) |
References entity().
Setup the basic required properties for a monster.
Definition at line 1388 of file sv_monsters.qc.
References angles, autocvar_g_fullbrightplayers, autocvar_g_monsters, autocvar_g_monsters_edit, autocvar_g_monsters_playerclip_collisions, autocvar_g_monsters_quake_resize, autocvar_g_monsters_spawnshieldtime, autocvar_g_nodepthtestplayers, bot_attack, candrop, classname, CSQCMODEL_AUTOINIT, cvar(), DAMAGE_AIM, damagedbycontents, DEAD_NO, deadflag, DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_MONSTERCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, dphitcontentsmask, EF_FULLBRIGHT, EF_NODEPTHTEST, effects, enemy, entity(), FL_FLY, FL_MONSTER, FL_SWIM, flags, g_bot_targets, g_damagedbycontents, g_monsters, grab, gravity, IL_PUSH(), iscreature, Monster::m_maxs, Monster::m_mins, m_name, Monster::m_name, maxs, mdl, mdl_dead, mins, Monster_Appear_Check(), Monster_Damage(), monster_face, Monster_Heal(), monster_moveto, Monster_Remove(), Monster_Reset(), monster_setupcolors(), MONSTER_SIZE_QUAKE, monster_skill, MONSTER_SKILL_EASY, MONSTER_SKILL_HARD, MONSTER_SKILL_MEDIUM, Monster_Spawn_Setup(), Monster_Touch(), MONSTER_TYPE_FLY, MONSTER_TYPE_SWIM, Monster_UpdateModel(), Monster_Use(), monsterdef, MONSTERFLAG_RESPAWNED, MONSTERFLAG_SPAWNED, monsters_total, MONSTERSKILL_NOTEASY, MONSTERSKILL_NOTHARD, MONSTERSKILL_NOTMEDIUM, MOVE_WORLDONLY, moveto, MOVETYPE_FLY, MOVETYPE_WALK, Monster::netname, netname, noalign, NULL, oldtarget2, origin, pos1, pos2, RoundPerfectVector(), scale, set_movetype(), setmodel, settouch, solid, SOLID_BBOX, spawn_time, Monster::spawnflags, spawnflags, statuseffects, StatusEffects_apply(), StatusEffects_clearall(), StatusEffects_update(), takedamage, target2, team, teamplay, teleportable, time, trace_endpos, use, velocity, and view_ofs.
Referenced by Monster_Appear(), Monster_Respawn(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and spawnmonster().
Definition at line 510 of file sv_monsters.qc.
References enemy, entity(), IS_MONSTER, Monster_ValidTarget(), spawn_time, time, and toucher.
Referenced by M_Zombie_Attack_Leap_Touch(), Monster_Dead(), Monster_Move(), and Monster_Spawn().
Definition at line 34 of file sv_monsters.qc.
References entity(), monsters_killed, monsters_total, and STAT.
Referenced by PlayerThink().
| STATIC_INIT | ( | g_monster_targets | ) |
Definition at line 151 of file sv_monsters.qh.
References g_monster_targets, and IL_NEW.
| STATIC_INIT | ( | g_monsters | ) |
Definition at line 145 of file sv_monsters.qh.
References g_monsters, and IL_NEW.
| float anim_finished |
will be phased out when we have proper animations system
Definition at line 53 of file sv_monsters.qh.
Referenced by M_Mage_Attack_Push(), M_Mage_Defend_Heal(), M_Mage_Defend_Shield(), M_Zombie_Defend_Block(), Monster_Attack_Leap(), Monster_Attack_Melee(), and Monster_Move().
| float attack_range |
melee attack if closer, ranged attack if further away (TODO: separate ranged attack range?)
Definition at line 45 of file sv_monsters.qh.
Referenced by M_Golem_Attack_Swing(), and Monster_Spawn_Setup().
| float autocvar_g_monsters |
Definition at line 5 of file sv_monsters.qh.
Referenced by CommonCommand_editmob(), Monster_Spawn(), MUTATOR_HOOKFUNCTION(), nade_monster_boom(), nades_CheckTypes(), and spawnfunc().
| float autocvar_g_monsters_armor_blockpercent |
Definition at line 30 of file sv_monsters.qh.
Referenced by M_Zombie_Defend_Block_End().
| float autocvar_g_monsters_attack_range |
Definition at line 15 of file sv_monsters.qh.
Referenced by Monster_Spawn_Setup().
| float autocvar_g_monsters_damageforcescale = 0.8 |
Definition at line 10 of file sv_monsters.qh.
Referenced by Monster_Spawn_Setup().
| float autocvar_g_monsters_drop_time = 10 |
Definition at line 24 of file sv_monsters.qh.
Referenced by monster_dropitem().
| bool autocvar_g_monsters_edit |
Definition at line 6 of file sv_monsters.qh.
Referenced by CommonCommand_editmob(), and Monster_Spawn().
| float autocvar_g_monsters_healthbars |
Definition at line 31 of file sv_monsters.qh.
Referenced by Monster_Spawn_Setup().
Definition at line 32 of file sv_monsters.qh.
Referenced by Monster_ValidTarget().
| int autocvar_g_monsters_max |
Definition at line 8 of file sv_monsters.qh.
Referenced by CommonCommand_editmob().
| int autocvar_g_monsters_max_perplayer |
Definition at line 9 of file sv_monsters.qh.
Referenced by CommonCommand_editmob().
| float autocvar_g_monsters_miniboss_chance |
Definition at line 21 of file sv_monsters.qh.
Referenced by Monster_Miniboss_Setup().
| float autocvar_g_monsters_miniboss_healthboost |
Definition at line 22 of file sv_monsters.qh.
Referenced by Monster_Miniboss_Setup().
| string autocvar_g_monsters_miniboss_loot = "vortex" |
Definition at line 23 of file sv_monsters.qh.
Referenced by monster_dropitem().
| bool autocvar_g_monsters_owners |
Definition at line 19 of file sv_monsters.qh.
Referenced by spawnmonster().
| bool autocvar_g_monsters_playerclip_collisions |
Definition at line 20 of file sv_monsters.qh.
Referenced by Monster_Spawn().
Definition at line 26 of file sv_monsters.qh.
Referenced by Monster_Spawn().
| bool autocvar_g_monsters_respawn |
Definition at line 29 of file sv_monsters.qh.
Referenced by Monster_Respawn_Check().
| float autocvar_g_monsters_respawn_delay |
Definition at line 28 of file sv_monsters.qh.
Referenced by Monster_Spawn_Setup().
| int autocvar_g_monsters_score_kill |
Definition at line 16 of file sv_monsters.qh.
Referenced by Monster_Dead().
| int autocvar_g_monsters_score_spawned |
Definition at line 17 of file sv_monsters.qh.
Referenced by Monster_Dead().
| bool autocvar_g_monsters_sounds |
Definition at line 7 of file sv_monsters.qh.
Referenced by Monster_Sound().
| float autocvar_g_monsters_spawnshieldtime |
Definition at line 25 of file sv_monsters.qh.
Referenced by Monster_Spawn().
| bool autocvar_g_monsters_target_infront |
Definition at line 12 of file sv_monsters.qh.
Referenced by Monster_Attack_Check(), and Monster_ValidTarget().
Definition at line 14 of file sv_monsters.qh.
Referenced by monster_facing().
| float autocvar_g_monsters_target_infront_range = 0.3 |
Definition at line 13 of file sv_monsters.qh.
Referenced by monster_facing().
| float autocvar_g_monsters_target_range |
Definition at line 11 of file sv_monsters.qh.
Referenced by Monster_Spawn_Setup(), and SOUND().
| bool autocvar_g_monsters_teams |
Definition at line 27 of file sv_monsters.qh.
Referenced by Monster_Move(), and spawnmonster().
| bool autocvar_g_monsters_typefrag |
Definition at line 18 of file sv_monsters.qh.
Referenced by Monster_ValidTarget().
| bool candrop |
toggle to allow disabling monster item drops
Definition at line 47 of file sv_monsters.qh.
Referenced by Monster_Damage(), monster_dropitem(), and Monster_Spawn().
| IntrusiveList g_monster_targets |
Definition at line 150 of file sv_monsters.qh.
Referenced by func_breakable_setup(), invasion_SpawnChosenMonster(), monster_changeteam(), Monster_FindTarget(), Monster_Spawn_Setup(), PutObserverInServer(), PutPlayerInServer(), STATIC_INIT(), and SV_OnEntityPreSpawnFunction().
| IntrusiveList g_monsters |
Definition at line 144 of file sv_monsters.qh.
Referenced by antilag_restore_all(), antilag_takeback_all(), CommonCommand_editmob(), EndFrame(), Invasion_CheckWinner(), Monster_Spawn(), spawner_use(), STATIC_INIT(), and WinningCondition_Invasion().
| ALLMONSTERSOUNDS bool GetMonsterSoundSampleField_notFound |
Definition at line 142 of file sv_monsters.qh.
Referenced by Monster_Sound_SampleField(), and Monster_Sounds_Load().
| float last_enemycheck |
for checking monster enemy
Definition at line 52 of file sv_monsters.qh.
Referenced by Monster_Spawn_Setup(), and Monster_Think().
| float last_trace |
monster logic delay between target tracing
Definition at line 51 of file sv_monsters.qh.
Referenced by Monster_Move(), and Monster_Move_Target().
| string mdl_dead |
dead model for goombas
Definition at line 60 of file sv_monsters.qh.
| bool monster_attack |
indicates whether an entity can be attacked by monsters
Definition at line 66 of file sv_monsters.qh.
Referenced by func_breakable_setup(), monster_changeteam(), Monster_Spawn_Setup(), PutObserverInServer(), PutPlayerInServer(), and SV_OnEntityPreSpawnFunction().
| const int MONSTER_ATTACK_MELEE = 6 |
Definition at line 74 of file sv_monsters.qh.
Referenced by M_Golem_Attack(), M_Mage_Attack(), M_Mage_Attack_Push(), M_Mage_Defend_Heal(), M_Spider_Attack(), M_Wyvern_Attack(), M_Zombie_Attack(), M_Zombie_Defend_Block(), Monster_Attack_Check(), Monster_Attack_Melee(), and Monster_Move().
| const int MONSTER_ATTACK_RANGED = 7 |
Definition at line 75 of file sv_monsters.qh.
Referenced by M_Golem_Attack(), M_Mage_Attack(), M_Spider_Attack(), M_Wyvern_Attack(), M_Zombie_Attack(), Monster_Attack_Check(), Monster_Attack_Leap(), and Monster_Move().
| vector monster_face |
custom looking direction for monster (reset to '0 0 0' when you're done!)
Definition at line 55 of file sv_monsters.qh.
Referenced by Monster_Enemy_Check(), Monster_Move(), and Monster_Spawn().
| entity monster_follow |
monster follow target
Definition at line 41 of file sv_monsters.qh.
Referenced by M_Mage_Defend_Heal_Check(), Monster_Move(), Monster_Move_Target(), and Monster_ValidTarget().
| bool monster_item |
identifier for dropped monster loot TODO: generic identifiers? ok_item exists too!
Definition at line 61 of file sv_monsters.qh.
| float monster_lifetime |
monster dies instantly after this delay, set from spawn
Definition at line 44 of file sv_monsters.qh.
Referenced by Monster_Dead(), Monster_Dead_Fade(), Monster_Dead_Think(), and Monster_Think().
| const int MONSTER_MOVE_ENEMY = 5 |
used only as a movestate, for monsters
Definition at line 73 of file sv_monsters.qh.
Referenced by Monster_Move_Target().
| const int MONSTER_MOVE_FOLLOW = 1 |
monster will follow if in range, or stand still
Definition at line 69 of file sv_monsters.qh.
Referenced by Monster_Move_Target().
| const int MONSTER_MOVE_NOMOVE = 4 |
monster simply stands still
Definition at line 72 of file sv_monsters.qh.
Referenced by Monster_Move_Target().
| const int MONSTER_MOVE_SPAWNLOC = 3 |
monster will move to its spawn location when not attacking
Definition at line 71 of file sv_monsters.qh.
Referenced by Monster_Move_Target().
| const int MONSTER_MOVE_WANDER = 2 |
monster will ignore owner & wander around
Definition at line 70 of file sv_monsters.qh.
Referenced by Monster_Move_Target(), and Monster_Spawn_Setup().
| int monster_moveflags |
Definition at line 49 of file sv_monsters.qh.
Referenced by Monster_Move_Target(), Monster_Spawn_Setup(), and spawner_use().
| int monster_movestate |
monster move target priority
will be phased out
Definition at line 40 of file sv_monsters.qh.
Referenced by Monster_Move_Target().
| vector monster_moveto |
custom destination for monster (reset to '0 0 0' when you're done!)
Definition at line 54 of file sv_monsters.qh.
Referenced by Monster_Enemy_Check(), Monster_Move(), Monster_Move_Target(), and Monster_Spawn().
| int monster_skill |
Definition at line 100 of file sv_monsters.qh.
Referenced by monster_setupcolors(), Monster_Spawn(), and spawner_use().
| const int MONSTER_SKILL_EASY = 1 |
Definition at line 78 of file sv_monsters.qh.
Referenced by monster_setupcolors(), and Monster_Spawn().
| const int MONSTER_SKILL_HARD = 5 |
Definition at line 80 of file sv_monsters.qh.
Referenced by monster_setupcolors(), and Monster_Spawn().
| const int MONSTER_SKILL_INSANE = 7 |
Definition at line 81 of file sv_monsters.qh.
Referenced by monster_setupcolors(), and nade_monster_boom().
| const int MONSTER_SKILL_MEDIUM = 3 |
Definition at line 79 of file sv_monsters.qh.
Referenced by monster_setupcolors(), and Monster_Spawn().
| const int MONSTER_SKILL_NIGHTMARE = 10 |
Definition at line 82 of file sv_monsters.qh.
Referenced by monster_setupcolors().
delay monster spawn until triggered
Definition at line 89 of file sv_monsters.qh.
Referenced by Monster_Appear_Check().
monster can fly/swim vertically
Definition at line 91 of file sv_monsters.qh.
Referenced by Monster_Move(), and Monster_WanderTarget().
only check for enemies infront of us, for monsters
Definition at line 92 of file sv_monsters.qh.
Referenced by Monster_Attack_Check(), and Monster_ValidTarget().
monster doesn't take damage (may be used for map objects & temporary monsters)
Definition at line 94 of file sv_monsters.qh.
Referenced by M_Mage_Defend_Heal(), Monster_Damage(), and Monster_Spawn_Setup().
monster spawns as mini-boss (also has a chance of naturally becoming one)
Definition at line 93 of file sv_monsters.qh.
Referenced by invasion_SpawnChosenMonster(), monster_dropitem(), and Monster_Miniboss_Setup().
monster doesn't respawn (revive)
Definition at line 90 of file sv_monsters.qh.
Referenced by Monster_Respawn_Check(), and spawnmonster().
flag for respawned monsters
Definition at line 96 of file sv_monsters.qh.
Referenced by Monster_Dead(), Monster_Dead_Fade(), Monster_Miniboss_Setup(), Monster_Spawn(), Monster_Spawn_Setup(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and WinningCondition_Invasion().
flag for spawned monsters
Definition at line 95 of file sv_monsters.qh.
Referenced by Monster_Dead(), Monster_Reset(), Monster_Spawn(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and spawnmonster().
| int monsters_killed |
Definition at line 37 of file sv_monsters.qh.
Referenced by CommonCommand_editmob(), Monster_Dead(), monsters_setstatus(), and MUTATOR_HOOKFUNCTION().
| int monsters_total |
Definition at line 36 of file sv_monsters.qh.
Referenced by CommonCommand_editmob(), Monster_Spawn(), monsters_setstatus(), and MUTATOR_HOOKFUNCTION().
monster will not spawn on skill <= 1
Definition at line 84 of file sv_monsters.qh.
Referenced by Monster_Spawn().
monster will not spawn on skill >= 3
Definition at line 86 of file sv_monsters.qh.
Referenced by Monster_Spawn().
monster will not spawn on skill 2
Definition at line 85 of file sv_monsters.qh.
Referenced by Monster_Spawn().
| float msound_delay |
temporary antilag system
Definition at line 127 of file sv_monsters.qh.
Referenced by Monster_Sound().
| int oldskin |
Definition at line 59 of file sv_monsters.qh.
Referenced by FixPlayermodel().
| string oldtarget2 |
a copy of the original follow target string for monsters
Definition at line 50 of file sv_monsters.qh.
Referenced by Monster_Damage(), and Monster_Spawn().
| float spawn_time |
delay monster thinking until spawn animation has completed
Definition at line 46 of file sv_monsters.qh.
Referenced by Monster_Move(), Monster_Move_2D(), Monster_Spawn(), Monster_Spawn_Setup(), Monster_Touch(), and PutPlayerInServer().
| float speed |
monster walk speed
Definition at line 56 of file sv_monsters.qh.
| float speed2 |
monster run speed
Definition at line 57 of file sv_monsters.qh.
Referenced by Monster_Think(), and tubasound().
| float stopspeed |
Definition at line 58 of file sv_monsters.qh.
Referenced by Monster_Think().
| int totalspawned |
number of monsters spawned with mobspawn command
Definition at line 124 of file sv_monsters.qh.
Referenced by CommonCommand_editmob(), Monster_Dead(), Monster_Dead_Damage(), and Monster_Dead_Fade().
| float wander_delay |
monster logic delay between moving while idle
Definition at line 42 of file sv_monsters.qh.
Referenced by Monster_Move_Target(), and Monster_Spawn_Setup().
| float wander_distance |
distance to move between wander delays for monsters
Definition at line 43 of file sv_monsters.qh.
Referenced by Monster_Spawn_Setup(), and Monster_WanderTarget().