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

Go to the source code of this file.

Functions

bool bumble_raygun_send (entity this, entity to, int sf)
void bumblebee_fire_cannon (entity this, entity _gun, string _tagname, entity _owner)

Variables

float autocvar_g_vehicle_bumblebee_cannon_cost = 2
float autocvar_g_vehicle_bumblebee_cannon_damage = 60
float autocvar_g_vehicle_bumblebee_cannon_force = -35
float autocvar_g_vehicle_bumblebee_cannon_radius = 225
float autocvar_g_vehicle_bumblebee_cannon_refire = 0.2
float autocvar_g_vehicle_bumblebee_cannon_speed = 20000
float autocvar_g_vehicle_bumblebee_cannon_spread = 0

Function Documentation

◆ bumble_raygun_send()

bool bumble_raygun_send ( entity this,
entity to,
int sf )

References entity().

◆ bumblebee_fire_cannon()

void bumblebee_fire_cannon ( entity this,
entity _gun,
string _tagname,
entity _owner )

Definition at line 9 of file bumblebee_weapons.qc.

10{
11 vector v = gettaginfo(_gun, gettagindex(_gun, _tagname));
12 vehicles_projectile(this, EFFECT_BIGPLASMA_MUZZLEFLASH, SND_VEH_BUMBLEBEE_FIRE,
15 DEATH_VH_BUMB_GUN.m_id, PROJECTILE_BUMBLE_GUN, 0, true, true, _owner);
16}
float autocvar_g_vehicle_bumblebee_cannon_speed
float autocvar_g_vehicle_bumblebee_cannon_radius
float autocvar_g_vehicle_bumblebee_cannon_damage
float autocvar_g_vehicle_bumblebee_cannon_force
float autocvar_g_vehicle_bumblebee_cannon_spread
vector v_forward
#define gettagindex
vector randomvec(void)
vector normalize(vector v)
#define gettaginfo
Definition post.qh:32
const int PROJECTILE_BUMBLE_GUN
vector
Definition self.qh:92
entity vehicles_projectile(entity this, entity _mzlfx, Sound _mzlsound, vector _org, vector _vel, float _dmg, float _radi, float _force, float _size, int _deahtype, float _projtype, float _health, bool _cull, bool _clianim, entity _owner)

References autocvar_g_vehicle_bumblebee_cannon_damage, autocvar_g_vehicle_bumblebee_cannon_force, autocvar_g_vehicle_bumblebee_cannon_radius, autocvar_g_vehicle_bumblebee_cannon_speed, autocvar_g_vehicle_bumblebee_cannon_spread, entity(), gettagindex, gettaginfo, normalize(), PROJECTILE_BUMBLE_GUN, randomvec(), v_forward, vector, and vehicles_projectile().

Referenced by bumblebee_gunner_frame().

Variable Documentation

◆ autocvar_g_vehicle_bumblebee_cannon_cost

float autocvar_g_vehicle_bumblebee_cannon_cost = 2

Definition at line 6 of file bumblebee_weapons.qh.

Referenced by bumblebee_gunner_frame().

◆ autocvar_g_vehicle_bumblebee_cannon_damage

float autocvar_g_vehicle_bumblebee_cannon_damage = 60

Definition at line 7 of file bumblebee_weapons.qh.

Referenced by bumblebee_fire_cannon().

◆ autocvar_g_vehicle_bumblebee_cannon_force

float autocvar_g_vehicle_bumblebee_cannon_force = -35

Definition at line 12 of file bumblebee_weapons.qh.

Referenced by bumblebee_fire_cannon().

◆ autocvar_g_vehicle_bumblebee_cannon_radius

float autocvar_g_vehicle_bumblebee_cannon_radius = 225

Definition at line 8 of file bumblebee_weapons.qh.

Referenced by bumblebee_fire_cannon().

◆ autocvar_g_vehicle_bumblebee_cannon_refire

float autocvar_g_vehicle_bumblebee_cannon_refire = 0.2

Definition at line 9 of file bumblebee_weapons.qh.

Referenced by bumblebee_gunner_frame().

◆ autocvar_g_vehicle_bumblebee_cannon_speed

float autocvar_g_vehicle_bumblebee_cannon_speed = 20000

Definition at line 10 of file bumblebee_weapons.qh.

Referenced by bumblebee_fire_cannon(), and bumblebee_gunner_frame().

◆ autocvar_g_vehicle_bumblebee_cannon_spread

float autocvar_g_vehicle_bumblebee_cannon_spread = 0

Definition at line 11 of file bumblebee_weapons.qh.

Referenced by bumblebee_fire_cannon().