.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old February 16th, 2005, 02:14 PM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default 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?
Reply With Quote
  #2  
Old February 16th, 2005, 03:51 PM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default 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.
__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
  #3  
Old February 17th, 2005, 07:44 PM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default 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.
Reply With Quote
  #4  
Old February 18th, 2005, 04:13 AM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default 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.
__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
  #5  
Old February 18th, 2005, 12:38 PM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default 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.
__________________
www.illwinter.com
Reply With Quote
  #6  
Old February 18th, 2005, 02:47 PM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default 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.
Reply With Quote
  #7  
Old February 18th, 2005, 02:51 PM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default Re: Looking for the <tgafile> for angels

I could "extract" the angel for you if you like.
__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
  #8  
Old February 19th, 2005, 01:31 AM
Amos's Avatar

Amos Amos is offline
Captain
 
Join Date: Feb 2005
Posts: 867
Thanks: 0
Thanked 41 Times in 19 Posts
Amos is on a distinguished road
Default Re: Looking for the <tgafile> for angels

Kristoffer, could you create the sprites for Dom3 in .tga format?
Reply With Quote
  #9  
Old February 19th, 2005, 09:54 AM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default 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

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.
__________________
www.illwinter.com
Reply With Quote
  #10  
Old February 19th, 2005, 03:59 PM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default 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?
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:28 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.