Unstable weapons and spontaneous combustion

Started by Mor_Havok, October 28, 2014, 06:40:26 PM

Previous topic - Next topic

Mor_Havok

So I've been working on making a plasma gun from Warhammer 40k. Any of you familiar with 40k will certainly know that plasma guns have a tendency to get hot and explode.

I thought it would be neat if I could emulate that in Rimworld. I was thinking of making it so there is a small chance that the pawn firing the gun might suddenly burst into flames. Unfortunately I have no idea how to do that. Any suggestions would be greatly appreciated.

Rikiki

You can use my Mining & Co. Security enforcement mod.
You will find inside weapons with custom warmup. I designed the heavy lasgun with this one from W40k in mind. :)

Just put some random chance in the warmup for the colonist to burst. ;)

Buuut, don't you think life is already hard enough on this planet? ::)

Mor_Havok

Thank you very much! Sweet mod btw. Downloading now.
How did you make those long continuous laser beams by the way? That would be much more fitting for the Hellgun I'm designing.

Rikiki

Source code is provided, have a look at it :) (standard laser beam is in the Projectile_LaserRifle.cs file).