Skip to content

feat: make gibs fly away from damage, CVAR#51

Closed
WofWca wants to merge 2 commits intoec-:masterfrom
WofWca:baseq3a-directional-gibs
Closed

feat: make gibs fly away from damage, CVAR#51
WofWca wants to merge 2 commits intoec-:masterfrom
WofWca:baseq3a-directional-gibs

Conversation

@WofWca
Copy link
Contributor

@WofWca WofWca commented Nov 6, 2025

gib-directional-3.mp4

TODO:

  • Address the TODOs in the comments
  • Clean up the code.
  • Add an easy way to disable this.
  • Consider disabling by default.
  • Find a good default value. 5 might be too much sometimes, and 1 or 2 can be too weak.
  • (optional) fiddle with the way it works. Make damage-dependent.
  • This MR is only about the last commit. The first one ("feat: GibPlayer: spread gib start positions") can be removed, or merged separately.

TODO:
- [ ] Clean up the code
- [ ] Put behind CVAR
`cg_gibsDirectionalVelocityScale`
@ec-
Copy link
Owner

ec- commented Nov 6, 2025

Looks very cool, config cvar (for strength/direction) is necessary for that

@WofWca
Copy link
Contributor Author

WofWca commented Nov 10, 2025

Closing in favor of #53

@WofWca WofWca closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants