need help with codi...
 
Share:
Notifications
Clear all

need help with coding

KiWi
 KiWi
(@kiwi)
Active Member

how do get the c-ops name on the gun to be the same on both side and in 3rd viw i got all the pics made but i don't know wat coding to get them to work ??

Quote
Topic starter Posted : 28/04/2007 10:06 pm
(@anonymous)
Noble Member Guest

{C-oPs} KiWi wrote: how do get the c-ops name on the gun to be the same on both side and in 3rd viw i got all the pics made but i don't know wat coding to get them to work ??

<i>
</i>
function setHand(float Hand)
{
Super.SetHand(Hand);

if (Hand == 1 )

{
//left-handed
Mesh = mesh(DynamicLoadObject("mesh-name-left",class'Mesh'));
MultiSkins[0] = Texture'upside-done-facing-scope-texture';
MultiSkins[1] = Texture'backwards-facing-side-of-gun';
}

else
{
//right-handed
Mesh = mesh'mesh-name-right';
MultiSkins[0] = Texture'correct-facing-scope-texture';
MultiSkins[1] = Texture'correct-facing-side-of-gun';
}

}

This is assuming you have the skins for both left and right weapons. MultiSkins[0] is the portion that contains the scope barrel. MultiSkins[1] is the side of the gun. Hope this helps you. Have a good one.

-Johnny Jones

ReplyQuote
Posted : 29/04/2007 1:44 am
KiWi
 KiWi
(@kiwi)
Active Member

i can't seend that file to you trend says it got a virus when i go to send from hotmail and i know it don't have a virus πŸ˜₯ i will see if canny can send it to you

ReplyQuote
Topic starter Posted : 29/04/2007 4:12 am
Share: