Xonotic
bumblebee.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "bumblebee_weapons.qh"
4 
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 #ifdef GAMEQC
12 /* model */ ATTRIB(Bumblebee, mdl, string, "models/vehicles/bumblebee_body.dpm");
13 /* model */ ATTRIB(Bumblebee, model, string, "models/vehicles/bumblebee_body.dpm");
14 /* head_model */ ATTRIB(Bumblebee, head_model, string, "");
15 /* hud_model */ ATTRIB(Bumblebee, hud_model, string, "models/vehicles/spiderbot_cockpit.dpm");
16 /* tags */ ATTRIB(Bumblebee, tag_head, string, "");
17 /* tags */ ATTRIB(Bumblebee, tag_hud, string, "");
18 /* tags */ ATTRIB(Bumblebee, tag_view, string, "tag_viewport");
19 #endif
20 /* netname */ ATTRIB(Bumblebee, netname, string, "bumblebee");
21 /* fullname */ ATTRIB(Bumblebee, vehicle_name, string, _("Bumblebee"));
22 /* icon */ ATTRIB(Bumblebee, m_icon, string, "vehicle_bumble");
23 ENDCLASS(Bumblebee)
24 REGISTER_VEHICLE(BUMBLEBEE, NEW(Bumblebee));
25 
26 #ifdef GAMEQC
27  MODEL(VEH_BUMBLEBEE_GUNCOCKPIT, "models/vehicles/wakizashi_cockpit.dpm");
28 #endif
29 
30 #ifdef CSQC
31 void CSQC_BUMBLE_GUN_HUD();
32 #endif
#define NEW(cname,...)
Definition: oo.qh:105
vector view_ofs
Definition: progsdefs.qc:151
CLASS(Object) Object
Definition: oo.qh:318
const int VHF_DMGSHAKE
Vehicle is airborn.
Definition: vehicle.qh:72
string netname
Definition: powerups.qc:20
float spawnflags
Definition: progsdefs.qc:191
string model
Definition: csprogsdefs.qc:108
#define ATTRIB(...)
Definition: oo.qh:136
float height
Definition: jumppads.qh:12
#define MODEL(name, path)
Definition: all.qh:8
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
REGISTER_VEHICLE(BUMBLEBEE, NEW(Bumblebee))