Holding weapons improperly Created 15 years ago2008-06-23 16:12:29 UTC by thepatricksays thepatricksays

Created 15 years ago2008-06-23 16:12:29 UTC by thepatricksays thepatricksays

Posted 15 years ago2008-06-23 16:12:29 UTC Post #251785
Ran into a strange issue when working with hammer...I've spawned a pistol and an NPC_Breen. When I set off the pistol to attach to breen's hand, he holds it backwards, like he's going to shoot himself in the armpit. I can't for the life of me figure out how to fix this, or even why it happens to begin with (when I test in model viewer, everything works fine.) Any ideas?
Posted 15 years ago2008-06-23 20:54:37 UTC Post #251793
I would assume that seeing as Breen does not actually appear in any combat scenes that the model is not coded, modelled or animated to hold / use a weapon.
monster_urby monster_urbyGoldsourcerer
Posted 15 years ago2008-06-24 02:15:39 UTC Post #251799
He inherits all of the base animations of NPCs simply by being one. An anim exists for him shooting a gun, and even if it didn't, an attachment does. If you view him in model viewer, he has a hand attachment coded into his .qc that allows him to hold a gun (or anything else with attachments). BUT, instead of holding it properly, he spins it backwards, for reasons unknown.
Posted 15 years ago2008-06-24 12:47:45 UTC Post #251802
It's probably a leftover bug in the code that no one bothered to fix because Breen never actually holds a gun.
Posted 15 years ago2008-06-25 05:46:05 UTC Post #251813
Just a wild guess - but perhaps the orientation of the gun in Hammer has some effect?
You must be logged in to post a response.