//SPRITE_TYPE_SMART_GUN_SPAWNER;
canBeDamaged = false;
placeOnGround = false;

anim.m_clamp = true;
anim.m_animationSpeed = 0.65;
anim.m_frameAmount = 1;
anim.m_frameOffset = 0;
animations.Push(anim);
anim.m_animationSpeed = 0.95;
anim.m_frameAmount = 7;
anim.m_frameOffset = 1;
animations.Push(anim);

Init(vector(1.5,1.5,1.5), 1567, 4, 2, 1, 0);

ai.AddNode(34, 1.0, -1.0, 2, 1.0, 1.0);
//8 bool attached, bool UI, ESoundEnum sound, float volumeMin, float volumeMax, float pitchMin, float pitchMax, float rate(-1=once);
ai.AddNode(56, 1.0, -1.0, 8, 1.0, 0.0, 659.0, 1.0, 1.0, 1.0, 1.0, -1.0);
ai.AddNode(11, 2.0, -1.0, 3, 0.0, 0.0, 0.0);
ai.AddDeathNode(158, 2, 1.0, 0.0);
ai.AddDeathNode(146, 5, 1205.0, 10.0, 1.5, 1.0, 0.0);
ai.AddDeathNode(410, 0);//AI_TYPE_KILL_ALL_DEATH_NODES  to prevent potential added explosive ammo;

capsule.CollisionObjectType = 7;
capsule.SetCollisionResponseToChannel(2, 0);
capsule.SetCollisionResponseToChannel(14, 0);
capsule.SetCollisionResponseToChannel(7, 0);

life = 1;

tmpSound.m_sound = 26;
tmpSound.m_volumeMin = 2.0;
tmpSound.m_volumeMax = 2.0;
tmpSound.m_pitchMin = 0.25;
tmpSound.m_pitchMax = 0.3;
tmpSound.m_UI = false;
collisionSounds.Push(tmpSound);