Jump to content

[1.9.x, 1.10.x, 1.11.x, 1.12.x] Blast Awesomeness Modifier (BAM)


linuxgurugamer

Recommended Posts

Reviving (with permission) of the old BAM by @marce, original thread here:  http://forum.kerbalspaceprogram.com/index.php?/topic/92983-dev-halted090-blast-awesomeness-modifier-bam-v111-2015-01-01/

This little mod adjusts the explosion power (and effect) of each part based on its resources.

With this mod a part with not a lot of explosive stuff will only create a few dust clouds and debris when destroyed. A small fuel tank will explode a little, a big one will explode a lot.

Disclaimer: no new effects, we got nice new ones from SQUAD only recently!

Download:  https://spacedock.info/mod/1225/Blast Awesomeness Modifier (BAM)

Source: https://github.com/linuxgurugamer/CIT

License: CC-BY-NC-SA-4.0

Patreon.png

https://www.patreon.com/linuxgurugamer
 

This mod was featured on Modding Monday a few years ago: 

 

 

 

 

I selected some mostly random values for min, max, base (lower than stock) and the modifiers for some resources. Our realism team is welcome to send me reasonable values and everyone is invited to add more resources. However, the algorithm is a very dumb one (aka additions), so don't expect any fancy quadratic or whatever progression :wink:

To keep performance impact as low as possible the recalculation based on the amounts is not performed every frame, but should be close enough not to be recognized.

This is not meant very seriously so just enjoy if you want :wink:

It is possible to define a fixed value for a part by adding a ModuleCustomBAM and setting a fixedValue.

 

MODULE
{
	name = ModuleCustomBAM
	fixedValue = 4.22
}

 

If you change dbg in the config file to true each part shows its current explosion potential and has an Explode action for instant kaboom.

 

CIT_BAM_SETTINGS
{
	resdef = LiquidFuel,0.001;Oxidizer,0.0015;ElectricCharge,0.00005;MonoPropellant,0.0001,Water,-0.001;Food,-0.001;Oxygen,0.002;Hydrogen,0.0025;XenonGas,-0.0005;WasteWater,-0.001;Waste.-0.001;CarbonDioxide,-0.002;Karbonite,0.0025;Karborundum,0.01
	base = 0.2
	max = 10.0
	min = 0.1
	dbg = false
}

 

Please be aware, that the shared util dll (CIT Util) is required, and is bundled in this release (package also used for CKAN). 

Edited by linuxgurugamer
Link to comment
Share on other sites

  • 3 months later...

I seem to be getting fireballs with everything that is destroyed, even things that contain no resources. The blast sizes are scaling though.
 

Don't know what I did, but it looks like it is working now. Thanks again for reviving this awesome mod!

Edited by Errol
Link to comment
Share on other sites

What is the difference between BAM and
https://kerbokatz.github.io/#SmallUtilities-ModifiedExplosionPotential

And btw is it normal that KSP comes to a full halt before something explodes?

Like:

Quote

My name is Unity. Unity Engine. The game depending on me wants an explosion. Wait. Memory allocation. Try to get some info how to calculate the perfect explosion parameters. A spanish lady once said >>perfect is imperfect<< but I don't mind. I want the explosion real. With volumetric clouds in full 3D. Nope. But still real. So I have to pre-calculate. Needs a few seconds... wait. Be patient. My name is Unity ...

 

Link to comment
Share on other sites

This one is updated for KSP 1.3, the kerbokatz one isn't. Also, I'm not sure if the kerbokatz one will actually switch effects based on contents like this mod rather then just modifying the explosion potential. 

Link to comment
Share on other sites

  • 4 months later...

Interesting. Is there a fixed set of explosions to choose from? A lot of things in KSP can be rescaled. I'm imagining tiny explosions inside a combustion chamber. But they don't produce a unidirectional push do they?

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 months later...
  • 6 months later...
Spoiler


 
CIT_BAM_SETTINGS
{
resdef = LiquidFuel,0.001;Oxidizer,0.0015;ElectricCharge,0.00005;MonoPropellant,0.0001,Water,-0.001;Food,-0.001;Oxygen,0.002;Hydrogen,0.0025;XenonGas,-0.0005;WasteWater,-0.001;Waste.-0.001;CarbonDioxide,-0.002;Karbonite,0.0025;Karborundum,0.01
base = 0.2
max = 10.0
min = 0.1
dbg = false
}

Add the resource to the bam.cfg file

Link to comment
Share on other sites

  • 4 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...