//SPRITE_TYPE_CROSSBOW_BOLT;
placeOnGround = false;
facePlayer = false;
canBeDamaged = false;
canBeStuckTo = false;

Init(vector(0.9,0.3,0.3), 1542, 1, 2, 1, 0);

mesh.CastShadow = false;
damage = 5;

capsule.CollisionObjectType = 7;
capsule.SetCollisionResponseToChannel(7, 0);
capsule.AllMassScale = 0.0;
capsule.scale = vector(0.1, 0.1, 0.1);

ai.AddNode(41, -1.0, -1.0, 3, 0.0, 0.0, 1.0);
//ai.AddNode(42, -1.0, -1.0, 1, 800.0);
ai.AddHitNode(56, 8, 0.0, 0.0, 21, 1.0, 1.0, 1.0, 1.2, -1.0);
ai.AddCollisionNode(196, 12, 0.0, 1166.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 150.0, 1.0, 0.0, 0.0);

partStruct.m_managed = false;
partStruct.m_removeIfTargetBleeds = true;
partStruct.m_normalOffset = 5.0;
partStruct.m_rotate = false;
partStruct.m_type = 2;
partStruct.m_useActorCoordinates = false;
partStruct.m_offset = vector(0.0,0.0,0.0);
killParticles.Push(partStruct);

decalStruct.m_preventOverlapping = false;
decalStruct.m_rotateVelocity = false;
decalStruct.m_decal = 3;
decalStruct.m_allowsGrowing = false;
killDecals.Push(decalStruct);

partStruct.m_managed = true;
partStruct.m_removeIfTargetBleeds = false;
partStruct.m_normalOffset = 0.0;
partStruct.m_rotate = false;
partStruct.m_type = 41;
partStruct.m_useActorCoordinates = true;
partStruct.m_offset = vector(0.0,0.0,0.0);
spawnParticle(partStruct);