Serious Sam Fusion 2017 (beta)

Serious Sam Fusion 2017 (beta)

88 ratings
[Resource] Dynamic Bones for Players/Puppets
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
143.834 KB
17 Feb, 2018 @ 1:31pm
11 Feb, 2019 @ 9:56pm
10 Change Notes ( view )

Subscribe to download
[Resource] Dynamic Bones for Players/Puppets

In 1 collection by Ryason55
Mods for stream
19 items
Description
This mod adds the capability for players and puppets to have bones that jiggle and move based on the character's movements. Note that for this to work for your models, the skeleton of your character must by modified to support it. I've made a guide for how to do this here:
http://steamproxy.net/sharedfiles/filedetails/?id=1305027784


There are now performance-related settings availible via console commands. These are to help with making the dynamic bones not hit the FPS as severely, primarily in the case of large servers. They are:

globals.SetDynamicBoneFPS(LocalPlayerFPS,OtherPlayersFPS)
Sets how many times per second the dynamic bones will update. This is set separately for the local player (the player you're currently viewing from ingame), and for other players/puppets. A value of 0 or lower will set it back to the default (60 for local, 30 for others). Of course, the dynamic bones can only run as fast as your current FPS; This is just a maximum.

globals.SetDynamicBoneDistanceMod(Distance)
This reduces the range where the Dynamic Bones on other players will be calculated. For reference, the Witch-Bride player has bones that are handled as far out as 35 meters. Setting a value of 10 would make the range for those bones 25 meters, while also disabling bones that are normally set for 10 meters or lower. Setting an absurdly high number would effectively disable the dynamic bones on other players. Do note that this will never disable dynamic bones on the local player.
2 Comments
Ryason55  [author] 24 Mar, 2018 @ 2:17am 
Update: Hopefully improved performance by making the dynamic bones only run at 60 FPS for the local player, and 30 FPS for all other players. This can be tweaked via a couple new console commands, outlined in the description.
Ryason55  [author] 20 Feb, 2018 @ 12:07am 
Update: Added the capability to implement angle limits, and updated the guide accordingly.