///////////////////////////////////////////////////
// xcr1.
///////////////////////////////////////////////////

class xcr1 extends Actor;

#exec MESH IMPORT MESH=xcr1 ANIVFILE=MODELS\xcr1_a.3d DATAFILE=MODELS\xcr1_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=xcr1 X=-100 Y=30 Z=40

#exec MESH SEQUENCE MESH=xcr1 SEQ=All STARTFRAME=0 NUMFRAMES=60
#exec MESH SEQUENCE MESH=xcr1 SEQ=Still STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=xcr1 SEQ=Shoot STARTFRAME=3 NUMFRAMES=5  RATE=25
#exec MESH SEQUENCE MESH=xcr1 SEQ=ReloadBegin STARTFRAME=9 NUMFRAMES=3 RATE=4
#exec MESH SEQUENCE MESH=xcr1 SEQ=Reload STARTFRAME=13 NUMFRAMES=2  RATE=2
#exec MESH SEQUENCE MESH=xcr1 SEQ=ReloadEnd STARTFRAME=16 NUMFRAMES=4 RATE=3
#exec MESH SEQUENCE MESH=xcr1 SEQ=Select STARTFRAME=21 NUMFRAMES=7 RATE=8
#exec MESH SEQUENCE MESH=xcr1 SEQ=Down STARTFRAME=30 NUMFRAMES=2 RATE=3
#exec MESH SEQUENCE MESH=xcr1 SEQ=Idle1 STARTFRAME=0 NUMFRAMES=1 RATE=2
#exec MESHMAP NEW MESHMAP=xcr1 MESH=xcr1


//Edit X, Y, and Z values in line below to change size of mesh in game
#exec MESHMAP SCALE MESHMAP=xcr1 X=0.548295 Y=0.548295 Z=0.548295

#exec TEXTURE IMPORT NAME=XCRTex1 FILE=textures\xcrtex.pcx GROUP=Skins FLAGS=2

#exec MESHMAP SETTEXTURE MESHMAP=xcr1 NUM=0 TEXTURE=XCRTex1
#exec MESHMAP SETTEXTURE MESHMAP=xcr1 NUM=1 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=xcr1 NUM=2 TEXTURE=BlackMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=xcr1 NUM=3 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=xcr1 NUM=4 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=xcr1 NUM=5 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=xcr1 NUM=6 TEXTURE=XCRTex1

#exec MESH NOTIFY MESH=xcr1 SEQ=Shoot 	TIME=0.01	FUNCTION=SwapMuzzleFlashTexture
#exec MESH NOTIFY MESH=xcr1 SEQ=Shoot 	TIME=0.02	FUNCTION=SwapMuzzleFlashTexture
#exec MESH NOTIFY MESH=xcr1 SEQ=Shoot 	TIME=0.03	FUNCTION=SwapMuzzleFlashTexture

defaultproperties
{
    DrawType=DT_Mesh
    Mesh=xcr1
}
