Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

DP EF NOGUNBOB

From Quake Wiki

Revision as of 14:19, 28 February 2008 by KrimZon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Implements a new .effects bit:

float EF_NOGUNBOB = 256;

This has different meanings depending on the entity it is used on:

  • player entity - Prevents gun bobbing on player.viewmodel
  • viewmodelforclient entity - Prevents gun bobbing on an entity attached to the player's view
  • other entities - No effect

Possible uses:

  • Disabling gun bobbing on a diving mask or other model used as a .viewmodel.
  • Disabling gun bobbing on view-relative models meant to be part of the heads up display. (note: if fov is changed these entities may be off-screen, or too near the center of the screen, so use fov 90 in this case)