Xonotic
spiderbot_weapons.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include <common/weapons/_all.qh>
4 
5 #ifdef SVQC
6 void spiderbot_rocket_do(entity this);
7 #endif
8 
9 #ifdef SVQC
10 // 400 (x2) DPS
11 float autocvar_g_vehicle_spiderbot_minigun_damage = 16;
12 float autocvar_g_vehicle_spiderbot_minigun_refire = 0.06;
13 float autocvar_g_vehicle_spiderbot_minigun_spread = 0.012;
14 int autocvar_g_vehicle_spiderbot_minigun_ammo_cost = 1;
15 int autocvar_g_vehicle_spiderbot_minigun_ammo_max = 100;
16 int autocvar_g_vehicle_spiderbot_minigun_ammo_regen = 40;
17 float autocvar_g_vehicle_spiderbot_minigun_ammo_regen_pause = 1;
18 float autocvar_g_vehicle_spiderbot_minigun_force = 9;
19 float autocvar_g_vehicle_spiderbot_minigun_solidpenetration = 32;
20 
21 float autocvar_g_vehicle_spiderbot_rocket_damage = 50;
22 float autocvar_g_vehicle_spiderbot_rocket_force = 150;
23 float autocvar_g_vehicle_spiderbot_rocket_radius = 250;
24 float autocvar_g_vehicle_spiderbot_rocket_speed = 3500;
25 float autocvar_g_vehicle_spiderbot_rocket_spread = 0.05;
26 float autocvar_g_vehicle_spiderbot_rocket_refire = 0.1;
27 // volley
28 float autocvar_g_vehicle_spiderbot_rocket_refire2 = 0.025;
29 float autocvar_g_vehicle_spiderbot_rocket_reload = 4;
30 float autocvar_g_vehicle_spiderbot_rocket_health = 100;
31 float autocvar_g_vehicle_spiderbot_rocket_noise = 0.2;
32 float autocvar_g_vehicle_spiderbot_rocket_turnrate = 0.25;
33 float autocvar_g_vehicle_spiderbot_rocket_lifetime = 20;
34 #endif
entity() spawn