Skip to content
Willy edited this page Feb 11, 2023 · 3 revisions

##UNRELEASED

Sprint stance overhaul:

Added 2 new settings to flansmod.cfg

  • enableWeaponSprintStance - Applies a default stance to all weapons, no setup required (default on/true)
  • enableRandomSprintStace - Applies a seeded random stance within hard-coded bounds to all weapons (default off/false)

Deprecated 2 settings and added 2 new settings to gun config

Existing variables stanceTranslate and stanceRotate have been deprecated and will no longer be applied to avoid stuff getting really broken with this change. sprintStanceTranslate and sprintStanceRotate should now be used to apply a custom animation.

With enableWeaponSprintStance enabled, all guns will default to the same position using the following values Vector3f defaultTranslate = new Vector3f(0, 0F, -0.2); Vector3f defaultRotation = new Vector3f(-15F, 45F, -10F); If enableRandomSprintStace is enabled, all guns will have a unique sprinting position that is randomly generated using their shortname as a seed. This means they will always have the same position. This is off by default as it works for most guns but some may look silly. If you wish to use this but have a few guns with issues, you can manually set their position which will override this setting. This can be done by placing something like this is the model file. sprintStanceTranslate = new Vector3f(0.1F, -0.0F, 0.25F); sprintStanceRotate = new Vector3f(-15F, 25F, -10F);

fancyStance is now defaulted to true, set to false to disable the sprint stance on a per weapon basis.

Clone this wiki locally