|
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 = 200 |
| string | hud_model = "models/vehicles/raptor_cockpit.dpm" |
| vector | m_color = '1 1 1' |
| color | |
| string | m_icon = "vehicle_raptor" |
| vector | m_maxs = '80 80 70' |
| vector | m_mins = '-80 -80 0' |
| string | m_name = _("Raptor") |
| string | mdl = "models/vehicles/raptor.dpm" |
| string | model = "models/vehicles/raptor.dpm" |
| string | netname = "raptor" |
| int | spawnflags = VHF_DMGSHAKE | VHF_DMGROLL |
| string | tag_head = "" |
| string | tag_hud = "tag_hud" |
| string | tag_view = "tag_camera" |
| int | vehicleid = 0 |
| vector | view_ofs = '0 0 160' |
|
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 Raptor::hud_model = "models/vehicles/raptor_cockpit.dpm" |
|
inherited |
color
Definition at line 16 of file vehicle.qh.
| int Raptor::spawnflags = VHF_DMGSHAKE | VHF_DMGROLL |
|
inherited |
Definition at line 8 of file vehicle.qh.
Referenced by vehicle_initialize().