]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/vehicles/vehicle/bumblebee.qh
Merge branch 'master' into Lyberta/StandaloneOverkillWeapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / vehicle / bumblebee.qh
1 #pragma once
2
3 #include "bumblebee_weapons.qh"
4
5 CLASS(Bumblebee, Vehicle)
6 /* spawnflags */ ATTRIB(Bumblebee, spawnflags, int, VHF_DMGSHAKE);
7 /* mins       */ ATTRIB(Bumblebee, m_mins, vector, '-245 -130 -130');
8 /* maxs       */ ATTRIB(Bumblebee, m_maxs, vector, '230 130 130');
9 /* view offset*/ ATTRIB(Bumblebee, view_ofs, vector, '0 0 300');
10 /* view dist  */ ATTRIB(Bumblebee, height, float, 450);
11 /* model          */ ATTRIB(Bumblebee, mdl, string, "models/vehicles/bumblebee_body.dpm");
12 /* model          */ ATTRIB(Bumblebee, model, string, "models/vehicles/bumblebee_body.dpm");
13 /* head_model */ ATTRIB(Bumblebee, head_model, string, "");
14 /* hud_model  */ ATTRIB(Bumblebee, hud_model, string, "models/vehicles/spiderbot_cockpit.dpm");
15 /* tags       */ ATTRIB(Bumblebee, tag_head, string, "");
16 /* tags       */ ATTRIB(Bumblebee, tag_hud, string, "");
17 /* tags       */ ATTRIB(Bumblebee, tag_view, string, "tag_viewport");
18 /* netname    */ ATTRIB(Bumblebee, netname, string, "bumblebee");
19 /* fullname   */ ATTRIB(Bumblebee, vehicle_name, string, _("Bumblebee"));
20 /* icon       */ ATTRIB(Bumblebee, m_icon, string, "vehicle_bumble");
21 ENDCLASS(Bumblebee)
22 REGISTER_VEHICLE(BUMBLEBEE, NEW(Bumblebee));
23
24 #ifdef GAMEQC
25         MODEL(VEH_BUMBLEBEE_GUNCOCKPIT, "models/vehicles/wakizashi_cockpit.dpm");
26 #endif
27
28 #ifdef CSQC
29 void CSQC_BUMBLE_GUN_HUD();
30 #endif