Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "DP EF NOGUNBOB"
From Quake Wiki
(New page: 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 ...) |
|||
Line 4: | Line 4: | ||
This has different meanings depending on the entity it is used on: | This has different meanings depending on the entity it is used on: | ||
− | player entity - | + | |
− | viewmodelforclient entity - | + | * player entity - Prevents gun bobbing on player.viewmodel |
− | other entities - | + | * viewmodelforclient entity - Prevents gun bobbing on an entity attached to the player's view |
+ | * other entities - No effect | ||
Possible uses: | Possible uses: | ||
* Disabling gun bobbing on a diving mask or other model used as a .viewmodel. | * 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) | * 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) |
Latest revision as of 15:19, 28 February 2008
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)