IMO that is a far better idea anyway. Embedding offsets into graphic files just seems wrong in my book, it also requires the use of (yet another) app to get the job done.I'd rather put the offset in the texture definition in HIRESTEX (and if it ever becomes reality NTEXTURE.)
Transparency in PNGs
Moderator: Graf Zahl
-
- Posts: 130
- Joined: Sat Oct 08, 2005 19:22
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- Caligari_87
- Posts: 45
- Joined: Tue Nov 08, 2005 18:26
- Location: Salt Lake City, Utah
- Contact:
Like Nash said: Will that work for sprites?Graf Zahl wrote:In that case your best way of action is to put a dummy 8 bit texture in the WAD and then replace it using HIRESTEX.
I'm assuming it would be something like this:
PISGA0 <---- The dummy 8-bit sprite
PISTOL <----- My alpha-mapped PNG, replacing the dummy texture. Set offsets in HIRESTEX?

- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Caligari_87
- Posts: 45
- Joined: Tue Nov 08, 2005 18:26
- Location: Salt Lake City, Utah
- Contact:
- Tormentor667
- Stronghold Team
- Posts: 3555
- Joined: Sun Nov 13, 2005 23:15
- Location: Germany
- Contact:
- chopkinsca
- Posts: 183
- Joined: Thu Dec 29, 2005 8:09
- Tormentor667
- Stronghold Team
- Posts: 3555
- Joined: Sun Nov 13, 2005 23:15
- Location: Germany
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Caligari_87
- Posts: 45
- Joined: Tue Nov 08, 2005 18:26
- Location: Salt Lake City, Utah
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- wildweasel
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
- Contact:
They don't need to be that big. You can make them smaller, and you can just use the same offsets as a 320x240 graphic. You could, theoretically, make all your dummy graphics as small as 1 pixel and HIRESTEX would still display them correctly.Caligari_87 wrote:Somewhere along the lines of 15 or more blank 320x240 graphics
- Caligari_87
- Posts: 45
- Joined: Tue Nov 08, 2005 18:26
- Location: Salt Lake City, Utah
- Contact: