Exploding melee weapon, any ideas how to make?

Started by Settlerking, March 25, 2022, 04:06:42 PM

Previous topic - Next topic

Settlerking

I'm trying to make an explosive, suicidal melee weapon. Is there anyway to make this without external code? I cannot for the life of me find anything that does this, Feels like a shame. Suicide weapons would be perfect for this game and I'm trying to rectify that.

I've tried to make it a "psuedo" melee weapon thats just ranged but super short range and you can't define a melee weapon as causing an explosion which sucks. I've even tried making it inflict a hediff that immedietely makes the target blow up. None of it has worked yet.

I'm all out of ideas at this point and is happy for any type of help.