Weapon/attachment nodes etc
by Jonas · in Torque 3D Professional · 01/04/2011 (2:37 pm) · 6 replies
Hi community!
This thread is a bit of a gamble where i would put it since its regarding a graphical thing but also
specific to T3D.
I have studied the character / weapon(rocketlauncher)availiable in the engine for how
to attach weapons to it. I found the mount node alright it dosent look like anything is
wonky, however i would like to ask if there is any additional things that need to be added,
if there is a certain name i need to use for the node aka mount node mount0 equals mounting
on the mount0 node on the gun etc.
For example: i want to mount one axe in each hand would i simply make two axes, one with a node
called mount0 and the other one with mount1?
Very new to the use of nodes.
To Torque's future, cheers!
Kind regards
/Jonas
This thread is a bit of a gamble where i would put it since its regarding a graphical thing but also
specific to T3D.
I have studied the character / weapon(rocketlauncher)availiable in the engine for how
to attach weapons to it. I found the mount node alright it dosent look like anything is
wonky, however i would like to ask if there is any additional things that need to be added,
if there is a certain name i need to use for the node aka mount node mount0 equals mounting
on the mount0 node on the gun etc.
For example: i want to mount one axe in each hand would i simply make two axes, one with a node
called mount0 and the other one with mount1?
Very new to the use of nodes.
To Torque's future, cheers!
Kind regards
/Jonas
About the author
Freelance 3D artist at day scripter/coder on Enduring Life at night. Lover of all things TorqueScript.
#2
%player.mountImage(AxeImage, 0);
would mean that i wanna mount that certain image on mount point with the number 0?
01/04/2011 (4:01 pm)
ah i see, correct me if im wrong but i think i understand this line then:%player.mountImage(AxeImage, 0);
would mean that i wanna mount that certain image on mount point with the number 0?
#3
01/04/2011 (5:39 pm)
Yep.
#4
if say i wanted to mount a shotgun to my character using both hands is it as simple as this:
%player.mountImage(AxeImage, 0, 1);
or is there anything else i need to consider?
kind regards
Jonas
01/07/2011 (9:35 pm)
A quick follow up question to this one:if say i wanted to mount a shotgun to my character using both hands is it as simple as this:
%player.mountImage(AxeImage, 0, 1);
or is there anything else i need to consider?
kind regards
Jonas
#5
to achieve this, do the following
1;mount weapon to right hand,
2;left hand then mounts to a named node on the weapon where the left hand should be.
easy peasy
01/07/2011 (9:43 pm)
you cant directly mount both hands to a single weapon.to achieve this, do the following
1;mount weapon to right hand,
2;left hand then mounts to a named node on the weapon where the left hand should be.
easy peasy
#6
10/29/2012 (12:21 pm)
Hey guys, how to put a gun Clip node on a gun
Associate Steve Acaster
[YorkshireRifles.com]
So for your 2 axe example, each axe has a "mountpoint" - infact you can use the same axe model, and you mount them on the character's nodes "mount0" and "mount1".