Roll Disabler (Crash fix) 1.0
ROLL DISABLER:
This tool is not meant to work as a standalone mod, instead it's a tool for modders and is only here due to the amount of requests I received. This mod must be installed along side the original mod that depends on this mod, otherwise your game will crash.
The instructions below assume you have minimal knowlegde of Unreal Engine.
BEFORE YOU IMPLEMENT THIS:
People pointed out that if you don't export the sockets as bones in FModel, the crash seems to be resolved, please try this before you implement this mod.
Only use this mod as a last resort or if you wish to disable the roll on purpose.
SETUP:
- Navigate to the "Content" folder and create a folder name "RollDisabler"
- Go inside of that new folder and create a "Blueprint Function Library" Blueprint and name it "BPFL_Utils"
- Open the Blueprint Function LIbrary and create a new function called "DisableRoll" (no spaces!!!!)
- Add an input to the function called "Pawn" of type "Pawn" (object reference)
- Your function library should look like this
Now simply find a way to call this function somewhere on your code. The quickest and easiest way is to simply make use of a custom post process animation blueprint for your character, and calling this function in the intialize events.
Using this method will only disable the roll after you switch to the character that has this post process anim BP (which most likely is the only character that causes the crash). After which point the roll is disabled for the entire team.
USAGE:
- Make sure that all the names mentioned match the ones on your project (paths / function names / parameter names) it's case sensitive!!
- Make sure to call the "DisableRoll" function at least once everytime the character is spawned (like after a loading screen). This is why the post process anim bp is perfect. Calling this function multiple times causes no problem, call it as often as you see fit/need
- Make sure that the file "BPFL_Utils" IS NOT INCLUDED on your pak files, this is very important!