View Single Post
  #4  
Old May 14th, 2012, 09:09 AM

elmokki elmokki is offline
Second Lieutenant
 
Join Date: Aug 2008
Posts: 408
Thanks: 11
Thanked 209 Times in 57 Posts
elmokki is on a distinguished road
Default Re: UnitGen - Random nations with procedural sprites!

This time it fails to having only one helmet (two is minimum, but once again, silly stuff like thiss will dissappear in a version I'll release today if I'm productive enough before Diablo 3 is released. Doesn't need tons of code so there's a good chance for it, but in general I do have to note that any race should have at least a few choices for armor and helmets and preferably more than a few for weapons.

Currently it crashes because it needs at least one helmet with 10+ prot and two helmets total, though it may crash with two helmets too unless one is 16+ prot and the other is under 10 prot. Terrible code.

I added two helmets with full helmet id and the "mage priest" pose and it generated at least one nation without crashing.
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341
Reply With Quote
The Following User Says Thank You to elmokki For This Useful Post: