///////////////////////////////////////////////////
// usp1.
///////////////////////////////////////////////////

class usp1 extends Actor;

#exec MESH IMPORT MESH=usp1 ANIVFILE=MODELS\usp1_a.3d DATAFILE=MODELS\usp1_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=usp1 X=-25 Y=40 Z=40

#exec MESH SEQUENCE MESH=usp1 SEQ=All STARTFRAME=0 NUMFRAMES=60
#exec MESH SEQUENCE MESH=usp1 SEQ=Still STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=usp1 SEQ=Shoot STARTFRAME=3 NUMFRAMES=4  RATE=30
#exec MESH SEQUENCE MESH=usp1 SEQ=ReloadBegin STARTFRAME=8 NUMFRAMES=4 RATE=5
#exec MESH SEQUENCE MESH=usp1 SEQ=Reload STARTFRAME=13 NUMFRAMES=2  RATE=2
#exec MESH SEQUENCE MESH=usp1 SEQ=ReloadEnd STARTFRAME=16 NUMFRAMES=3 RATE=4
#exec MESH SEQUENCE MESH=usp1 SEQ=Select STARTFRAME=21 NUMFRAMES=3 RATE=4
#exec MESH SEQUENCE MESH=usp1 SEQ=Down STARTFRAME=26 NUMFRAMES=1 RATE=2
#exec MESH SEQUENCE MESH=usp1 SEQ=Idle1 STARTFRAME=30 NUMFRAMES=4 RATE=4

#exec MESHMAP NEW MESHMAP=usp1 MESH=usp1


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

#exec TEXTURE IMPORT NAME=USPTex1 FILE=textures\usptex.pcx GROUP=Skins FLAGS=2

#exec TEXTURE IMPORT NAME=USPTexWhite1 FILE=textures\uspwhitetex.pcx GROUP=Skins FLAGS=2

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

#exec MESH NOTIFY MESH=usp1 SEQ=Shoot 	TIME=0.01	FUNCTION=SwapMuzzleFlashTexture

defaultproperties
{
    DrawType=DT_Mesh
    Mesh=usp1
}
