Quote:
Originally Posted by HoneyBadger
Ich, is there any way to make it easy to copy a unit's sprite directly from that unit's description page? For instance, a lot of pics, when you hover your mouse over them, will display a little bar that lets you save the pic directly from there.
|
I'm sorry, I don't really understand the question. You can save the images from the unit's articles like you'd save any other image on the internet with your browser: right-click and "Save as" or whatever. Or did you mean that you want to batch-download all of them? With cURL, you'd do this like follows:
Code:
curl -O http://dom3.servegame.com/sprites/units/[0-3][0-9][0-9][0-9].png
curl -O http://dom3.servegame.com/sprites/units/40[0-9][0-9].png
curl -O http://dom3.servegame.com/sprites/units/410[0-9].png
curl -O http://dom3.servegame.com/sprites/units/4110.png
I guess it's easier if I provide an archive for them, though... Here it is:
http://dom3.servegame.com/sprites/units.zip
The images are named and ordered by
sprite ID. A unit's attacking sprite is the next one after the normal sprite, so normal sprites are even numbers, attacking sprites are odd numbers. Oh, I replaced all pure black (transparency) by pure white and all magenta (half transparent / shadows) by pure black, be aware of that if you want to use it as a base for sprite editing purposes.
Quote:
Originally Posted by HoneyBadger
Kudos on the wiki, by the way, it's brilliant.
|
Thanks, I aim to please. I won't be able to work that much on it anymore for now, but people can always pick up from there.