///////////////////////////////////////////////////
// glockscope1.
///////////////////////////////////////////////////

class glockscope1 extends Actor;

#exec MESH IMPORT MESH=glockscope1 ANIVFILE=MODELS\glockscope1_a.3d DATAFILE=MODELS\glockscope1_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=glockscope1 X=0 Y=0 Z=15

#exec MESH SEQUENCE MESH=glockscope1 SEQ=All STARTFRAME=0 NUMFRAMES=61
#exec MESH SEQUENCE MESH=glockscope1 SEQ=Still STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=glockscope1 SEQ=Shoot STARTFRAME=3 NUMFRAMES=3  RATE=20
#exec MESH SEQUENCE MESH=glockscope1 SEQ=ReloadBegin STARTFRAME=8 NUMFRAMES=2 RATE=5
#exec MESH SEQUENCE MESH=glockscope1 SEQ=Reload STARTFRAME=11 NUMFRAMES=3  RATE=3
#exec MESH SEQUENCE MESH=glockscope1 SEQ=ReloadEnd STARTFRAME=16 NUMFRAMES=3
#exec MESH SEQUENCE MESH=glockscope1 SEQ=Select STARTFRAME=20 NUMFRAMES=3 RATE=6
#exec MESH SEQUENCE MESH=glockscope1 SEQ=Down STARTFRAME=24 NUMFRAMES=4 RATE=6
#exec MESH SEQUENCE MESH=glockscope1 SEQ=Idle1 STARTFRAME=0 NUMFRAMES=1 RATE=2
// add further '#exec MESH SEQUENCE' lines here to define additional animation sections

#exec MESHMAP NEW MESHMAP=glockscope1 MESH=glockscope1


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

#exec TEXTURE IMPORT NAME=glockscopetex FILE=textures\scopetex.bmp GROUP=Skins FLAGS=2

#exec MESHMAP SETTEXTURE MESHMAP=glockscope1 NUM=0 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=glockscope1 NUM=1 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=glockscope1 NUM=2 TEXTURE=BlackMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=glockscope1 NUM=3 TEXTURE=GlockTex1
#exec MESHMAP SETTEXTURE MESHMAP=glockscope1 NUM=4 TEXTURE=GlockScopeTex

#exec MESH NOTIFY MESH=glockscope1 SEQ=Shoot	TIME=0.05	FUNCTION=SwapMuzzleFlashTexture

defaultproperties
{
    DrawType=DT_Mesh
    Mesh=glockscope1
}
