First of all everyone notices the function still says Aikombo gun...
you need to change it to the name of your gun
so you do this:
};
function LeftHandedGunImage::onFire(%this, %obj, %slot){
Parent::onFire(%this,%obj,%slot);
if(%obj.getDamagePercent() < 1.0)
%obj.playThread(2, leftrecoil);
}
function NameOfYourGunImage::onMount(%this, %obj, %slot){
Parent::onMount(%this, %obj, %slot);
//mount lefthanded gun
%obj.mountImage(LeftHandedGunImage, 1);
//%obj.playThread(0, armreadyboth);
}
function NameOfYourGunImage::onUnMount(%this, %obj, %slot){
Parent::onUnMount(%this, %obj, %slot);
//unmount lefthanded gun
%obj.unMountImage(1);
//%obj.playThread(0, root);
}
function LeftHandedGunImage::onMount(%this, %obj, %slot){
Parent::onMount(%this, %obj, %slot);
%obj.playThread(1, armreadyboth);
}
function LeftHandedGunImage::onUnMount(%this, %obj, %slot){
Parent::onUnMount(%this, %obj, %slot);
}
function NameOfYourGunImage::onFire(%this,%obj,%slot){
if(%obj.getDamagePercent() < 1.0)
%obj.playThread(2, shiftAway);
Parent::onFire(%this,%obj,%slot);
//%obj.setImageTrigger(1,1);
}