Game Development Community

Fixed weapons on player models

by Jeff Wilkinson · in Torque Game Engine · 09/27/2002 (5:05 pm) · 6 replies

Just wondering if anyone knows if you can Have the player already start with weapons on there bodys like mechs?

#1
09/27/2002 (5:22 pm)
theres a way to spawn with a start weapon:

www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=5522
#2
09/29/2002 (6:46 pm)
What I would like to know is would I be able to have the player model carry multiple weapons at the same time; What I am trying to do is build a mechwarrior and you know how the mechs have diffrent weapon systems and they are located all on the body Exaple pic:
( http://www.carlcritchlow.com/Resources/battletech.jpg )
just wondering if this is capable with the player model?
#3
09/29/2002 (9:35 pm)
Sure, just give your player model some extra "mount points" and then mount the different weapons to them directly...
// %obj.mountImage(<weapon>, <mountpoint>);
%obj.mountImage(%weapon1, 0);
%obj.mountImage(%weapon2, 1);
...
#4
09/30/2002 (4:18 am)
when you say mount them directly you mean model them to him right?
#5
09/30/2002 (4:41 am)
Although I haven't done this I assume you would mount it similar to how you mount a turret on a vehicle. You create mountpoints to your player model and mount your weapons to those mountpoints. You don't model them to the player model.
#6
09/30/2002 (5:41 am)
Yeah, that's it... you put some "MountpointX" nodes on your player model and then you "mount" items, weapons etc. to them...
you should check the DTS documentation, there are some mountpoint sections in there, e.g. in www.garagegames.com/docs/torque.sdk/tools/max2dts/section3.html... that should give you an idea of this concept.