Nuclide
Software Development Kit for id Tech
|
Shared-Entity: Level Of Detail Geometry. More...
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... | |
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).
|
virtual |
Returns if this entity can spawned from the map file.
clientSide | If it's being spawned on the client-side. |
Reimplemented from NSEntity.
Reimplemented from NSRenderableEntity.
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from NSRenderableEntity.
Called by the engine whenever we need to send a client an update about this entity.
Reimplemented from NSRenderableEntity.
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.
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.