Nuclide
Software Development Kit for id Tech
phys_rope Class Reference
Inheritance diagram for phys_rope:
NSEntity

Public Member Functions

void phys_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)
 

Detailed Description

QUAKED phys_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).

Constructor & Destructor Documentation

◆ phys_rope()

void phys_rope::phys_rope ( void  )

Member Function Documentation

◆ DrawSegment()

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

◆ predraw()

float phys_rope::predraw ( void  )
virtual

◆ ReceiveEntity()

void phys_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: