MODELDEF question
Posted: Fri Mar 05, 2010 23:59
Edit: Nevermind the original post (now spoilered). I solved my problem with an animated model. However, I would still like to know the answer to the question that I will post in the next post.
[spoiler]Just want to check that I am doing things right.
The following MODELDEF shows all 3 models when POSSA is being used.
My impression was that the correct syntax for such a situation should actually be:
So which is right?
What I actually want to do is have a MODELDEF that in one frame uses only one of the models but in another uses all three. However, with the first modeldef above using all 3 models even though only one is specified, I'm not sure how to achieve this, or if it is even possible.
What I tried was this:
but POSSA showed all three models.[/spoiler]
[spoiler]Just want to check that I am doing things right.
The following MODELDEF shows all 3 models when POSSA is being used.
Code: Select all
Model Tram2
{
Path "Models"
Model 0 "tram2body.md3"
Skin 0 "tram2.png"
Model 1 "tram2pass1.md3"
Skin 1 "tram2.png"
Model 2 "tram2pass2.md3"
Skin 2 "tram2.png"
Scale 0.8 0.8 0.8
FrameIndex POSS A 0 0
}
Code: Select all
Model Tram2
{
Path "Models"
Model 0 "tram2body.md3"
Skin 0 "tram2.png"
Model 1 "tram2pass1.md3"
Skin 1 "tram2.png"
Model 2 "tram2pass2.md3"
Skin 2 "tram2.png"
Scale 0.8 0.8 0.8
FrameIndex POSS A 0 0
FrameIndex POSS A 1 0
FrameIndex POSS A 2 0
}
What I actually want to do is have a MODELDEF that in one frame uses only one of the models but in another uses all three. However, with the first modeldef above using all 3 models even though only one is specified, I'm not sure how to achieve this, or if it is even possible.
What I tried was this:
Code: Select all
Model Tram2
{
Path "Models"
Model 0 "tram2body.md3"
Skin 0 "tram2.png"
Model 1 "tram2pass1.md3"
Skin 1 "tram2.png"
Model 2 "tram2pass2.md3"
Skin 2 "tram2.png"
Scale 0.8 0.8 0.8
FrameIndex POSS A 0 0
FrameIndex POSS B 0 0
FrameIndex POSS B 1 0
FrameIndex POSS B 2 0
}