|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Public Member Functions | |
| ATTRIB (Vehicle, m_icon, string) | |
| hud icon | |
| ATTRIB (Vehicle, PlayerPhysplug, bool(entity, float)) | |
| player physics mod | |
| ATTRIB (Vehicle, tag_head, string) | |
| tur_head model tag | |
| ATTRIB (Vehicle, tag_hud, string) | |
| hud model tag | |
| ATTRIB (Vehicle, tag_view, string) | |
| cockpit model tag | |
| virtual void | describe () |
| virtual void | vr_crosshair () |
| (CLIENT) logic to run every frame | |
| virtual void | vr_death () |
| (SERVER) called when vehicle dies | |
| virtual void | vr_enter () |
| (SERVER) called when a player enters this vehicle | |
| virtual void | vr_gunner_enter () |
| (SERVER) called when a player enters this vehicle while occupied | |
| virtual void | vr_hud () |
| (CLIENT) logic to run every frame | |
| virtual void | vr_impact () |
| (SERVER) called when a vehicle hits something | |
| virtual void | vr_precache () |
| (BOTH) precaches models/sounds used by this vehicle | |
| virtual void | vr_setcolors () |
| (SERVER) called when a vehicle's colors are being reset, so modules can be updated | |
| virtual void | vr_setup () |
| (BOTH) setup vehicle data | |
| virtual void | vr_spawn () |
| (SERVER) called when the vehicle re-spawns | |
| virtual void | vr_think () |
| (SERVER) logic to run every frame | |
Public Attributes | |
| string | head_model = "" |
| float | height = 450 |
| string | hud_model = "models/vehicles/spiderbot_cockpit.dpm" |
| vector | m_color = '1 1 1' |
| color | |
| string | m_icon = "vehicle_bumble" |
| vector | m_maxs = '230 130 130' |
| vector | m_mins = '-245 -130 -130' |
| string | m_name = _("Bumblebee") |
| string | mdl = "models/vehicles/bumblebee_body.dpm" |
| string | model = "models/vehicles/bumblebee_body.dpm" |
| string | netname = "bumblebee" |
| int | spawnflags = VHF_DMGSHAKE |
| string | tag_head = "" |
| string | tag_hud = "" |
| string | tag_view = "tag_viewport" |
| int | vehicleid = 0 |
| vector | view_ofs = '0 0 300' |
Definition at line 5 of file bumblebee.qh.
|
inlinevirtualinherited |
Definition at line 45 of file vehicle.qh.
References describe(), SUPER, and TC.
Referenced by describe().
|
inlinevirtualinherited |
(CLIENT) logic to run every frame
Definition at line 80 of file vehicle.qh.
References entity(), and vr_crosshair().
Referenced by HUD_Crosshair_Vehicle(), and vr_crosshair().
|
inlinevirtualinherited |
(SERVER) called when vehicle dies
Definition at line 64 of file vehicle.qh.
References entity(), and vr_death().
Referenced by vehicles_damage(), and vr_death().
|
inlinevirtualinherited |
(SERVER) called when a player enters this vehicle
Definition at line 68 of file vehicle.qh.
References entity(), and vr_enter().
Referenced by vehicles_enter(), and vr_enter().
|
inlinevirtualinherited |
(SERVER) called when a player enters this vehicle while occupied
Definition at line 70 of file vehicle.qh.
References entity(), and vr_gunner_enter().
Referenced by vehicles_enter(), and vr_gunner_enter().
|
inlinevirtualinherited |
(CLIENT) logic to run every frame
Definition at line 78 of file vehicle.qh.
References vr_hud().
Referenced by HUD_Vehicle(), and vr_hud().
|
inlinevirtualinherited |
(SERVER) called when a vehicle hits something
Definition at line 74 of file vehicle.qh.
References entity(), and vr_impact().
Referenced by vehicles_touch(), and vr_impact().
|
inlinevirtualinherited |
(BOTH) precaches models/sounds used by this vehicle
Definition at line 66 of file vehicle.qh.
References vr_precache().
Referenced by vehicle_initialize(), and vr_precache().
|
inlinevirtualinherited |
(SERVER) called when a vehicle's colors are being reset, so modules can be updated
Definition at line 76 of file vehicle.qh.
References entity(), and vr_setcolors().
Referenced by vehicles_reset_colors(), and vr_setcolors().
|
inlinevirtualinherited |
(BOTH) setup vehicle data
Definition at line 60 of file vehicle.qh.
References entity(), and vr_setup().
Referenced by NET_HANDLE(), vehicle_initialize(), and vr_setup().
|
inlinevirtualinherited |
(SERVER) called when the vehicle re-spawns
Definition at line 72 of file vehicle.qh.
References entity(), and vr_spawn().
Referenced by vr_spawn().
|
inlinevirtualinherited |
(SERVER) logic to run every frame
Definition at line 62 of file vehicle.qh.
References entity(), and vr_think().
Referenced by vehicles_think(), and vr_think().
| string Bumblebee::head_model = "" |
Definition at line 14 of file bumblebee.qh.
| float Bumblebee::height = 450 |
Definition at line 10 of file bumblebee.qh.
| string Bumblebee::hud_model = "models/vehicles/spiderbot_cockpit.dpm" |
Definition at line 15 of file bumblebee.qh.
|
inherited |
color
Definition at line 16 of file vehicle.qh.
| string Bumblebee::m_icon = "vehicle_bumble" |
Definition at line 22 of file bumblebee.qh.
| vector Bumblebee::m_maxs = '230 130 130' |
Definition at line 8 of file bumblebee.qh.
| vector Bumblebee::m_mins = '-245 -130 -130' |
Definition at line 7 of file bumblebee.qh.
| string Bumblebee::m_name = _("Bumblebee") |
Definition at line 21 of file bumblebee.qh.
| string Bumblebee::mdl = "models/vehicles/bumblebee_body.dpm" |
Definition at line 12 of file bumblebee.qh.
| string Bumblebee::model = "models/vehicles/bumblebee_body.dpm" |
Definition at line 13 of file bumblebee.qh.
| string Bumblebee::netname = "bumblebee" |
Definition at line 20 of file bumblebee.qh.
| int Bumblebee::spawnflags = VHF_DMGSHAKE |
Definition at line 6 of file bumblebee.qh.
| string Bumblebee::tag_head = "" |
Definition at line 16 of file bumblebee.qh.
| string Bumblebee::tag_hud = "" |
Definition at line 17 of file bumblebee.qh.
| string Bumblebee::tag_view = "tag_viewport" |
Definition at line 18 of file bumblebee.qh.
|
inherited |
Definition at line 8 of file vehicle.qh.
Referenced by vehicle_initialize().
| vector Bumblebee::view_ofs = '0 0 300' |
Definition at line 9 of file bumblebee.qh.