Bug Tracker – Bug 996

Dehacked Sprite Scaling

Last modified: 2014-01-01 17:51:24 CST
Bug 996 - (ARRAY(0x5e0c928)) Dehacked Sprite Scaling
(ARRAY(0x5e0c928))
Dehacked Sprite Scaling
Status: NEW
Product: Odamex
Classification: Unclassified
Component: Server & Client
0.6.x
All All
: P1 enhancement
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-06 18:12:44 CDT by Ralph Vickers
Modified: 2014-01-01 17:51 CST (History)
1 user (show)

See Also:


Attachments

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 CDT
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 CST
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.