Getting a Knife into the Left First Person Hand
by Jason Campbell · in Torque 3D Beginner · 05/28/2014 (4:19 am) · 8 replies
I can't seem to make it happen. I've tried a mount1 node in the knife and a corresponding one in the hand but it won't get there.
#2
05/28/2014 (11:02 am)
Thanks Chris but that's not really an option because I'm trying to cheat and use the existing arms and animation to make a knife attack utilizing a mountpoint but it won't cooperate.
#3
05/28/2014 (12:19 pm)
The model has to have a mount# node of the specific number in the specific spot. I think the TSShapeConstructer will allow you to add another mount node, but it may not animate with the hand -- it will probably mount but just sit there. You will need to add the mount node as a bone to the armature of the model so that it will move with the animations.
#4
05/29/2014 (4:40 am)
I've got it set up like that. I must be missing something because it isn't even mounting to the right hand. Is there a way I can assign the ShapeBaseImage to a mount point in script?
#5
05/29/2014 (8:01 am)
try %player.mountImage(knifenamehereImage, 1);were 1 is the mount node you wish to use. look in gamecore.cs on weapon loadout... hope it helps!!
#6
05/29/2014 (10:46 pm)
Thanks for the suggestion Donnie, I gave that a try and still no dice. I've tried everything it seems. It's aggravating because I can get exactly what I'm looking for in the Shape Editor using the Advanced Options and the mounting part. Seems like mounting shouldn't be this hard so I must be missing something.
#7
06/02/2014 (4:28 am)
It seems that I would need to create an all new weapon animation that is placed in the left hand and then match the fp arms animation to that then set the second set of arms to one of the four mount spots in the PlayerData datablock. I think I'll wait to my second project before I get into this. I am going to repurpose the ProxyMine animations to get a semi-believable knife in the right arm.
#8
If you're using mountImage instead of mountObject, be sure that the weaponImage is setup to be used with mount1 ...
06/02/2014 (11:11 am)
@Jason:If you're using mountImage instead of mountObject, be sure that the weaponImage is setup to be used with mount1 ...
Chris DeBoy