Author Topic: Random Salvage Generator  (Read 2903 times)

Alsadius

  • Guest
Random Salvage Generator
« on: 20 November 2012, 05:36:02 »
After a discussion with a friend a couple weeks ago, I decided to make a random BattleTech salvage generator, in part to aid the campaign we're having, but mostly because I thought it'd be cool. And after the amount of time I've spent working on this thing, it'd be kind of silly not to share it.

So, here's the program:
https://rapidshare.com/files/2051804812/Loot%20Generator.rar

and here's the C# source code:
http://pastebin.com/YNGCp5Z5

It's designed to be a loot table that can be done with regular physical dice, which explains why all the random numbers are 1-6, 2-12, or the "1d6d6" construction that I'm pretty happy with. It's also got all three tech levels included, as well as almost all forms of obscure ammos, weird bits of internal structure, and rarely-used items. Nothing for ProtoMechs/infantry/WarShips/etc., though, just the usual Mech-sized stuff.

This is obviously pretty ghetto, because I'm not exactly a skilled UI programmer, and also because I'm a bit lazy. But, it gets the job done. The actual spreads of loot probabilities are all ad-hoc, but I think they're reasonable. In order to use them properly though, you're going to need tables of random Mechs/tanks/planes, because there was no plausible way for me to implement that in this program.

This is designed to be usable as-is, but anyone who wants to improve upon it is free to do so.
« Last Edit: 03 December 2012, 02:54:54 by Alsadius »

 

Register