Matrixmage Posted August 1, 2014 Share Posted August 1, 2014 (edited) Rewrite in progress!Hello! Kerbsplosions is a mod with the aim of creating easy to use, reasonably realistic explosions. In its current form, it has few features, but that shall soon change!Current FeaturesEasily added and configured explosive capabilities!Modified Cubic Octagonal Strut (called the Boom-Strut) that goes BOOOOM!Many more features to be added soon! (Keep in mind, Pre-Alpha. Check out the To-Do)To-DoBlast shadowing! (ability for armor to actually block explosions) -- Mostly done!Fancy custom explosion graphics! -- 0.25 scaled down our original ideas, so this is on the backburner a bitFuel tanks leaking and making a smoke trail if in atmosphere!Leaky fuel tanks exploding if both fuel and oxidizer tanks are ruptured!Fancy math leading to realistic explosions depending on atmosphere and pressure!Github! (so the community can help!)A few more things I forgot! (don't look at me like that >.>)Warning and how to help testKeep in mind that this is a Pre-Alpha, as in the earliest release humanly possible, so crashing, bugs, and other similar baddies are always a possibility.If you want to help test, try out various combinations of integrity, explosionForce, and explosionRadius, and relay to us how they change things.Download from Kerbal StuffHow to UseKerbsplosions works by making configured parts do some fancy code when they get destroyed, causing them to go "boom". This mod comes with one part, the Cubic Octagonal Boom-Strut, which is supposed to serve as a example of how to make/modifiy parts for Kerbsplosions. I would recommend that you set a modified parts crash tolerance to be very low, so it explodes easier. The example should be easy to follow, but if not, here's a quick guideline for what you need to do to modify a part to work:Open the config file (.cfg)Near the top, where it says module, replace part with "KerbsplosionsPart"Modify the vanilla stats however you likeBefore the curly brace ("}") at the end, type "MODULE" followed on the next line by an opening curly brace, then two lines below that, a closing curly braceBetween the two curly braces, put "name = KerbsplosionsModule" followed by "explosionForce = ", "explosionRadius = ", and "integrity = " on separate linesAfter the equals signs, put the values you want, radius is in meters, force is in kilonewtons per ray, and integrity is measured in how many kilonewtons the part can withstand (5 for explosionForce is STRONG)Save the config, and you're done!If you need an example, check out the included "Boom-Strut" test partCreditsPrimary development: Matrixmage (me!) and CaptainLeviathan.Special Thanks: #kspmoddersLicenseNon legalese version avalible on tl;dr legal: https://tldrlegal.com/license/mit-licenseKerbsplosions by Matrixmage and CaptainLeviathan is licensed under the MIT license:Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Edited April 22, 2015 by Matrixmage Link to comment Share on other sites More sharing options...
Chezburgar7300 Posted August 1, 2014 Share Posted August 1, 2014 Interesting, might give this a go when I get some more ram. Link to comment Share on other sites More sharing options...
rabidninjawombat Posted August 1, 2014 Share Posted August 1, 2014 Nice Prettier splosions are good! Some preview pics would be nice if possible Link to comment Share on other sites More sharing options...
Matrixmage Posted August 1, 2014 Author Share Posted August 1, 2014 Nice Prettier splosions are good! Some preview pics would be nice if possibleWell... nicer explosions aren't in yet (definitely will have pictures when they are), but I'm pretty sure they will be the next thing in, so that means in the next few days. Link to comment Share on other sites More sharing options...
sumghai Posted August 1, 2014 Share Posted August 1, 2014 Better explosions are something I'd definitely like to see in the game That being said, I'm not too keen on the replacing of module = Part with module = KerbsplosionsMain - how much work would be required to design the plugin to retain module = Part, and rely on ModuleManager patches rather than manual file edits? Link to comment Share on other sites More sharing options...
Matrixmage Posted August 1, 2014 Author Share Posted August 1, 2014 (edited) Better explosions are something I'd definitely like to see in the game That being said, I'm not too keen on the replacing of module = Part with module = KerbsplosionsMain - how much work would be required to design the plugin to retain module = Part, and rely on ModuleManager patches rather than manual file edits?We haven't looked at ModuleManager at all, but to add custom explosion behaviour, we need to override onPartDestroy, which is in part. Basically, we have to override Part unless ModuleManager allows some really interesting stuff...EDIT: I quickly looked at ModuleManager, and it seems like it could be of help. We'll try to implement its usage ASAP. Edited August 1, 2014 by Matrixmage Link to comment Share on other sites More sharing options...
Tommygun Posted August 1, 2014 Share Posted August 1, 2014 Would this mod be able to reproduce one of these old style "Spider" explosions? Link to comment Share on other sites More sharing options...
Matrixmage Posted August 1, 2014 Author Share Posted August 1, 2014 Would this mod be able to reproduce one of these old style "Spider" explosions?My co-dev CaptainLeviathan is focusing on the visuals (while I focus on the code), but from what he's showed me, it will look much more like that then the current one. Link to comment Share on other sites More sharing options...
blackheart612 Posted August 1, 2014 Share Posted August 1, 2014 Sir, I am looking forward for more. Link to comment Share on other sites More sharing options...
Justin Kerbice Posted August 1, 2014 Share Posted August 1, 2014 This is something which may help or tease you (it comes from smokescreen plug-in talks I think) Link to comment Share on other sites More sharing options...
Matrixmage Posted August 1, 2014 Author Share Posted August 1, 2014 This is something which may help or tease you (it comes from smokescreen plug-in talks I think)Wow, that looks amazing, I'll have to show it to my co-dev, although I'm not sure if he'll use it, he's pretty in love with the KSP particle emitter at the moment...(If you didn't read my earlier posts, my co-dev is focusing on the graphics, and I'm focusing on the coding) Link to comment Share on other sites More sharing options...
tygoo7 Posted August 1, 2014 Share Posted August 1, 2014 This looks really interesting! I'm looking forward to see the new explosions. I always loved the big smoke explosions from the older versions. Link to comment Share on other sites More sharing options...
Matrixmage Posted August 1, 2014 Author Share Posted August 1, 2014 I always loved the big smoke explosions from the older versions.Then you're in luck Link to comment Share on other sites More sharing options...
Maxwell Fern Posted August 1, 2014 Share Posted August 1, 2014 (edited) Wow this is amazing, I was looking for un mod like that only a couple of days ago ! Did you read my mind ?I really really hope you'll get to have realistic explosions, I mean on the physics side (I don't really care about the graphics). It really bothers me when a staged SRB hits the main engine, and it just goes poof, leaving its fuel tanks intact, perfectly sealed. I wanted to see it explode ! So the next tank explodes too ! And the one after that ! And the entire rocket ! Anyway the launch was failed the moment the SRB touched the engine, so might as well go with a huge blast Edited August 1, 2014 by Maxwell Fern Link to comment Share on other sites More sharing options...
Matrixmage Posted August 1, 2014 Author Share Posted August 1, 2014 I really really hope you'll get to have realistic explosions, I mean on the physics side (I don't really care about the graphics). It really bothers me when a staged SRB hits the main engine, and it just goes poof, leaving its fuel tanks intact, perfectly sealed. I wanted to see it explode ! So the next tank explodes too ! And the one after that ! And the entire rocket ! Anyway the launch was failed the moment the SRB touched the engine, so might as well go with a huge blast One of our biggest goals is to have physically realistic explosions, in the To-Do I mentioned how we're looking into a system allowing fuel tanks to "leak" and subsequently explode, and we're even looking into proper physics equations for an explosions force based on the density of the gas its in Link to comment Share on other sites More sharing options...
tygoo7 Posted August 1, 2014 Share Posted August 1, 2014 One of our biggest goals is to have physically realistic explosions, in the To-Do I mentioned how we're looking into a system allowing fuel tanks to "leak" and subsequently explode, and we're even looking into proper physics equations for an explosions force based on the density of the gas its in Are you guys planning to add this type of function to every type of tank, even mod tanks, with a ModuleManager cfg? Link to comment Share on other sites More sharing options...
Matrixmage Posted August 1, 2014 Author Share Posted August 1, 2014 Are you guys planning to add this type of function to every type of tank, even mod tanks, with a ModuleManager cfg?On a case-by-case basis it may be different, but for the most part, hopefully. Link to comment Share on other sites More sharing options...
LMA Posted August 1, 2014 Share Posted August 1, 2014 I'll keep watching this I want it on all tanks please. The KW Rockets 5m tanks need a huge mushroom. Link to comment Share on other sites More sharing options...
G'th Posted August 1, 2014 Share Posted August 1, 2014 Would this mod also go into providing the awesome launch steam real launches have? Link to comment Share on other sites More sharing options...
Tommygun Posted August 2, 2014 Share Posted August 2, 2014 Would this mod also go into providing the awesome launch steam real launches have?That would be a really nice function if it could do this. Link to comment Share on other sites More sharing options...
Matrixmage Posted August 2, 2014 Author Share Posted August 2, 2014 Would this mod also go into providing the awesome launch steam real launches have?That would be a really nice function if it could do this.While this isn't really the express point of the mod, I wouldn't put it past us to look into something like this. If we did, it would probably be as a separate mod that also overhauled the particle effects of engines... Just some food for thought Link to comment Share on other sites More sharing options...
undercoveryankee Posted August 2, 2014 Share Posted August 2, 2014 We haven't looked at ModuleManager at all, but to add custom explosion behaviour, we need to override onPartDestroy, which is in part. Basically, we have to override Part unless ModuleManager allows some really interesting stuff...EDIT: I quickly looked at ModuleManager, and it seems like it could be of help. We'll try to implement its usage ASAP.Just so the details are here for anyone seeing this conversation, ModuleManager can target a part's module= line. An example from FAR:@PART[AdvancedCanard]:FOR[FerramAerospaceResearch]{ @module = Part} Link to comment Share on other sites More sharing options...
Matrixmage Posted August 2, 2014 Author Share Posted August 2, 2014 Just so the details are here for anyone seeing this conversation, ModuleManager can target a part's module= line. An example from FAR:@PART[AdvancedCanard]:FOR[FerramAerospaceResearch]{ @module = Part}Oh thanks! You know, I've been wondering how Ferram has been doing this, I could have sworn I heard he used a batch file to overwrite the files... I guess this is a bit more practical though... Link to comment Share on other sites More sharing options...
A9p Posted August 2, 2014 Share Posted August 2, 2014 Would this mod also go into providing the awesome launch steam real launches have?If you take a look at the most recent update to Hotrockets, I think it will go some way towards what you want . Link to comment Share on other sites More sharing options...
DracovaXIV Posted August 2, 2014 Share Posted August 2, 2014 There was a mod that simulated a Project Orion-style nuclear pulse detonation drive. Do you suppose it would be possible to have realistic small-scale nuke airbursts/spacebursts? Nukes look different blowing up in space, by the way. There was a series of tests run by USA where they detonated nuclear bombs in space. http://en.wikipedia.org/wiki/Operation_Dominic Link to comment Share on other sites More sharing options...
Recommended Posts