Adds physics around explosions to toss Pawns and Things!
[hr]
Includes options for magnitude (default 1 - adjusts overall distance) and adding an overall Stun after a toss.
Includes option whether to include mass in toss distance calculation (on by default). Heavier things fly less far!
[hr]
[b]For Modders[/b]
Includes an example XML file detailing how to add physics to melee & Ranged weapons at [i]1.4/Patches/Examples.xml.bak[/i]
On explosions, the mod gets the damage (ie 50 for an IED), adds a falloff (if one is not included), and uses that value to set the distance (adjusted by the user's magnitude value).
If there's interest for access beyond melee & ranged weapons, I could write a more general function that could be accessed by grabbing the ThingComponent_Toss. Get at me!
Special thanks to [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FRimWorld-CCL-Reborn%2FSettingsHelper]SettingsHelper[/url][github.com] for the nice Slider in the ModSettings.
[hr]
[b]Compatibility & Support[/b]
Requires Harmony. Tested with around 200 mods, but I'm sure some other issues have not been reported. Please be safe and save your game frequently (especially before raids!).
I have never used CE (Combat Extended) - however this mod doesn't touch any defs by default, only functions around explosions and Pawn pathing. Some have reported it is compatible!
If you have an issue, please include [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2873415404]HugsLib logs[/url] and post either here in discussions or [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2Ftk421storm%2Fragdoll]on github![/url][github.com]
I can't support issues without logs.