Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
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.
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.
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.
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.
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.
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 .
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.
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 :) >