use weapon mount two weaponslot
by Mquaker · in Torque 3D Professional · 04/06/2011 (10:16 pm) · 0 replies
hi,
i planning my weapon use two mountslot(weaponslot).
basically, torque demo use weapon's mountslot only '0', and declare $WeaponSlot global variables in server side weapon.cs scripts.
i want use mountpoint field in weaponimagedata.
for example, primary & secondary weapon in player's inventory slot.
primary weapon class is rifle, and use '0' mountpoint.
secondary weapon class is handgun, and use '1' mountpoint.
generally player mount primary weapon when respawn.
if change to secondary weapon, using primary weapon is unmount.
i planning my weapon use two mountslot(weaponslot).
basically, torque demo use weapon's mountslot only '0', and declare $WeaponSlot global variables in server side weapon.cs scripts.
i want use mountpoint field in weaponimagedata.
for example, primary & secondary weapon in player's inventory slot.
primary weapon class is rifle, and use '0' mountpoint.
secondary weapon class is handgun, and use '1' mountpoint.
generally player mount primary weapon when respawn.
if change to secondary weapon, using primary weapon is unmount.
About the author
visit : http://www.quakedev.net