PDA

View Full Version : MD2-ing problems...


Zerga
September 29th, 2000, 10:09 PM
Hi all!

I replaced the rocket sprite in JDoom with the rocket model from Quake2. Everything looked fine until I aimed at the ceiling. The rocket looked forward but flew upwards. I know this problem originates from the nature of the Doom engine, but can't it be worked around? Don't monsters look weird even when replaced with MD2 because of the too few frames? And why can't I replace weapons in the players hand with MD2-s? Or make MD2 items on the ground spin around like in other games so they won't look so weird? I hope Jaakko reads this sometimes too http://www.newdoom.com/ubb/smile.gif

Oh, by the way: JDOOM RULEZ!

------------------
KoRn

skyjake
September 30th, 2000, 04:28 AM
To fix the problem with the rocket, use the (movpitch) flag in your model definition. It'll align the rocket's pitch angle with the movement vector.

At the moment it isn't possible to add new frames to the sprite animation. I realize it'd make things look better when using models, but it would require making numerous changes to the way the sprites are animated so I've decided not to do it yet.

In the spirit of retaining the original Doom "feel" in the game, the HUD weapon sprites can't yet be replaced. It shouldn't be too difficult to do, though...

To make models spin on their own, use the (spin) flag in the model definition.

Zerga
October 2nd, 2000, 02:54 AM
Thanks for your quick reply! I solved all the problems mentioned there (except for the HUD weapons, but that isn't a real problem...) Now I downloaded an archive containing models for almost all of the DOOM sprites, copied the new ModelDef file in my Doom directory and set usemodels to 1. After doing this I was getting ZMalloc errors. Then I read that I should set zonemax to 16m. I did this (I have 128 mb RAM, I guess that should be enough), but now instead of the ZMalloc errors I'm having other errors (the program performed an illegal operation...) at the same places I previously had ZMalloc errors at. I even tried 32m, but no use. HELP! http://www.newdoom.com/ubb/smile.gif

Thanx!

------------------
KoRn

Zerga
October 3rd, 2000, 02:13 AM
Um...

I solved the problem, a bad .md2 file was causing the problem... JDOOM forever!

------------------
KoRn