Nuclide
Software Development Kit for id Technology
prop_rope Class Reference

About this class

Shared-Entity: Faux Physics Rope.

QUAKED prop_rope (1 0 0) (-8 -8 -8) (8 8 8) ROPE_VERTICAL

OVERVIEW

Client-side decorative rope entity. Connect the entity to a named info_notnull and watch it swing around.

KEYS

  • "sag" : Multiplier on how much sagginess will be applied to the rope.
  • "segments" : Number of total segments. Default is "16".
  • "material" : The texture to use on the rope.
  • "swingfactor" : Multiplier on how much the rope swings about.
  • "target" : The info_notnull to connect the rope to.

SPAWNFLAGS

  • ROPE_VERTICAL (1) : Only draw the first half of the rope, useful for vertical setups.

TRIVIA

This entity was introduced in The Wastes (2018).

Inheritance diagram for prop_rope:
NSEntity

Public Member Functions

void prop_rope (void)
 
virtual float predraw (void)
 
virtual void ReceiveEntity (float, float)
 Client: Handles network updates from the server for the associated entity. More...
 
virtual void DrawSegment (vector, vector, vector)
 

Constructor & Destructor Documentation

◆ prop_rope()

void prop_rope::prop_rope ( void  )

Member Function Documentation

◆ DrawSegment()

void prop_rope::DrawSegment ( vector  pos1,
vector  pos2,
vector  vecPlayer 
)
virtual

◆ predraw()

float prop_rope::predraw ( void  )
virtual

Reimplemented from NSEntity.

◆ ReceiveEntity()

void prop_rope::ReceiveEntity ( float  flNew,
float  flChanged 
)
virtual

Client: Handles network updates from the server for the associated entity.

Reimplemented from NSEntity.


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