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
5
CLASS
(
Raptor
,
Vehicle
)
6
#ifdef SVQC
7
/* spawnflags */
ATTRIB
(
Raptor
,
spawnflags
,
int
,
VHF_DMGSHAKE
|
VHF_DMGROLL
);
8
/* mins */
ATTRIB
(
Raptor
,
m_mins
,
vector
,
'-80 -80 0'
);
9
/* maxs */
ATTRIB
(
Raptor
,
m_maxs
,
vector
,
'80 80 70'
);
10
#endif
11
#ifdef GAMEQC
12
/* view offset*/
ATTRIB
(
Raptor
,
view_ofs
,
vector
,
'0 0 160'
);
13
/* view dist */
ATTRIB
(
Raptor
,
height
,
float
, 200);
14
/* model */
ATTRIB
(
Raptor
,
mdl
,
string
,
"models/vehicles/raptor.dpm"
);
15
/* model */
ATTRIB
(
Raptor
,
model
,
string
,
"models/vehicles/raptor.dpm"
);
16
/* head_model */
ATTRIB
(
Raptor
,
head_model
,
string
,
""
);
17
/* hud_model */
ATTRIB
(
Raptor
,
hud_model
,
string
,
"models/vehicles/raptor_cockpit.dpm"
);
18
/* tags */
ATTRIB
(
Raptor
,
tag_head
,
string
,
""
);
19
/* tags */
ATTRIB
(
Raptor
,
tag_hud
,
string
,
"tag_hud"
);
20
/* tags */
ATTRIB
(
Raptor
,
tag_view
,
string
,
"tag_camera"
);
21
#endif
22
/* netname */
ATTRIB
(
Raptor
,
netname
,
string
,
"raptor"
);
23
/* fullname */
ATTRIB
(
Raptor
,
m_name
,
string
, _(
"Raptor"
));
24
/* icon */
ATTRIB
(
Raptor
,
m_icon
,
string
,
"vehicle_raptor"
);
25
ENDCLASS
(
Raptor
)
26
27
REGISTER_VEHICLE
(RAPTOR,
NEW
(
Raptor
));
28
29
const
int
RSM_FIRST
= 1;
30
const
int
RSM_BOMB
= 1;
31
const
int
RSM_FLARE
= 2;
32
const
int
RSM_LAST
= 2;
Raptor
Definition
raptor.qh:5
Raptor::spawnflags
int spawnflags
Definition
raptor.qh:7
Raptor::m_icon
string m_icon
Definition
raptor.qh:24
Raptor::head_model
string head_model
Definition
raptor.qh:16
Raptor::mdl
string mdl
Definition
raptor.qh:14
Raptor::model
string model
Definition
raptor.qh:15
Raptor::hud_model
string hud_model
Definition
raptor.qh:17
Raptor::view_ofs
vector view_ofs
Definition
raptor.qh:12
Raptor::tag_view
string tag_view
Definition
raptor.qh:20
Raptor::netname
string netname
Definition
raptor.qh:22
Raptor::m_name
string m_name
Definition
raptor.qh:23
Raptor::m_mins
vector m_mins
Definition
raptor.qh:8
Raptor::m_maxs
vector m_maxs
Definition
raptor.qh:9
Raptor::tag_head
string tag_head
Definition
raptor.qh:18
Raptor::height
float height
Definition
raptor.qh:13
Raptor::tag_hud
string tag_hud
Definition
raptor.qh:19
Vehicle
Definition
vehicle.qh:7
NEW
#define NEW(cname,...)
Definition
oo.qh:117
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
ATTRIB
#define ATTRIB(...)
Definition
oo.qh:148
RSM_BOMB
const int RSM_BOMB
Definition
raptor.qh:30
RSM_LAST
const int RSM_LAST
Definition
raptor.qh:32
RSM_FIRST
const int RSM_FIRST
Definition
raptor.qh:29
RSM_FLARE
const int RSM_FLARE
Definition
raptor.qh:31
raptor_weapons.qh
vector
vector
Definition
self.qh:92
VHF_DMGSHAKE
const int VHF_DMGSHAKE
Add random velocity each frame if health < 50%.
Definition
vehicle.qh:103
VHF_DMGROLL
const int VHF_DMGROLL
Add random angles each frame if health < 50%.
Definition
vehicle.qh:104
REGISTER_VEHICLE
#define REGISTER_VEHICLE(id, inst)
Definition
all.qh:12
common
vehicles
vehicle
raptor.qh
Generated on
for Xonotic QuakeC by
1.14.0