Blockland Forums > Modification Help
[Tutorial] Two hands on a weapon using milkshape 3D
NEkram:
Alright, first get the hands model here.
http://www.mediafire.com/?5mmmwotnm0n
The model should look like this.
Now model your weapon!
You should have mountPoint, ejectPoint and muzzlePoint by now..
Once it's done export to "Torque DTS Plus"
Now on the "server.cs" file or "Weapon_NAMEHERE" you put on this code
--- Code: ---function M4A1Image::onMount(%this, %obj, %slot) //change M4A1 to whatever you want
{
%obj.hidenode("RHand");
%obj.hidenode("LHand");
}
function M4A1Image::onUnMount(%this, %obj, %slot) //change M4A1 to whatever you want
{
%obj.unhidenode("RHand");
%obj.unhidenode("LHand");
}
--- End code ---
--- Quote from: Peejster on June 03, 2010, 01:47:44 PM ---And change "M4A1Image" to whatever your weapon's image is.
--- End quote ---
Well, that's all.
Please, if some information is missing post a reply telling me what is missing. I bet there's alot of information missing :p
If you don't know how to make weapons yet, then click this link!
http://forum.blockland.us/index.php?topic=78760.0
Peejster:
And change "M4A1Image" to whatever your weapon's image is.
NEkram:
--- Quote from: Peejster on June 03, 2010, 01:47:44 PM ---And change "M4A1Image" to whatever your weapon's image is.
--- End quote ---
kk, adding :D
NEkram:
bump :C
Mr.PickleberryMan:
Mediafire link broken. Pics of trouble:
Notice the bad part.