Question regarding model behavior in GZDoom
Posted: Thu Oct 08, 2009 3:48
In the modeldefs lump, i have the following code:
I was under the assumption that there does not need to be a sprite counterpart for a model, and that one could simply create sprite names in the modeldef lump. I have found that I do indeed need a sprite with the correct nomenclature in the /sprites directory to make this work. What is even more odd is that when I simply add a sprite named "DUAL" to my /sprites folder, suddenly it works for all frames of the model? Is there any particular reason for this behavior? Why do I need a sprite counterpart to my model?
EDIT: For reference, this is why I want to know
Code: Select all
Model DualPistols
{
Path "models/dual"
Model 0 "tris.md2"
Skin 0 "skin.pcx"
Scale -1.0 1.0 1.0
FrameIndex DUAL A 0 11
//etc, etc, etc
}
EDIT: For reference, this is why I want to know