Model Example

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Cutmanmike
Posts: 482
Joined: Sat Sep 03, 2005 23:34

Model Example

Post by Cutmanmike »

Okay I hear all this stuff about people putting models in gzdoom but I haven't seen one example. Anyone got one? I'd like to see how it's done, plus have a go myself with my own models I have.
User avatar
ellmo
DRD Team Admin (Inactive)
Posts: 237
Joined: Thu Jun 30, 2005 13:30
Location: Poland, Poznan

Post by ellmo »

http://forum.drdteam.org/viewtopic.php?t=1509
My model does not work, for it doesn't have a skin - as you can read in the thread - but it is defined properly AFAIK. Use MODELDEF and DECORATE as a template.

If you get it working' - drop me a line. I'm also experimenting with it a bit... but I still fail.
User avatar
Paul
DRD Team Admin (Inactive)
Posts: 1058
Joined: Thu Jun 30, 2005 13:30
Location: Poland - Grojec / Radom
Contact:

Post by Paul »

Quick question 2 Graf - does Gzdoom support md3's or not yet?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

it does
User avatar
Paul
DRD Team Admin (Inactive)
Posts: 1058
Joined: Thu Jun 30, 2005 13:30
Location: Poland - Grojec / Radom
Contact:

Post by Paul »

Thank you.
User avatar
Paul
DRD Team Admin (Inactive)
Posts: 1058
Joined: Thu Jun 30, 2005 13:30
Location: Poland - Grojec / Radom
Contact:

Post by Paul »

Bumpage!

Unfortunately, ellmo failed at filling my plea of posting a link to that model sample I sent him. Since it's been a while ago, I've spotted it in my Gzdoom folder and uploaded a simple box, demonstrates of adding static models into the game.
http://paul.drdteam.org/Stuff/modelsample_Paul.rar

Take note: Aside from the mere box there's also some other junk in the package that might catch your eye, such as usage of pngs.
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

Post by BlazingPhoenix »

Cool, thanks Paul, this might come in handy.
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

Post by BlazingPhoenix »

*dblpost*
Okay...so what does the stuff other than path mean? I don't get most of it.
User avatar
Paul
DRD Team Admin (Inactive)
Posts: 1058
Joined: Thu Jun 30, 2005 13:30
Location: Poland - Grojec / Radom
Contact:

Post by Paul »

Model Box1
{
Path "Models\Box" <-- path to the model
Model 0 "Box1.md3" <--- the model
Skin 0 "Box1.pcx" <--- it's skin (which one to apply)

Frameindex BOX1 A 0 0 <---- what sprite frame to replace with the model
}
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

Post by BlazingPhoenix »

I think I get some of it now, thanks Paul.
User avatar
Cutmanmike
Posts: 482
Joined: Sat Sep 03, 2005 23:34

Post by Cutmanmike »

Anyone made a decorate monster example model yet? Preferably with animation. (apart from that smily face cacodemon thing)
Locked

Return to “GZDoom”