deepthought Posted October 16, 2010 i've been trying to convert a WAD i was working on into a pk3. so i took my bitmaps and converted them into png files and put it in the sprites directory of a pk3 file. but now all the sprites render with the top-left corner at the bottom of the actor. why is this and how do i fix it? 0 Share this post Link to post
Gez Posted October 16, 2010 They do not have offsets. It is, by the way, unlikely your previous sprites were bitmaps. Because, among other reasons, BMPs cannot have offsets, so they wouldn't have worked either. Presumably, they were in Doom's native picture format, which does support offsets. Also, if they were in a supported image format, you did not need to convert them at all anyway. But if you had had the common sense to use SLADE3 to convert the graphics to PNG, they would have kept their offsets. This is because SLADE3 is awesome. 0 Share this post Link to post
deepthought Posted October 16, 2010 ps i actuallt had them on my flash drive as bitmaps and would then import them in xwe 0 Share this post Link to post
SteelPH Posted October 16, 2010 As Gez mentioned, Slade3 can set offsets. 0 Share this post Link to post
printz Posted October 16, 2010 So if I want paletted (color-translatable) graphics in the PK file, I'll have to rawly export the Doom GFX and accept calling them .lmp or .raw or whatever? 0 Share this post Link to post
Gez Posted October 16, 2010 printz said:So if I want paletted (color-translatable) graphics in the PK file, I'll have to rawly export the Doom GFX and accept calling them .lmp or .raw or whatever? Yeah. Is that a problem? Also you don't need to give them an extension. It'll be ignored by the engine anyway. 0 Share this post Link to post
printz Posted October 16, 2010 Gez said:Yeah. Is that a problem?No actually... it's just that people may be more tempted to just use full color PNG files and forfeit the Decorate palette translation feature. It's a minor thing though. 0 Share this post Link to post
Graf Zahl Posted October 16, 2010 Can't be helped. Formats with included palettes can't be translated in a well defined manner. 0 Share this post Link to post