.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Looking for the <tgafile> for angels (http://forum.shrapnelgames.com/showthread.php?t=22809)

Huzurdaddi February 16th, 2005 02:14 PM

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?

Thilock_Dominus February 16th, 2005 03:51 PM

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.

Huzurdaddi February 17th, 2005 07:44 PM

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.

Thilock_Dominus February 18th, 2005 04:13 AM

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.

Kristoffer O February 18th, 2005 12:38 PM

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.

Huzurdaddi February 18th, 2005 02:47 PM

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.

Thilock_Dominus February 18th, 2005 02:51 PM

Re: Looking for the <tgafile> for angels
 
I could "extract" the angel for you if you like.

Amos February 19th, 2005 01:31 AM

Re: Looking for the <tgafile> for angels
 
Kristoffer, could you create the sprites for Dom3 in .tga format?

Kristoffer O February 19th, 2005 09:54 AM

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.

Huzurdaddi February 19th, 2005 03:59 PM

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.