Nuclide
Software Development Kit for id Technology
|
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).
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) |
void light_dynamic::light_dynamic | ( | void | ) |
|
virtual |
|
virtual |
Handles what happens before the entity gets removed from the client game.
Reimplemented from NSIO.
|
virtual |
Reimplemented from NSEntity.
|
virtual |
Client: Handles network updates from the server for the associated entity.
Reimplemented from NSEntity.
|
virtual |
Client: Called when video resources need to be allocated or reloaded for the entity.
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 NSPointTrigger.