Procedural Weapons

Made for the August 2016 challenge to dynamically create weapons.

Didn't get nearly everything I wanted in for the deadline but got the basics working.

Screenshots from 10 randomly generated weapons, click on them for a bigger animated gif:

Generated files (ZIP)

Generated files (ZIP)

Generated files (ZIP)

Generated files (ZIP)

Generated files (ZIP)

Generated files (ZIP)

Generated files (ZIP)

Generated files (ZIP)

Generated files (ZIP)

 

Generated files (ZIP)

 

I may release the generator at some later time, it's a bit of a mess though.

The generated files are a collection of PNG textures, a collada file, a half working wavefront obj file (no materials) and a xml file of the parts picked.

It works by essentially specifying a bunch of recipes for how to build something.

So a sword would be a handle, a guard and a blade.

Those things are defined as mesh outputs so that they make a mesh via some library functions at run time. Each recipe can have a bunch of variations, such as how long the handle is, or what texture it has.

So I currently have 3 handles (one handed, hand and a half and two handed), 2 guards (flat and curved back), 3 sword lengths and 3 blade types, and a few textures for most of these. Giving me 54 types of sword not counting textures.

Textures were made by this awesome guy: Nobiax.deviantart.com