Nuclide
Software Development Kit for id Tech
prop_dynamic Class Reference
Inheritance diagram for prop_dynamic:
NSSurfacePropEntity

Public Member Functions

void prop_dynamic (void)
 
virtual void SpawnKey (string, string)
 This method handles entity key/value pairs on map load. 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...
 

Detailed Description

QUAKED prop_dynamic (1 0 0) (-8 -8 -8) (8 8 8) x x x x x x x x PRPDYN_NONSOLID

OVERVIEW

Client-side decorative model entity.

KEYS

  • "model" : Model file that will be displayed by the entity.
  • "modelscale" : Scale modifier of the model. Default is "1".
  • "angles" : Sets the pitch, yaw and roll angles of the model.
  • "_cs" : Toggles if the prop casts a shadow or not.
  • "solid" : Specifies which collision model to use (0: Nonsolid; 2: BBox; 6: Per-poly)

SPAWNFLAGS

  • PRPDYN_NONSOLID (256) : Prop is non-solid.

TRIVIA

This entity was introduced in Half-Life 2 (2004). There are two ways of making a prop_dynamic non-solid.

Constructor & Destructor Documentation

◆ prop_dynamic()

void prop_dynamic::prop_dynamic ( void  )

Member Function Documentation

◆ Respawn()

void prop_dynamic::Respawn ( void  )
virtual

Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.

Reimplemented from NSSurfacePropEntity.

◆ SpawnKey()

void prop_dynamic::SpawnKey ( string  strKey,
string  strValue 
)
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 NSSurfacePropEntity.


The documentation for this class was generated from the following file: