High-res weapon sprites...

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

High-res weapon sprites...

Post by Ghastly »

Okay, I just started cropping the Doom 3 weapon mod sprites so it won't lag anymore, and I have a few problems:

1): I'm trying to figure out exactly how to crop, scale and offset these by using the first pistol sprite replacing the Doom pistol sprite, but it's not scaling:
Image
Here's the HiResTex lump:

Code: Select all

define PISGA0 83 96
The only lumps I have in the test wad are HiResTex, SS_Start and SS_End markers and the sprite itself (PISGA0).

2): Is there anything I need to know about offsets when using HiResTex to scale weapon sprites? Will a perfectly offset weapon sprite appear in the upper-left corner when scaled, for example?

3): If the sprites are supposed to be double resolution, why are the 640x480 sprites resized to 370x200, rather than 320x240? (That was mostly at Doomero)

Ugh, too bad I'm one of the only people here with the patience to do this, I'm not sure why some of this is how it is, lol.
User avatar
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

Re: High-res weapon sprites...

Post by DOOMERO-21 »

try this!

i redude 50% de resolution with photoshop, example the ssg

now have 320 x 240 , later with xwe add the frame and put this coordenade: 18 35

later use hires and put this definition:

define SSZZA0 360 200

SEE THIS SCREENSHOT :

the lag dissapear on gl, i mean is playable with gzdoom.
Attachments
vulgar1.PNG
vulgar1.PNG (247.36 KiB) Viewed 2805 times
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: High-res weapon sprites...

Post by Ghastly »

If you didn't get rid of the empty transparency, then lower-end computers might still get slow-downs. I'm trying to crop the sprites so it can still be high-res and fluid, but without the lag, but it's not going well.
User avatar
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

Re: High-res weapon sprites...

Post by DOOMERO-21 »

mm is very dificult, i dont know is possible stop the lag !
User avatar
MG_Man
Posts: 1401
Joined: Sat Jul 28, 2007 1:24 pm
Contact:

Re: High-res weapon sprites...

Post by MG_Man »

No it's not. You just have to crop the image sizes to just around the weapon For example, if you have a black box with cyan space around it, it's the extra space around it that you don't use that makes it lag. So you crop the image down to just the box. I'm not sure how to put it, but post an image of one Hi-Res SSG frame and I'll show you.
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: High-res weapon sprites...

Post by Ryan Cordell »

Basicly; all the extra space around the graphics should be taken away, and nothing but the graphics and transparency should stay in there.
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: High-res weapon sprites...

Post by Ghastly »

That's what I'm trying to do, but unfortunately it'll be really time consuming offsetting every weapon sprite after that (The shotgun alone has more sprites than most monsters). The sprites being hi-res doesn't make it any easier to offset, either, lol.

I'm also having a hard time getting the cropped sprites to actually scale.
User avatar
Cutmanmike
Posts: 11335
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: High-res weapon sprites...

Post by Cutmanmike »

Two awesome tools to help you out for this sort of task:

1) Photoshop. It's batching/recording tools are amazingly good. Learn to use them.
2) Latest version of SLumped. Can batch set offsets.
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: High-res weapon sprites...

Post by Apothem »

Cutmanmike wrote:Two awesome tools to help you out for this sort of task:

1) Photoshop. It's batching/recording tools are amazingly good. Learn to use them.
2) Latest version of SLumped. Can batch set offsets.

Is slumped still being worked on or is an abandoned project?
Locked

Return to “Editing (Archive)”