Nuclide
Software Development Kit for id Technology
|
Shared-Entity: Level Of Detail Geometry.
QUAKED func_lod (0 .5 .8) ?
Level of Detail brush entity, disappears at a set distance. Useful for when VIS is impossible or not enough.
This entity was introduced in Half-Life 2 (2004).
Public Member Functions | |
void | func_lod (void) |
virtual void | SpawnKey (string, string) |
This method handles entity key/value pairs on map load. More... | |
virtual void | Spawned (void) |
Called when the entity is fulled initialized. More... | |
virtual float | predraw (void) |
virtual bool | CanSpawn (bool) |
Returns if this entity can spawned from the map file. More... | |
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. More... | |
virtual float | SendEntity (entity, float) |
Called by the engine whenever we need to send a client an update about this entity. More... | |
void func_lod::func_lod | ( | void | ) |
|
virtual |
Returns if this entity can spawned from the map file.
clientSide | If it's being spawned on the client-side. |
Reimplemented from NSEntity.
|
virtual |
Reimplemented from NSRenderableEntity.
|
virtual |
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from NSRenderableEntity.
|
virtual |
Called by the engine whenever we need to send a client an update about this entity.
Reimplemented from NSRenderableEntity.
|
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 NSEntity.
|
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 NSIO.
Reimplemented from NSRenderableEntity.