Space Engineers

Space Engineers

Terminal Block Explosions
37 kommentarer
lord.riker 11. apr. kl. 4:24 
Hey, do you mind if I upload a modified version of this mod?
Farro 17. sep. 2020 kl. 18:45 
@Squidtank my cfg file doesn't even have that many lines in it lol
Suddenly, Melons 14. aug. 2020 kl. 21:31 
@Squidtank where is the location of the file that needs to be modified? is it the .cfg mentioned in the description?
Squidtank 10. aug. 2020 kl. 12:35 
@Ferrin It's line 166, put in a few lines for reference:
Vector3D myPos = grid.GridIntegerToWorld(slimBlock.Position);
BoundingSphereD sphere = new BoundingSphereD(myPos, maxRange);
MyExplosionInfo bomb = new MyExplosionInfo(maxDamage, maxDamage, sphere, MyExplosionTypeEnum.BOMB_EXPLOSION, myTB!=null, true);
bomb.CreateParticleEffect = false;
MyExplosions.AddExplosion(ref bomb, true);

Sorry for late reply, i think the comma you put after my name stopped it from pinging me.
Ferrin 16. juli 2020 kl. 16:18 
@squidtank, where did you add that to the script?
Squidtank 24. maj 2020 kl. 8:26 
I was able to suppress the effect by adding bomb.CreateParticleEffect = false; to the script which I saw the Shrapnel script had and things blow up plenty good still but without the weird lines. Thanks for making this script, makes combat go from making ships fall apart to making them go kaboom.
Squidtank 24. maj 2020 kl. 7:02 
This mod does still work and I think it makes combat a lot better. There is a particle problem where its showing some colored lines instead of explosions when you are shooting blocks. If anyone knows how to tweak the script to fix that it would be appreciated!
troubled_offspring 14. apr. 2019 kl. 10:33 
Does this mod still work??
[TPA] RavenousViper 25. sep. 2018 kl. 13:28 
is this compatible with latest version of the game?
Spartan-118 18. aug. 2018 kl. 22:28 
oh shit this just got added to my server
gatecrasher 3. feb. 2018 kl. 12:02 
this mod is awesome, just what i was looking for to spice up combat. great work!
Furykuiku'l 17. aug. 2017 kl. 4:47 
does this work along side the jumpdrive explosion
woostyboy 22. juni 2017 kl. 3:00 
Can someone post a video of this please, not able to play the game for a few days now... Thanks :)
NixFaux 20. apr. 2017 kl. 8:32 
If you wish to talk more about SE you can find me on http://aminoapps.com/c/space-engineers-amino/ @ Aracione
jonn19  [ophavsmand] 20. apr. 2017 kl. 4:11 
Ah yes, that would of course be possible. But generally it's only some damage.
NixFaux 20. apr. 2017 kl. 1:04 
if the blocks were already damage then could it be possible also thnx for the reply... :steamhappy:
jonn19  [ophavsmand] 19. apr. 2017 kl. 22:38 
Hi TOFUSQUARE - you should only get chain reactions if you jack the damage values way up. Defaults will damage neighbouring blocks but not start anything thermonuclear.
NixFaux 19. apr. 2017 kl. 18:30 
sounds cool but if i understand this right it can start chain reactions right?
jonn19  [ophavsmand] 8. apr. 2017 kl. 19:25 
Hi again V4D4RS. You can disable damage for any block types in the config file, as well as adjust the explosion size. If you only want gas tanks to explode, not other block types, just edit config.cfg and put 0 in for every other type. You can also increase the explosion damage for hydrogen tanks, and decrease for oxygen.
Realistically I think hydrogen will only explode in the presence of oxygen, so in SE oxygen generators (which presumably contain both elements) are more likely to go pop than straight H tanks. But tweak away with the config file, you can tailor it anyway you like.
V4D4RS F1ST 4. apr. 2017 kl. 22:08 
It actually is alot like i wanted. I had hoped that gas tanks would vent or explode if they took direct fire. For hydrogen it would be extremely explosive while oxygen just vents it's volume of gas. Thoughts?
jonn19  [ophavsmand] 4. apr. 2017 kl. 1:02 
Thanks LocInt and Son o'Petrified, glad you enjoy it. V4D4RS I was actually inspired by the Grid Integrity mod; it doesn't seem to work on servers so I thought I would mess with doing something myself. Hope it is in line with what you wanted - the ability to tailor the explosion sizes gives it a lot of flexibility, I think.
V4D4RS F1ST 3. apr. 2017 kl. 21:11 
I remember discussing this idea a long time ago. Did you come across my discussion by any chance? Regardless great work, i had tried to do it myself but never got around to doing it because i have no time and am still new to modding.
JCapt 2. apr. 2017 kl. 16:53 
Good mod. If I were to use a mod on a server, this would be it. I love the realism. :)
LocInt 1. apr. 2017 kl. 11:02 
I love this mod. Thanks for making it possible!
jonn19  [ophavsmand] 31. mar. 2017 kl. 16:40 
UPDATE: I fixed the config.cfg file location and the XML tags within. You'll need to update the new cfg file if you have changed the old one... sorry about the inconvenience.
jonn19  [ophavsmand] 31. mar. 2017 kl. 6:29 
Yeah thanks @Forgi, that is indeed the case; they're pretty passive unless armed.

