//SPRITE_TYPE_CHAOS_STAFF_BOLT2;
placeOnGround = false;
facePlayerPitch = true;

anim.m_clamp = false;
anim.m_animationSpeed = 2.0;
anim.m_frameAmount = 4;
anim.m_frameOffset = 0;
animations.Push(anim);

Init(vector(0.8,0.8,0.8), 1572, 1, 2, 1, 0);

damage = 5;
mesh.castShadow = false;

//ai.AddNode(56, -1.0, -1.0, 8, 1.0, 0.0, 49.0, 1.0, 1.0, 0.9, 1.1, -1.0);
//ai.AddNode(30, -1.0, -1.0, 6, 230.0, 1.0, 0.0, 0.1, 0.0, 0.0);
//11 float forcedXVel, float forcedYVel, float forcedZVel, float changeFrequency, float minXVel, float minYVel, float minZVel, float maxXVel, float maxYVel, float maxZVel, bool usedCurrentVelAsForced;
//ai.AddNode(11, 2.0, -1.0, 3, 0.0, 0.0, 0.0);
//6  EParticleTypeEnum type, uint32 amount, bool atImpact, float rate(-1=once), float maxDistance(0=lightFlicker,1=viewDistance,2=infinite), bool rotateToHeading;
//ai.AddDeathNode(30, 6, 234.0, 1.0, 0.0, -1.0, 1.0, 0.0);
ai.AddDeathNode(56, 8, 0.0, 0.0, 766.0, 0.5, 0.5, 0.9, 1.1, -1.0);

capsule.CollisionObjectType = 7;
capsule.SetCollisionResponseToChannel(7, 0);
capsule.SetCollisionResponseToChannel(2, 0);
capsule.SetCollisionResponseToChannel(14, 0);
//capsule.SetCollisionResponseToChannel(0, 0);
capsule.AllMassScale = 0.0;
capsule.enableGravity = false;
capsule.scale = vector(0.5,0.5,0.5);

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

partStruct.m_managed = false;
partStruct.m_removeIfTargetBleeds = false;
partStruct.m_normalOffset = 10.0;
partStruct.m_rotate = false;
partStruct.m_type = 237;
partStruct.m_useActorCoordinates = false;
partStruct.m_offset = vector(0.0,0.0,0.0);
killParticles.Push(partStruct);