medsouz Posted October 23, 2014 Share Posted October 23, 2014 This is a quick plugin that I wrote to help me figure out how KSP handles building destruction internally so that I could add destruction support to Kerbal Konstructs.The plugin allows you to globally modify the follow settings:Damage decay rate - How fast the building recovers from a non-fatal collision.Impact momentum - How much momentum (velocity * mass) is required for a collision (or group of collisions) to take down the buildingRepair cost - How much it costs to repair Collapse duration - How many seconds it takes for the building to collapseCollapse offset - How much the building can slide to the side while fallingCollapse tilt - How much the building can rotate while fallingTo change the settings edit this file: GameData/Rebar/PluginData/KerbalRebar/KerbalRebar.cfgRight now the config is relatively simple and the settings effect every destructible building in the game (if people are interested I could probably change this to let you modify individual buildings.) and only lets you set a multiplier (or addend for tilt and offset).Increased collapse tilt and durationYou can download the plugin from Kerbal StuffSource is available on GitHub Link to comment Share on other sites More sharing options...
WillHop Posted October 23, 2014 Share Posted October 23, 2014 Nice! Really good idea for a mod, and it looks really cool as well. Link to comment Share on other sites More sharing options...
NathanKell Posted October 24, 2014 Share Posted October 24, 2014 Looks awesome!One little request: can you save the settings inside a root node, and in a cfg that's not in PluginData--and thus *is* accessible to Module Manager patches? Link to comment Share on other sites More sharing options...
Pecan Posted October 24, 2014 Share Posted October 24, 2014 ...Right now the config is relatively simple and the settings effect every destructible building in the game (if people are interested I could probably change this to let you modify individual buildings.)...Selectively strengthen, or make indestructible, the launchpad and runway so they don't explode as soon as you launch/land heavy craft on them? Link to comment Share on other sites More sharing options...
Superfluous J Posted October 24, 2014 Share Posted October 24, 2014 Very sweet mod. I too would like the destructibility of the launchpad and runway to be set higher (lower? Whatever, you know what I mean), or even turned off entirely while keeping the rest of the buildings intact. Link to comment Share on other sites More sharing options...
amankd Posted April 26, 2016 Share Posted April 26, 2016 so this still going? did you manage to get destruction to KK? Link to comment Share on other sites More sharing options...
Red Iron Crown Posted April 26, 2016 Share Posted April 26, 2016 This is an old, old thread and the author has been inactive for a while. Closing this one, will reopen if the author returns. Link to comment Share on other sites More sharing options...
Recommended Posts