top of page

MAX JACK WHITELEY

PROCEDURAL GUN GENERATOR

A DROP IN PROCEDERAL GENERATION TOOL WHERE DESIGNERS CAN EASILY CHANGE GUN STATS AND COMPATABILITY WITH NO CODING 

Procedural tools are great systems what allow designers to save time manually creating hundreds or thousands of dungeons, planets, vehicles and weapons. 

​

My tool uses three blueprints to function: the gun Actor itself, a Data Table (DT), and a Structure (Struct). The DT and Struct houses all the information the generator needs to function and the only thing what a designer would need to change is the DT. The DT has 11 columns per piece of gun: The name, The Skeletal mesh file location, What part type it is (A handguard or stock etc.), Incompatible primary (if the part cant go on a certain gun no matter what), Incompatible secondary (If the part cant attach to another it normally would), and then goes on for what  attribute stats the part has. The use of incompatible primary and secondary parts is what makes my generator go from random to procedural. It allows for more realistic feeling to the guns as you wouldn't or couldn't attach certain pieces together. 

​

While the Generator only has 3 Blueprints and no models it means it creates for an amazing drop in  tool as all it would take is splitting your own projects gun pieces into multiple parts and making sure the pivot point is where you would want the gun to attach before inputting the correct data into the DT. The weapons stats is calculated by adding up all the benefits or disadvantages of the pieces giving an overall stat. The stats modifiable in this version are: Accuracy, Range, Ergonomics, Damage, Ammo Capacity and Noise level. These stats are saved as integers and can therefore be plugged into pre-existing code to affect the weapons function however the weapon is set up.

​

The current version can not save the weapon per instance so right now its most suited for enemy weapon variety however I would like to revisit in my free time to update the generator to allow for saved weapons as well as more accessible features to allow it to be suitable for players use.

Video Example
bottom of page