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
#ifdef SVQC
7
/* spawnflags */
ATTRIB
(
Spiderbot
,
spawnflags
,
int
,
VHF_DMGSHAKE
);
8
/* mins */
ATTRIB
(
Spiderbot
,
m_mins
,
vector
,
'-75 -75 10'
);
9
/* maxs */
ATTRIB
(
Spiderbot
,
m_maxs
,
vector
,
'75 75 125'
);
10
#endif
11
#ifdef GAMEQC
12
/* view offset*/
ATTRIB
(
Spiderbot
,
view_ofs
,
vector
,
'0 0 70'
);
13
/* view dist */
ATTRIB
(
Spiderbot
,
height
,
float
, 170);
14
/* model */
ATTRIB
(
Spiderbot
,
mdl
,
string
,
"models/vehicles/spiderbot.dpm"
);
15
/* model */
ATTRIB
(
Spiderbot
,
model
,
string
,
"models/vehicles/spiderbot.dpm"
);
16
/* head_model */
ATTRIB
(
Spiderbot
,
head_model
,
string
,
"models/vehicles/spiderbot_top.dpm"
);
17
/* hud_model */
ATTRIB
(
Spiderbot
,
hud_model
,
string
,
"models/vehicles/spiderbot_cockpit.dpm"
);
18
/* tags */
ATTRIB
(
Spiderbot
,
tag_head
,
string
,
"tag_head"
);
19
/* tags */
ATTRIB
(
Spiderbot
,
tag_hud
,
string
,
"tag_hud"
);
20
/* tags */
ATTRIB
(
Spiderbot
,
tag_view
,
string
,
""
);
21
#endif
22
/* netname */
ATTRIB
(
Spiderbot
,
netname
,
string
,
"spiderbot"
);
23
/* fullname */
ATTRIB
(
Spiderbot
,
m_name
,
string
, _(
"Spiderbot"
));
24
/* icon */
ATTRIB
(
Spiderbot
,
m_icon
,
string
,
"vehicle_spider"
);
25
ENDCLASS
(
Spiderbot
)
26
27
REGISTER_VEHICLE
(SPIDERBOT,
NEW
(
Spiderbot
));
Spiderbot
Definition
spiderbot.qh:5
Spiderbot::view_ofs
vector view_ofs
Definition
spiderbot.qh:12
Spiderbot::head_model
string head_model
Definition
spiderbot.qh:16
Spiderbot::m_icon
string m_icon
Definition
spiderbot.qh:24
Spiderbot::m_maxs
vector m_maxs
Definition
spiderbot.qh:9
Spiderbot::hud_model
string hud_model
Definition
spiderbot.qh:17
Spiderbot::mdl
string mdl
Definition
spiderbot.qh:14
Spiderbot::tag_head
string tag_head
Definition
spiderbot.qh:18
Spiderbot::tag_view
string tag_view
Definition
spiderbot.qh:20
Spiderbot::m_name
string m_name
Definition
spiderbot.qh:23
Spiderbot::netname
string netname
Definition
spiderbot.qh:22
Spiderbot::m_mins
vector m_mins
Definition
spiderbot.qh:8
Spiderbot::tag_hud
string tag_hud
Definition
spiderbot.qh:19
Spiderbot::height
float height
Definition
spiderbot.qh:13
Spiderbot::spawnflags
int spawnflags
Definition
spiderbot.qh:7
Spiderbot::model
string model
Definition
spiderbot.qh:15
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
vector
vector
Definition
self.qh:92
spiderbot_weapons.qh
VHF_DMGSHAKE
const int VHF_DMGSHAKE
Add random velocity each frame if health < 50%.
Definition
vehicle.qh:103
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