31
Modification Help / How do i get this gun to fire again?
« on: January 12, 2016, 10:51:41 PM »Code: [Select]
shapeFile = "./Colt.dts";
emap = true;
mountPoint = 0;
offset = "0 0 0";
eyeOffset = 0;//"0.0 1.0 -0.85";
rotation = eulerToMatrix( "0 -45 0" );
correctMuzzleVector = true;
className = "WeaponImage";
item = BowItem;
ammo = " ";
projectile = ColtProjectile;
projectileType = Projectile;
casing = GunShellDebris;
shellExitDir = "1.0 -1.3 1.0";
shellExitOffset = "0 0 0";
shellExitVariance = 15.0;
shellVelocity = 7.0;
melee = false;
armReady = true;
LarmReady = true;
doColorShift = true;
colorShiftColor = ColtItem.colorShiftColor;//"0.400 0.196 0 1.000";
How do I get this gun to fire again? I rotated the gun in the player's hand by changing rotation = eulerToMatrix, but now it doesn't fire any more.
What do i do to get this to fire again?