Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
spiderbot.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
spiderbot_weapons.qh
"
4
5
CLASS
(
Spiderbot
,
Vehicle
)
6
/* spawnflags */
ATTRIB
(
Spiderbot
,
spawnflags
,
int
,
VHF_DMGSHAKE
);
7
/* mins */
ATTRIB
(
Spiderbot
,
m_mins
,
vector
, '-75 -75 10');
8
/* maxs */
ATTRIB
(
Spiderbot
,
m_maxs
,
vector
, '75 75 125');
9
/* view offset*/
ATTRIB
(
Spiderbot
,
view_ofs
,
vector
, '0 0 70');
10
/* view dist */
ATTRIB
(
Spiderbot
,
height
,
float
, 170);
11
#ifdef GAMEQC
12
/* model */
ATTRIB
(
Spiderbot
,
mdl
,
string
,
"models/vehicles/spiderbot.dpm"
);
13
/* model */
ATTRIB
(
Spiderbot
,
model
,
string
,
"models/vehicles/spiderbot.dpm"
);
14
/* head_model */
ATTRIB
(
Spiderbot
,
head_model
,
string
,
"models/vehicles/spiderbot_top.dpm"
);
15
/* hud_model */
ATTRIB
(
Spiderbot
,
hud_model
,
string
,
"models/vehicles/spiderbot_cockpit.dpm"
);
16
/* tags */
ATTRIB
(
Spiderbot
,
tag_head
,
string
,
"tag_head"
);
17
/* tags */
ATTRIB
(
Spiderbot
,
tag_hud
,
string
,
"tag_hud"
);
18
/* tags */
ATTRIB
(
Spiderbot
,
tag_view
,
string
,
""
);
19
#endif
20
/* netname */
ATTRIB
(
Spiderbot
,
netname
,
string
,
"spiderbot"
);
21
/* fullname */
ATTRIB
(
Spiderbot
,
m_name
,
string
, _(
"Spiderbot"
));
22
/* icon */
ATTRIB
(
Spiderbot
,
m_icon
,
string
,
"vehicle_spider"
);
23
ENDCLASS
(
Spiderbot
)
24
25
REGISTER_VEHICLE
(SPIDERBOT,
NEW
(
Spiderbot
));
Spiderbot
Definition
spiderbot.qh:5
Spiderbot::view_ofs
vector view_ofs
Definition
spiderbot.qh:9
Spiderbot::head_model
string head_model
Definition
spiderbot.qh:14
Spiderbot::m_icon
string m_icon
Definition
spiderbot.qh:22
Spiderbot::m_maxs
vector m_maxs
Definition
spiderbot.qh:8
Spiderbot::hud_model
string hud_model
Definition
spiderbot.qh:15
Spiderbot::mdl
string mdl
Definition
spiderbot.qh:12
Spiderbot::tag_head
string tag_head
Definition
spiderbot.qh:16
Spiderbot::tag_view
string tag_view
Definition
spiderbot.qh:18
Spiderbot::m_name
string m_name
Definition
spiderbot.qh:21
Spiderbot::netname
string netname
Definition
spiderbot.qh:20
Spiderbot::m_mins
vector m_mins
Definition
spiderbot.qh:7
Spiderbot::tag_hud
string tag_hud
Definition
spiderbot.qh:17
Spiderbot::height
float height
Definition
spiderbot.qh:10
Spiderbot::spawnflags
int spawnflags
Definition
spiderbot.qh:6
Spiderbot::model
string model
Definition
spiderbot.qh:13
Vehicle
Definition
vehicle.qh:7
Vehicle::ATTRIB
ATTRIB(Vehicle, m_icon, string)
hud icon
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
spiderbot_weapons.qh
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
spiderbot.qh
Generated on
for Xonotic QuakeC by
1.14.0