Anyway @Aquila, instead of making a gas-tanks-only version, I figured it was time I learned how to get a mod working with a config file, so you can just zero out damage for all the items you don't want to explode, and tailor the remaining explosions exactly how you want 'em. Add me on Steam if you have any issues with it working, it seems to be fine both SP and DS for me.
Forgi LaGeord 31. mar. 2017 kl. 0:06 
@Aquila lovis They recently changed warheads, you have to arm them in the terminal, otherwise they can't be exploded with the butto nor regualr damage. I'm personally not a fan of the change, but it is what it is.
aquilaiovis 30. mar. 2017 kl. 13:36 
@jonn19 Friendly greetings. It's me yet again with an interesting observation this time.

I'm not sure why this is the case currently, but warheads do not explode in my install when I hit them with any projectile or other object. I haven't used warhead for a long time, as I have had better experiences with stone chunks stuffed into cargo containers, but if this is actually the case, I do not have any idea why and if this is not a bug, warhead explosions should be added changed in your modification for the sake of realism if you ask me.

If this wasn't intended and gets patched, I'll simply delete this comment, so others won't get confused and other comments won't be shoved even further down unnecessarily.
aquilaiovis 30. mar. 2017 kl. 7:45 
@jonn19 I would really appreciate if you could assemble such a version making hydrogen and oxygen explodable and believe there also must be others that find your idea great, but would like to keep it on a realistic level.

I am very thankful for your quick responses and probably speak for all of your followers, when I say that you are creating rather interesting modifications and accept critisism in a particularly constructive way.
jonn19  [ophavsmand] 30. mar. 2017 kl. 0:21 
@Aquila yes totally agree - in terms of strict survival realism electric items such as ion engines would just give up the ghost quietly. I feel the slight escapism that the game brings me is enhanced with mods like energy shields, vanilla leaps of faith like jump drives, and slightly explody objects :) If it'd add to your enjoyment I can easily make a version that just blows gas tanks (and by extension, oxygen generators?) Let me know.
Thanks @Dvc_Gamer and @d_valroth, may you benefit from sensible build placement!
@mcales the victim in the picture is the amazing Hammerhead Corvette https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=890024928 that's all over the highlighted mods list at the moment. It's being beaten up badly by a small version of an MC80 https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=606561194 which I've retrofitted with some weapons from Razortron's Star Wars Weapons mod https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=598138548 .
Stellaris 29. mar. 2017 kl. 15:19 
Do you have links to the ships in the screenshots?
d_valroth 29. mar. 2017 kl. 15:12 
Nice. Engineering required!
aquilaiovis 29. mar. 2017 kl. 9:12 
This modification is a rather well done addition for large ship battles between players.

For realistic survival I still prefer the native way of things, as they would not actually start any exothermic reaction by being penetrated or blown up (oxygen tanks and maybe even batteries would aid warheads or rocket explosions, for example, obviously, but you get the point).

The only thing that really bothers me in the default version though, is that hydrogen tanks do not explode on destruction, which this modification implements.
diaavil 29. mar. 2017 kl. 8:57 
This looks amazing, it will definetly force me to make more protected ships :P
jonn19  [ophavsmand] 28. mar. 2017 kl. 18:48 
@dRuPpl no reason it shouldn't, looking at the code. That said I just tested Exploding Jump Drives both with and without this mod, and the only effect I could get was my explosion, so an update has probably deprecated the EJD mod (annoying, happens regularly.)
My code is actually very simple, just asks the engine to add scaled bomb explosions right as a block sustains critical damage. I hope the EJD mod comes back 'cos it certainly looks cool! I hadn't seen it before. <edit - typo :) >
dRuPpI 28. mar. 2017 kl. 18:16 
nice... but will this conflict with "critical jumpdrive explosion" mod ?