Xonotic
raptor.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "raptor_weapons.qh"
4 
6 /* spawnflags */ ATTRIB(Raptor, spawnflags, int, VHF_DMGSHAKE | VHF_DMGROLL);
7 /* mins */ ATTRIB(Raptor, m_mins, vector, '-80 -80 0');
8 /* maxs */ ATTRIB(Raptor, m_maxs, vector, '80 80 70');
9 /* view offset*/ ATTRIB(Raptor, view_ofs, vector, '0 0 160');
10 /* view dist */ ATTRIB(Raptor, height, float, 200);
11 #ifdef GAMEQC
12 /* model */ ATTRIB(Raptor, mdl, string, "models/vehicles/raptor.dpm");
13 /* model */ ATTRIB(Raptor, model, string, "models/vehicles/raptor.dpm");
14 /* head_model */ ATTRIB(Raptor, head_model, string, "");
15 /* hud_model */ ATTRIB(Raptor, hud_model, string, "models/vehicles/raptor_cockpit.dpm");
16 /* tags */ ATTRIB(Raptor, tag_head, string, "");
17 /* tags */ ATTRIB(Raptor, tag_hud, string, "tag_hud");
18 /* tags */ ATTRIB(Raptor, tag_view, string, "tag_camera");
19 #endif
20 /* netname */ ATTRIB(Raptor, netname, string, "raptor");
21 /* fullname */ ATTRIB(Raptor, vehicle_name, string, _("Raptor"));
22 /* icon */ ATTRIB(Raptor, m_icon, string, "vehicle_raptor");
23 ENDCLASS(Raptor)
24 REGISTER_VEHICLE(RAPTOR, NEW(Raptor));
25 
26 const int RSM_FIRST = 1;
27 const int RSM_BOMB = 1;
28 const int RSM_FLARE = 2;
29 const int RSM_LAST = 2;
#define NEW(cname,...)
Definition: oo.qh:105
vector view_ofs
Definition: progsdefs.qc:151
CLASS(Object) Object
Definition: oo.qh:318
const int RSM_LAST
Definition: raptor.qh:29
const int VHF_DMGROLL
Add random velocity each frame if health < 50%.
Definition: vehicle.qh:73
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
vector(float skel, float bonenum) _skel_get_boneabs_hidden
const int RSM_FLARE
Definition: raptor.qh:28
#define ENDCLASS(cname)
Definition: oo.qh:269
const int RSM_BOMB
Definition: raptor.qh:27
REGISTER_VEHICLE(RAPTOR, NEW(Raptor))
const int RSM_FIRST
Definition: raptor.qh:26
Definition: raptor.qh:5