Bug Tracker – Bug 996

Dehacked Sprite Scaling

Last modified: 2014-01-01 17:51:24 UTC
Bug 996 - Dehacked Sprite Scaling
Summary: Dehacked Sprite Scaling
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: (old) 0.6.x
Hardware: All All
: P1 enhancement
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2013-08-06 18:12 UTC by Ralph Vickers
Modified: 2014-01-01 17:51 UTC (History)
1 user (show)

See Also:

Attachments

Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Vickers 2013-08-06 18:12:44 UTC
Requested today by someone in #odamex on irc.quakenet.org.

Apparently, ZDoom 1.23 (or at least ZDaemon) supports scaling sprites in dehacked. It looks like newer ZDoom also supports this. It's done using the "scale" line in the dehacked file:

Example: Scale something to 25%
Scale = 0.25

Example: Scale something to 200%
Scale = 2
Comment 1 Dr. Sean 2014-01-01 17:51:24 UTC
It would be somewhat cumbersome to add this to /trunk but it should be feasible with the texmanager branch. For each "Texture" (all Doom graphics are converted to this format internally in texmanager) there are x and y scaling factors. It was added to allow support for high-resolution wall textures but should work seamlessly for sprites as well.