Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sv_instagib.qh
Go to the documentation of this file.
1#pragma once
2
3#include "items.qh"
6
7// TODO: make this its own mutator (somehow)!
26
29
32
34
36{
38 {
40 IL_PUSH(g_instagib_items, ITEM_VaporizerCells);
41 IL_PUSH(g_instagib_items, ITEM_ExtraLife);
42 IL_PUSH(g_instagib_items, ITEM_Invisibility);
43 IL_PUSH(g_instagib_items, ITEM_Speed);
44
45 ITEM_VaporizerCells.spawnflags &= ~ITEM_FLAG_MUTATORBLOCKED;
46 ITEM_Invisibility.spawnflags &= ~ITEM_FLAG_MUTATORBLOCKED;
47 ITEM_Speed.spawnflags &= ~ITEM_FLAG_MUTATORBLOCKED;
48 }
50 {
51 ITEM_VaporizerCells.spawnflags |= ITEM_FLAG_MUTATORBLOCKED;
52 ITEM_Invisibility.spawnflags |= ITEM_FLAG_MUTATORBLOCKED;
53 ITEM_Speed.spawnflags |= ITEM_FLAG_MUTATORBLOCKED;
55 }
56}
#define MUTATOR_ONADD
Definition base.qh:309
#define MUTATOR_ONROLLBACK_OR_REMOVE
Definition base.qh:311
#define REGISTER_MUTATOR(...)
Definition base.qh:295
limitations: NULL cannot be present elements can only be present once a maximum of IL_MAX lists can e...
@ ITEM_FLAG_MUTATORBLOCKED
Definition item.qh:121
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
#define IL_NEW()
#define IL_DELETE(this)
Delete the list.
Gametype MapInfo_LoadedGametype
Definition mapinfo.qh:220
float autocvar_g_rm_laser_spread_random
float autocvar_g_instagib_speed_time
float autocvar_g_rm_laser_refire
float autocvar_g_rm
Definition sv_instagib.qh:8
float autocvar_g_rm_laser_spread
int autocvar_g_instagib_extralives
float autocvar_g_rm_laser_rapid_delay
float autocvar_g_rm_laser_rapid
float autocvar_g_rm_laser_lifetime
bool autocvar_g_instagib
float autocvar_g_rm_laser_count
float autocvar_g_rm_radius
float autocvar_g_rm_laser_damage
float autocvar_g_rm_damage
Definition sv_instagib.qh:9
float autocvar_g_rm_laser_speed
float autocvar_g_rm_laser_rapid_refire
float autocvar_g_instagib_invisibility_time
float autocvar_g_rm_force
float autocvar_g_rm_laser_radius
IntrusiveList g_instagib_items
float autocvar_g_rm_laser_force
float autocvar_g_rm_edgedamage
float autocvar_g_rm_laser