![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
Shared-Entity: Model Based Vehicle.
QUAKED prop_vehicle_driveable (1 0 0) (-50 -50 0) (50 50 70)
Point entity defining a 4-wheel vehicle that you can drive.
None currently.
None currently.
This entity was introduced in Half-Life 2 (2004).
Public Member Functions | |
| void | prop_vehicle_driveable (void) |
| virtual void | Spawned (void) |
| Called when the entity is fulled initialized. | |
| virtual void | Physics (void) |
| virtual void | RunVehiclePhysics (void) |
| virtual void | WeaponInput (void) |
| virtual void | PlayerInput (void) |
| virtual void | OnRemoveEntity (void) |
| Handles what happens before the entity gets removed from the client game. | |
| nonvirtual void | SpawnWheels () |
| virtual bool | HideViewWeapon (void) |
| virtual void | PredictPreFrame (void) |
| virtual void | PredictPostFrame (void) |
| virtual void | ReceiveEntity (float, float) |
| Client: Handles network updates from the server for the associated entity. | |
| virtual void | UpdateView (void) |
| virtual void | Respawn (void) |
| Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state. | |
| virtual void | OnPlayerUse (void) |
| virtual void | EvaluateEntity (void) |
| Run each tic after physics are run to determine if we need to send updates over the network. | |
| virtual float | SendEntity (entity, float) |
| Called by the engine whenever we need to send a client an update about this entity. | |
| virtual void | SpawnKey (string keyName, string setValue) |
| This method handles entity key/value pairs on map load. | |
| void prop_vehicle_driveable::prop_vehicle_driveable | ( | void | ) |
|
virtual |
Run each tic after physics are run to determine if we need to send updates over the network.
Reimplemented from ncVehicle.
|
virtual |
Reimplemented from ncVehicle.
|
virtual |
|
virtual |
Handles what happens before the entity gets removed from the client game.
Reimplemented from ncRenderableEntity.
|
virtual |
|
virtual |
Reimplemented from ncVehicle.
|
virtual |
Reimplemented from ncVehicle.
|
virtual |
Reimplemented from ncVehicle.
|
virtual |
Client: Handles network updates from the server for the associated entity.
Reimplemented from ncVehicle.
|
virtual |
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from ncSurfacePropEntity.
|
virtual |
|
virtual |
Called by the engine whenever we need to send a client an update about this entity.
Reimplemented from ncVehicle.
|
virtual |
Called when the entity is fulled initialized.
Any spawn key/value info pairs have already been dealt with. So now we can make full decisions on the entity. Always make sure to call super::Spawned(); inside your method when overriding.
Reimplemented from ncSurfacePropEntity.
|
virtual |
This method handles entity key/value pairs on map load.
You can easily convert the strValue parameter using the ReadFloat etc. methods that are part of ncIO.
Reimplemented from ncSurfacePropEntity.
| void prop_vehicle_driveable::SpawnWheels | ( | void | ) |
|
virtual |
Reimplemented from ncVehicle.
|
virtual |