Jump to content
  • Advertisement

Archived

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

Bourricot

Half-life model + weapon

This topic is 5204 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

''lo, Using the source from half-life viewer (chumbalumsoft), i''ve made a mdl viewer in C. It works fine but I don''t know how to link the weapon with the player movement. For external view weapon model don''t have anim. I think i need to attach the weapon to a bone but how ? Any idea ?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
My bone is my weapon...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I am assuming you lock the weapon''s position/rotation to the bone''s position/rotation?

Share this post


Link to post
Share on other sites
Nobody ?

I have made a lot of try which gave me nothing.

Anybody knows another file formats which use skeleton and with specifications ?

An easy one of course

Share this post


Link to post
Share on other sites
Nice ! I did it.
Well, valve dit it and i cut/paste their code with a few modification.
I found the solution in half-life SDK (StudioMergeBones in StudioModelRenderer.cpp)

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!