This is just a fairly simple item replacement/expansion mod that, in my opinion, makes the Boeing XM-P plasma rifle actually worth using. Namely, it no longer uses incredibly rare and valuable Solid Hydrogen, and instead has an overheat/cooling mechanic.
Additionally, it’s had it’s explosion removed (got enough of those) and has had it’s range and damage increased somewhat.
When you pick one up it will be in firing mode with 18 shots loaded, and you can happily fire away until it runs out.
Once it runs out (or beforehand, if you want a tactical reload) you can activate it (I recommend pressing A while wielding it) to “Begin Cooling”. This will start a countdown while the gun cools off, during which it will emit steam and you will be unable to unwield it for safety/balance reasons.
Once it’s done cooling off it will automatically go into standby mode, during which it cannot fire and is basically an expensive stick. Activate it again to “Ready to Fire” and return it to firing mode with a fresh 18 shots.
To compensate for the complete lack of ammunition use, it now requires 30 (instead of 5) UPS power per shot. A bit less than the A7 laser rifle for higher damage, but it also has lower range and the heating mechanic to compensate. It also has quite low accuracy, though you can probably compensate for that with gunmods to some degree.
Installation is as normal. Un-installation will probably work fine, so long as you set any plasma rifles to firing mode before removing the mod from your save.
Get it here!
As always, I’m open to any suggestions or ideas. I haven’t playtested it any and I have no idea if it’s well balanced (probably does a bit too much damage), but that’s what you guys need to tell me!
Technical Stuff:
Due to game limitations and my own lack of LUA knowledge, the best I could do is some slightly shonky on-activation transformations to make this work. It’s not perfect and I’d rather it was more automatic, but it works fine except for a bit too much player input.
I’d also like it to slowly cool off normally, but haven’t found a way to make ammo regenerate slowly over time.
The steam is also technically thin smoke, but it doesn’t generate enough to make the player cough, so it works okay. Steam doesn’t actually exist ingame unfortunately.