Xonotic
spiderbot.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "spiderbot_weapons.qh"
4 
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, vehicle_name, string, _("Spiderbot"));
22 /* icon */ ATTRIB(Spiderbot, m_icon, string, "vehicle_spider");
23 ENDCLASS(Spiderbot)
24 
25 REGISTER_VEHICLE(SPIDERBOT, NEW(Spiderbot));
#define NEW(cname,...)
Definition: oo.qh:105
vector view_ofs
Definition: progsdefs.qc:151
CLASS(Object) Object
Definition: oo.qh:318
const int VHF_DMGSHAKE
Vehicle is airborn.
Definition: vehicle.qh:72
string netname
Definition: powerups.qc:20
float spawnflags
Definition: progsdefs.qc:191
string model
Definition: csprogsdefs.qc:108
#define ATTRIB(...)
Definition: oo.qh:136
float height
Definition: jumppads.qh:12
REGISTER_VEHICLE(SPIDERBOT, NEW(Spiderbot))
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269