Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

sixb0nes

.md3 weapons in q3

This topic is 6033 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello - This question is regarding .md3 weapon models in Quake3. Just curious if the weapon model used in the 3rd person (.. how you see other players in say, a LAN match) is the same model used in the 1st person. If so, does anyone know the rotation & transforms that need to be done to get it where it should be on the screen (without a ton of fiddling). I thought of Aftershock, but I don''t know if they render weapons at all in their code. Cheers guys, thanks! sixb0nes http://www.xpression.ca

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
The same weapon model is used as a pickup, third person view and first person view;

(attached as in the way heads/torso/bodies etc attach by tags in quake 3)

As a pickup, it''s not attached to anything

For the third person it''s attached to the torso''s, uh, ''hand'' tag (can''t remember the actaul name, but that''s hardly the point)

For the first person view, there''s another model file (it''s like, weaponname_hand.md3 or something like that) which has a ''hand'' tag that you attach the weapon to. just render the _hand.md3 at your origin* with the weapon model attached (the _hand.md3 or whatever also has the weapon firing/switching animations)

*like,
glPushMatrix();
glLoadIdentity();
Render the _hand.md3 with the weapon attached
glPopMatrix();


hope that helps

Share this post


Link to post
Share on other sites
Teehee!

They made it extremely easy for us.

Kept wondering why there was a ''seemingly'' blank .md3, and what it''s use was for! Thanks tenfold for your help.

Regards,

sixb0nes
http://www.xpression.ca

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!