Page 1 of 2

HIRESTEX doesn't work for sprites.

Posted: Sat Sep 13, 2008 8:38 pm
by Ceeb
I tried using HIRESTEX to scale some sprites that I can't scale in DECORATE (because I only want specific ones to be scaled...) and it didn't work. I did like the Wiki said. Also, scaling hi-resolution textures worked fine.

Code: Select all

define BROKA0 41 21
define HGPKA0 18 10
define BURNA1 28 37
define BURNA5 27 36
define BURNA8A2 27 37
define BURNA7A3 32 37
define BURNA6A4 27 37
define BURNB1 24 37
This is a sample of what I'm trying to make smaller.

Re: HIRESTEX doesn't work for sprites.

Posted: Sat Sep 13, 2008 9:25 pm
by Logan MTM
Did you load crappy lumps before Remap with your HIRES Lumps?

Re: HIRESTEX doesn't work for sprites.

Posted: Sat Sep 13, 2008 9:43 pm
by Ceeb
Logan MTM wrote:Did you load crappy lumps before Remap with your HIRES Lumps?
..What?

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 12:33 am
by Graf Zahl
You can't define sprites like this because the engine doesn't recognize them as sprites. For it this is just textures.

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 12:38 am
by Logan MTM
What?
GFXs and Sprites are working very well here. :?

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 1:06 am
by Graf Zahl
'define' never created sprites - only textures. The code looking up the sprites doesn't find anything that's not defined as a sprite. Furthermore, the old HIRESTEX commands have been deprecated and won't see any further change. The new TEXTURES commands are much more flexible, better defined and more robust but they require a bit more typing.

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 2:04 pm
by Ceeb
Graf Zahl wrote:'define' never created sprites - only textures. The code looking up the sprites doesn't find anything that's not defined as a sprite. Furthermore, the old HIRESTEX commands have been deprecated and won't see any further change. The new TEXTURES commands are much more flexible, better defined and more robust but they require a bit more typing.
I'm using the latest version of GZDoom, and TEXTURES doesn't work. It does say something on the Wiki about "development version only", though, which might explain that. :roll:

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 4:00 pm
by NiGHTMARE
Ceeb wrote:I'm using the latest version of GZDoom, and TEXTURES doesn't work. It does say something on the Wiki about "development version only", though, which might explain that. :roll:
You mean you're using the latest "official" version of GZDoom. Unofficial (and, I might add, far more up-to-date) SVN builds are readily available for both GZDoom and ZDoom; you can find them here.

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 4:30 pm
by Woolie Wool
This gives me a "bad frame characters" error:

Code: Select all

sprite cellicon, 64, 64
{
XScale 4
YScale 4
}

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 4:34 pm
by Graf Zahl
... which is not surprising. ZDoom tries to install that lump as a sprite and fails because it can't match it to any rotation frame for CELLO.

General rule: Don't put non-sprites into the sprites namespace.

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 7:03 pm
by Woolie Wool
Could you add "graphic" as well as "sprite" and "texture" then? CELLICON was never meant to be displayed outside of the HUD.

Re: HIRESTEX doesn't work for sprites.

Posted: Sun Sep 14, 2008 7:34 pm
by Ceeb
I'm just going to wait for the next official release of GZDoom. My mod probably won't be done before it, there's a few other upcoming features I'm using already, and my skills with SVN are full suck.

Re: HIRESTEX doesn't work for sprites.

Posted: Mon Sep 15, 2008 6:07 am
by NiGHTMARE
Ceeb wrote:my skills with SVN are full suck.
You don't need any SVN skills; the link I provided has the binaries :).

Re: HIRESTEX doesn't work for sprites.

Posted: Mon Sep 15, 2008 5:27 pm
by Ceeb
NiGHTMARE wrote:
Ceeb wrote:my skills with SVN are full suck.
You don't need any SVN skills; the link I provided has the binaries :).
Not to be negative, but aren't those versions unstable?

Re: HIRESTEX doesn't work for sprites.

Posted: Mon Sep 15, 2008 5:37 pm
by Nash
I've been playing and developing mods 100% on SVN builds ever since I learnt how to compile them. :D