datablock ShapeBaseImageData(StalkerKnifeImage)
{
shapeFile = "./knife.dts";
emap = true;
mountPoint = 0;
offset = "0 0 -1000"
rotation = eulerToMatrix("0 0 0");
eyeOffset = "0.75 1.5 -0.7";
correctMuzzleVector = false;
className = "WeaponImage";
melee = true;
doRetraction = false;
//raise your arm up or not
armReady = false;
item = StalkerKnifeItem;
ammo = " ";
projectile = stalkerKnifeProjectile;
projectileType = Projectile;
doColorShift = true;
colorShiftColor = StalkerKnifeItem.colorShiftColor;
//Image state crap
};
function StalkerKnifeImage::onFire(%this,%obj,%slot)
{
%obj.playThread(2,armReadyRight);
%obj.playThread(3,shiftdown);
parent::onFire(%this,%obj,%slot);
}
It swings in third person
and it swings through playThread();
it swings normal when I don't mess with the offsets but thats what I need