Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sv_instagib.qh File Reference
Include dependency graph for sv_instagib.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 REGISTER_MUTATOR (mutator_instagib, autocvar_g_instagib &&!MapInfo_LoadedGametype.m_weaponarena)

Variables

bool autocvar_g_instagib
int autocvar_g_instagib_extralives
float autocvar_g_instagib_invisibility_time
float autocvar_g_instagib_speed_time
float autocvar_g_rm
float autocvar_g_rm_damage
float autocvar_g_rm_edgedamage
float autocvar_g_rm_force
float autocvar_g_rm_laser
float autocvar_g_rm_laser_count
float autocvar_g_rm_laser_damage
float autocvar_g_rm_laser_force
float autocvar_g_rm_laser_lifetime
float autocvar_g_rm_laser_radius
float autocvar_g_rm_laser_rapid
float autocvar_g_rm_laser_rapid_delay
float autocvar_g_rm_laser_rapid_refire
float autocvar_g_rm_laser_refire
float autocvar_g_rm_laser_speed
float autocvar_g_rm_laser_spread
float autocvar_g_rm_laser_spread_random
float autocvar_g_rm_radius
IntrusiveList g_instagib_items

Function Documentation

◆ REGISTER_MUTATOR()

REGISTER_MUTATOR ( mutator_instagib ,
autocvar_g_instagib &&!MapInfo_LoadedGametype. m_weaponarena )

Definition at line 35 of file sv_instagib.qh.

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
@ 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.
IntrusiveList g_instagib_items

References autocvar_g_instagib, g_instagib_items, IL_DELETE, IL_NEW, IL_PUSH(), ITEM_FLAG_MUTATORBLOCKED, MapInfo_LoadedGametype, MUTATOR_ONADD, and MUTATOR_ONROLLBACK_OR_REMOVE.

Variable Documentation

◆ autocvar_g_instagib

bool autocvar_g_instagib

Definition at line 27 of file sv_instagib.qh.

Referenced by REGISTER_MUTATOR(), REGISTER_MUTATOR(), and W_Vaporizer_Attack().

◆ autocvar_g_instagib_extralives

int autocvar_g_instagib_extralives

Definition at line 28 of file sv_instagib.qh.

Referenced by bumblebee_pilot_frame(), and MUTATOR_HOOKFUNCTION().

◆ autocvar_g_instagib_invisibility_time

float autocvar_g_instagib_invisibility_time

Definition at line 30 of file sv_instagib.qh.

Referenced by instagib_replace_item_with().

◆ autocvar_g_instagib_speed_time

float autocvar_g_instagib_speed_time

Definition at line 31 of file sv_instagib.qh.

Referenced by instagib_replace_item_with().

◆ autocvar_g_rm

float autocvar_g_rm

◆ autocvar_g_rm_damage

float autocvar_g_rm_damage

Definition at line 9 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Explosion().

◆ autocvar_g_rm_edgedamage

float autocvar_g_rm_edgedamage

Definition at line 10 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Explosion().

◆ autocvar_g_rm_force

float autocvar_g_rm_force

Definition at line 11 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Explosion().

◆ autocvar_g_rm_laser

float autocvar_g_rm_laser

Definition at line 13 of file sv_instagib.qh.

Referenced by instagib_ammocheck(), and MUTATOR_HOOKFUNCTION().

◆ autocvar_g_rm_laser_count

float autocvar_g_rm_laser_count

Definition at line 14 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Attack().

◆ autocvar_g_rm_laser_damage

float autocvar_g_rm_laser_damage

Definition at line 19 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Attack(), and W_RocketMinsta_Laser_Damage().

◆ autocvar_g_rm_laser_force

float autocvar_g_rm_laser_force

Definition at line 25 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Laser_Damage().

◆ autocvar_g_rm_laser_lifetime

float autocvar_g_rm_laser_lifetime

Definition at line 18 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Attack().

◆ autocvar_g_rm_laser_radius

float autocvar_g_rm_laser_radius

Definition at line 24 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Laser_Damage().

◆ autocvar_g_rm_laser_rapid

float autocvar_g_rm_laser_rapid

Definition at line 21 of file sv_instagib.qh.

◆ autocvar_g_rm_laser_rapid_delay

float autocvar_g_rm_laser_rapid_delay

Definition at line 23 of file sv_instagib.qh.

◆ autocvar_g_rm_laser_rapid_refire

float autocvar_g_rm_laser_rapid_refire

Definition at line 22 of file sv_instagib.qh.

◆ autocvar_g_rm_laser_refire

float autocvar_g_rm_laser_refire

Definition at line 20 of file sv_instagib.qh.

◆ autocvar_g_rm_laser_speed

float autocvar_g_rm_laser_speed

Definition at line 15 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Attack().

◆ autocvar_g_rm_laser_spread

float autocvar_g_rm_laser_spread

Definition at line 16 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Attack().

◆ autocvar_g_rm_laser_spread_random

float autocvar_g_rm_laser_spread_random

Definition at line 17 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Attack().

◆ autocvar_g_rm_radius

float autocvar_g_rm_radius

Definition at line 12 of file sv_instagib.qh.

Referenced by W_RocketMinsta_Explosion().

◆ g_instagib_items

IntrusiveList g_instagib_items

Definition at line 33 of file sv_instagib.qh.

Referenced by RandomItems_GetRandomInstagibItemClassName(), and REGISTER_MUTATOR().