Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
bumblebee.qh
Go to the documentation of this file.
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
#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
,
m_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
CSQC_BUMBLE_GUN_HUD
void CSQC_BUMBLE_GUN_HUD()
Definition
bumblebee.qc:934
bumblebee_weapons.qh
Bumblebee
Definition
bumblebee.qh:5
Bumblebee::height
float height
Definition
bumblebee.qh:10
Bumblebee::tag_head
string tag_head
Definition
bumblebee.qh:16
Bumblebee::netname
string netname
Definition
bumblebee.qh:20
Bumblebee::tag_hud
string tag_hud
Definition
bumblebee.qh:17
Bumblebee::m_name
string m_name
Definition
bumblebee.qh:21
Bumblebee::hud_model
string hud_model
Definition
bumblebee.qh:15
Bumblebee::model
string model
Definition
bumblebee.qh:13
Bumblebee::spawnflags
int spawnflags
Definition
bumblebee.qh:6
Bumblebee::m_maxs
vector m_maxs
Definition
bumblebee.qh:8
Bumblebee::m_icon
string m_icon
Definition
bumblebee.qh:22
Bumblebee::view_ofs
vector view_ofs
Definition
bumblebee.qh:9
Bumblebee::mdl
string mdl
Definition
bumblebee.qh:12
Bumblebee::m_mins
vector m_mins
Definition
bumblebee.qh:7
Bumblebee::head_model
string head_model
Definition
bumblebee.qh:14
Bumblebee::tag_view
string tag_view
Definition
bumblebee.qh:18
Vehicle
Definition
vehicle.qh:7
Vehicle::ATTRIB
ATTRIB(Vehicle, m_icon, string)
hud icon
MODEL
#define MODEL(name, path)
Definition
all.qh:8
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
vector
vector
Definition
self.qh:92
VHF_DMGSHAKE
const int VHF_DMGSHAKE
Vehicle is airborn.
Definition
vehicle.qh:93
REGISTER_VEHICLE
#define REGISTER_VEHICLE(id, inst)
Definition
all.qh:12
common
vehicles
vehicle
bumblebee.qh
Generated on
for Xonotic QuakeC by
1.14.0