Nuclide
Software Development Kit for id Tech
|
Shared-Entity: Dynamic Light. More...
Public Member Functions | |
void | light_dynamic (void) |
virtual void | SpawnKey (string, string) |
This method handles entity key/value pairs on map load. More... | |
virtual void | OnRemoveEntity (void) |
Handles what happens before the entity gets removed from the client game. More... | |
virtual void | ReceiveEntity (float, float) |
Client: Handles network updates from the server for the associated entity. More... | |
virtual float | predraw (void) |
virtual void | RendererRestarted (void) |
Client: Called when video resources need to be allocated or reloaded for the entity. More... | |
virtual void | LightChanged (float) |
Shared-Entity: Dynamic Light.
QUAKED light_dynamic (0 1 0) (-8 -8 -8) (8 8 8)
Dynamic light entity. Can be parented to things, it even has some inputs that may be interesting.
The 'start_active' is a Nuclide specific one. There is no way in Source engine games to tell the entity to start inactive as far as I can tell.
This entity was introduced in Half-Life 2 (2004).
Handles what happens before the entity gets removed from the client game.
Reimplemented from NSEntity.
Client: Handles network updates from the server for the associated entity.
Reimplemented from NSEntity.
Client: Called when video resources need to be allocated or reloaded for the entity.
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 NSPointTrigger.