View Single Post
  #9  
Old February 19th, 2012, 05:23 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!

After a couple of days of doing nothing for UnitGen I've:

- Refined cavalry generation somewhat. You can now specify precise maximum and minimum armor (chest armor right now) for a mount type. This was done since the generic "light", "heavy", "medium" tags were a bit lacking. Some units just need a custom range of possible riders.

- Added nation tag system. Each nation gets a couple of tags - maximum of 3, but usually 0 or 1. These tags are stuff that range from very influencing to very minor. Currently I've added a preliminary list of some tags and they'll include stuff like increased chance of stealthy units, increased chance of dualwielding, nation wide +1 mr, nation wide +1 str, nation wide light cold resistance, nation wide light fire resistance, advanced, primitive, increased chance of cavalry. Tags have opposite tags that can't be chosen together with them.

Currently only two things work regarding these though. Dual wield chance may drastically increase with suitable tags or slightly decrease if you have advanced. Dual wield generation mechanics are going to change sooner or later which'll make the effect of this more major. Tags also affect item selection when items have tags defined for them - currently that's just primitive and advanced.

The effect of this item selection is currently that suitable items for your tags (ie primitive items for primitive nations or advanced ones for advanced nations) get a double chance of being selected for a nation and the opposite items (ie advanced items for primitive nations) for your nation get a fourth of the base chance.
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341
Reply With Quote