Post the script of the shotgun you downloaded. Not the datablocks, just the code under them; item data on down.
Okay, I found the script from a shotgun add-on. Here it is:
if($Sim::Time - %this.lastShot < 1)
{
return;
}
%this.lastShot = $Sim::Time;
%obj.playThread(2, jump);
%projectile = %this.projectile;
%spread = 0.002;
%vector = %obj.getMuzzleVector(%slot);
%objectVelocity = %obj.getVelocity();
%vector1 = VectorScale(%vector, %projectile.muzzleVelocity);
%vector2 = VectorScale(%objectVelocity, %projectile.velInheritFactor);
%velocity = VectorAdd(%vector1,%vector2);
%x = (getRandom() - 0.5) * 10 * 1.1415926 * %spread;
%y = (getRandom() - 0.5) * 10 * 1.1415926 * %spread;
%z = (getRandom() - 0.5) * 10 * 1.1415926 * %spread;
%mat = MatrixCreateFromEuler(%x @ " " @ %y @ " " @ %z);
%velocity = MatrixMulVector(%mat, %velocity);
%p = new (%this.projectileType)()
{
dataBlock = %projectile;
initialVelocity = %velocity;
initialPosition = %obj.getMuzzlePoint(%slot);
sourceObject = %obj;
sourceSlot = %slot;
client = %obj.client;
};
MissionCleanup.add(%p);
%obj.addVelocity(vectorScale(%obj.getMuzzleVector(0), -4));
}
It doesn't work, though, and my shotgun doesn't even show up.