]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/vehicles/vehicle/raptor_weapons.qh
Merge branch 'master' into terencehill/race_fix
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / vehicle / raptor_weapons.qh
1 #pragma once
2
3 #include <common/weapons/all.qh>
4
5 CLASS(RaptorCannon, PortoLaunch)
6 /* flags     */ ATTRIB(RaptorCannon, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
7 /* impulse   */ ATTRIB(RaptorCannon, impulse, int, 3);
8 /* refname   */ ATTRIB(RaptorCannon, netname, string, "raptorcannon");
9 /* wepname   */ ATTRIB(RaptorCannon, m_name, string, _("Raptor cannon"));
10 ENDCLASS(RaptorCannon)
11 REGISTER_WEAPON(RAPTOR, NEW(RaptorCannon));
12
13 CLASS(RaptorBomb, PortoLaunch)
14 /* flags     */ ATTRIB(RaptorBomb, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
15 /* impulse   */ ATTRIB(RaptorBomb, impulse, int, 3);
16 /* refname   */ ATTRIB(RaptorBomb, netname, string, "raptorbomb");
17 /* wepname   */ ATTRIB(RaptorBomb, m_name, string, _("Raptor bomb"));
18 ENDCLASS(RaptorBomb)
19 REGISTER_WEAPON(RAPTOR_BOMB, NEW(RaptorBomb));
20
21 CLASS(RaptorFlare, PortoLaunch)
22 /* flags     */ ATTRIB(RaptorFlare, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
23 /* impulse   */ ATTRIB(RaptorFlare, impulse, int, 3);
24 /* refname   */ ATTRIB(RaptorFlare, netname, string, "raptorflare");
25 /* wepname   */ ATTRIB(RaptorFlare, m_name, string, _("Raptor flare"));
26 ENDCLASS(RaptorFlare)
27 REGISTER_WEAPON(RAPTOR_FLARE, NEW(RaptorFlare));
28
29
30 float autocvar_g_vehicle_raptor_cannon_cost = 1;
31 float autocvar_g_vehicle_raptor_cannon_damage = 10;
32 float autocvar_g_vehicle_raptor_cannon_radius = 60;
33 float autocvar_g_vehicle_raptor_cannon_refire = 0.03;
34 float autocvar_g_vehicle_raptor_cannon_speed = 24000;
35 float autocvar_g_vehicle_raptor_cannon_spread = 0.01;
36 float autocvar_g_vehicle_raptor_cannon_force = 25;
37
38 float autocvar_g_vehicle_raptor_bomblets = 8;
39 float autocvar_g_vehicle_raptor_bomblet_alt = 750;
40 float autocvar_g_vehicle_raptor_bomblet_time = 0.5;
41 float autocvar_g_vehicle_raptor_bomblet_damage = 55;
42 float autocvar_g_vehicle_raptor_bomblet_spread = 0.4;
43 float autocvar_g_vehicle_raptor_bomblet_edgedamage = 25;
44 float autocvar_g_vehicle_raptor_bomblet_radius = 350;
45 float autocvar_g_vehicle_raptor_bomblet_force = 150;
46 float autocvar_g_vehicle_raptor_bomblet_explode_delay = 0.4;
47
48 float autocvar_g_vehicle_raptor_bombs_refire = 5;
49
50 float autocvar_g_vehicle_raptor_flare_refire = 5;
51 float autocvar_g_vehicle_raptor_flare_lifetime = 10;
52 float autocvar_g_vehicle_raptor_flare_chase = 0.9;
53 float autocvar_g_vehicle_raptor_flare_range = 2000;