Author Topic: How to bind weapon to player?  (Read 50 times)

0 Members and 1 Guest are viewing this topic.

bitterman

  • Full Member
  • ***
  • Posts: 221
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
How to bind weapon to player?
« on: June 13, 2017, 11:47:00 AM »
In .def file:

Quote
"joint_attach"        "SOUL_ATTACHER"

or PISTOL_, SHOTGUN_ etc.

But "SOUL_ATTACHER" it's not bone's name or joint's name in .md5mesh.

In 'export fred' section of player.def I see:

Quote
mesh...
options ... - Rhand SOUL_ATTACHER PISTOL_ATTACHER...

I really don't understand this thing. 'Rhand' is bone's name in player.md5mesh. I don't need to create .mb (maya) and then export it to md5mesh via .def (I already have exported md5mesh).

What is "..._ATTACHER" and how to create this thing when export md5mesh from .blend file or others?

Thanks.

The Happy Friar

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 815
  • Karma: +34/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: How to bind weapon to player?
« Reply #1 on: June 13, 2017, 12:33:02 PM »
Check the weapon's md5mesh.  That could be the one used in the weapon model, not the player.

bitterman

  • Full Member
  • ***
  • Posts: 221
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Re: How to bind weapon to player?
« Reply #2 on: June 14, 2017, 11:22:08 AM »
No, it is in player.md5mesh. Sorry, my fault.

No need to deal with 'export' option.
« Last Edit: June 14, 2017, 11:25:23 AM by bitterman »