![]() |
Looking for the <tgafile> for angels
I'm trying to mod in a couple of new angels with the same spirtes as the current angels. Does anyone know what the tgafile name is for built in units? Is there some convention?
|
Re: Looking for the <tgafile> for angels
Open dom2 in windows mode. Don't resize the window. Click the angel so you get into the unit description. Take a screenshot.
Now you have the angel. Open the screenshot with your prefered paint program. (I'll recommend Gimp). That's a way to do it. |
Re: Looking for the <tgafile> for angels
Well that's a solution. It's a little ghetto though.
I'm sure that there is some convention used in the game itself. Perhaps something like UNIT#a/b or something like that. Actually I suppose it is possible that you can not reference the built in game graphics. That would be a pitty and your solution would be the one to use. |
Re: Looking for the <tgafile> for angels
check here: http://www.freewebs.com/dominions2/
At UNIT DB there's a list of the units ID. |
Re: Looking for the <tgafile> for angels
Huzurdaddi: The sprites are not in tga format in the game. To make modding possible the game can read tga sprites, but in the game the sprites are stored in trs files. This is a format used by Spooky sprites (made by JK). Currenly there is only one way of extracting tgas and that is the one described by thilock.
|
Re: Looking for the <tgafile> for angels
Bummer. But makes sense.
Might I suggest for Dom3 a modding command much like tgafile which is able to reference the interal sprites. That way lamers like me who like to code but are not into the pixel thing can make 'new' units? And thanks for responding. You guys are really good at support. Few development houses are this good. |
Re: Looking for the <tgafile> for angels
I could "extract" the angel for you if you like.
|
Re: Looking for the <tgafile> for angels
Kristoffer, could you create the sprites for Dom3 in .tga format?
|
Re: Looking for the <tgafile> for angels
No, but we might enable sprite extraction in Spooky giving you files called 1.tga, 2.tga, etc.
Sprites are not named. They just have a position in the sprite files. It was never intended to be user friendly http://forum.shrapnelgames.com/images/smilies/happy.gif You would have to sort by yourself, but with the allunit game you could find the current number of the sprite. Hmm, on the other hand the units ar unsorted at times. It would take some scrounging. 3000 sprites is a lot to go through. |
Re: Looking for the <tgafile> for angels
How do you get the attack animation with the screen shot method?
I suppose I could pause at exactly the correct time and then attempt to get the right size. Is this what you do Thilock? |
All times are GMT -4. The time now is 01:12 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.