Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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, m_name, string, _("Raptor"));
22/* icon */ ATTRIB(Raptor, m_icon, string, "vehicle_raptor");
25
26const int RSM_FIRST = 1;
27const int RSM_BOMB = 1;
28const int RSM_FLARE = 2;
29const int RSM_LAST = 2;
int spawnflags
Definition raptor.qh:6
string m_icon
Definition raptor.qh:22
string head_model
Definition raptor.qh:14
string mdl
Definition raptor.qh:12
string model
Definition raptor.qh:13
string hud_model
Definition raptor.qh:15
vector view_ofs
Definition raptor.qh:9
string tag_view
Definition raptor.qh:18
string netname
Definition raptor.qh:20
string m_name
Definition raptor.qh:21
vector m_mins
Definition raptor.qh:7
vector m_maxs
Definition raptor.qh:8
string tag_head
Definition raptor.qh:16
float height
Definition raptor.qh:10
string tag_hud
Definition raptor.qh:17
ATTRIB(Vehicle, m_icon, string)
hud icon
#define NEW(cname,...)
Definition oo.qh:117
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define ATTRIB(...)
Definition oo.qh:148
const int RSM_BOMB
Definition raptor.qh:27
const int RSM_LAST
Definition raptor.qh:29
const int RSM_FIRST
Definition raptor.qh:26
const int RSM_FLARE
Definition raptor.qh:28
vector
Definition self.qh:92
const int VHF_DMGSHAKE
Vehicle is airborn.
Definition vehicle.qh:93
const int VHF_DMGROLL
Add random velocity each frame if health < 50%.
Definition vehicle.qh:94
#define REGISTER_VEHICLE(id, inst)
Definition all.qh:12