January 3, 2010

Quake 1 QC Tips and Tricks

Are you getting “Too few parameters” error for droptofloor() function?

Be sure to modify line 602 in defs.qc,

float(float yaw, float dist) droptofloor= #34;    // TRUE if landed on floor

with this one

float() droptofloor= #34; // TRUE if landed on floor

Function droptofloor() is a float and should return TRUE or FALSE. Drops self to the floor, if the floor is less than -256 coordinates below. Returns TRUE if landed on floor. Mainly used to spawn items or walking monsters on the floor.

Post a Comment

No Comments

No comments yet.

Sorry, the comment form is closed at this time.