Xonotic Forums
[SUGGESTION] Fixed shotgun spread as a cvar - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Suggestion Box (https://forums.xonotic.org/forumdisplay.php?fid=20)
+--- Thread: [SUGGESTION] Fixed shotgun spread as a cvar (/showthread.php?tid=9509)



Fixed shotgun spread as a cvar - lerh050 - 09-02-2022

Would be nice for some competitive contexts, and consistency's just really fun to play with. This suggestion was inspired by Team Fortress 2's implementation of it.

EDIT: Added pic for reference







How Team Fortress 2 accomplishes this
[Image: jUNCs.png]
The spreads are fixed in a grid pattern and expands under distance. Simple isn't it?
I imagine it would be similar to this as well if it were to be implemented in Xonotic. Both games are very close to the same vein in the regard of having characters that run and gun with shotguns. 



RE: Fixed shotgun spread as a cvar - Freddy - 09-03-2022

I've actually implemented a fixed pattern for the shotgun, but I can't remember why this was not merged. Code is here:
https://gitlab.com/xonotic/xonotic-data.pk3dir/-/tree/DefaultUser/weapon_experiments
It's not very clean as this branch was only intended to test the gameplay/balance aspect.