Models - Want to use them but no clue how.
Moderator: Graf Zahl
- Nero
- Posts: 10
- Joined: Tue Jan 04, 2011 3:16
- Location: Middle of Nowheresville Il.
Models - Want to use them but no clue how.
I'd like to use models, I really would. I've downloaded model packs from Sitters, I have Misfit Model and I'm working on Milkshape. However, for the most part, I don't know what I'm doing. For instance, I have a sink model that would be nice to use because it could take to place of several 3D floors. But I don't know what I'm supposed to do to get it into the game. I know a bit about Decorate and I've looked at the modeldef wiki. I don't know where to get sprite lump and the sprite frame from. Any help would be appreciated. I have a sink.md2, an .obj, and the skin. Where do I get the sprite lump and frame from? Can I just use any random image as basically a placeholder?
"It's kinda like being a hamster."
"Oh...got it."
"Oh...got it."
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Re: Models - Want to use them but no clue how.
The sprite that you use is just the one that you define in your DECORATE for the actor. It really doesn't matter what you use because it will never be seen as the model will be drawn instead. So, typically I just use one of the sprites that already exist in doom2.wad. eg:
DECORATE
MODELDEF
See how they both use POSS A? That's all that is needed because, in game, you see the lamp3 model.
BTW, GZdoom only needs the skin and the model (MD2 or MD3) file. It does not need the OBJ
DECORATE
Code: Select all
Actor TallBrokenLamp 32009
{
Radius 16
Height 96
+Solid
+Floorclip
States
{
Spawn:
POSS A -1
Stop
}
}
Code: Select all
Model TallBrokenLamp
{
Path "Models"
Model 0 "lamp3.md2"
Skin 0 "lamp3a.png"
Scale 1.0 1.0 1.0
Frame POSS A 0 "frame01"
}
BTW, GZdoom only needs the skin and the model (MD2 or MD3) file. It does not need the OBJ
- Nero
- Posts: 10
- Joined: Tue Jan 04, 2011 3:16
- Location: Middle of Nowheresville Il.
Re: Models - Want to use them but no clue how.
Ok, I think that answers my question.
"It's kinda like being a hamster."
"Oh...got it."
"Oh...got it."