View Single Post
  #6  
Old May 12th, 2012, 06:38 PM

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!

Not using unitviewer. Secondshape descriptions should be fine in newer versions.

Anyway:
http://koti.kapsi.fi/~elmokki/dom3/u...en_13_5_12.zip

- Some new unit/item generation code. Not all I want, but it seems to work so hey, why not release.
- Ability to give custom sprites to secondshapes. You need to specify both #spr1 and #spr2, but #spr2 can be "shift" which uses #spr1 and shifts it 5 pixels to left like all the attacksprites in unitgen. Don't use "" for filepath like in Dom3 normal syntax and specify paths relative to unitgen (see the nightmare for example.). If someone makes a good case, I'll add the same code to pretender gods so custom pretenders can be made.
- Secondshapes can inherit some of the abilities their firstshape has. For mounts this is limited to resistances and berserking, but for non-mount secondshapes there are some extra things that work. This stuff is defined at /nations/secondshapeinheritance.txt so take a look if you are interested in specifics.
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341
Reply With Quote