class UMPImport extends Object abstract;

// stuff

#exec TEXTURE IMPORT NAME=UMPTex4 FILE=textures\umptex1.bmp GROUP=Skins
#exec TEXTURE IMPORT NAME=UMPTex5 FILE=textures\umptex2.bmp GROUP=Skins
#exec TEXTURE IMPORT NAME=UMPTex3 FILE=textures\umptex3.bmp GROUP=Skins
#exec TEXTURE IMPORT NAME=UMPLauncherTex FILE=textures\umpgrenade.bmp GROUP=Skins
#exec TEXTURE IMPORT NAME=UMPLensTex FILE=textures\lens.bmp GROUP=Skins
#exec TEXTURE IMPORT NAME=UMPSightTex FILE=textures\sight.bmp GROUP=Skins

#exec AUDIO IMPORT FILE="Sounds\ump45-1.wav" NAME="UMPTacticalFire" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\ump_draw.wav" NAME="UMPTacticalSelect" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\ump_magin.wav" NAME="UMPTacticalReloadEnd" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\ump_magout.wav" NAME="UMPTacticalReloadBegin" Group="Weapons"

///////////////////////////////////////////////////
// umptactical3rd.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=umptactical3rd ANIVFILE=MODELS\umptactical3rd_a.3d DATAFILE=MODELS\umptactical3rd_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=umptactical3rd X=0 Y=0 Z=0 YAW=-64

#exec MESH SEQUENCE MESH=umptactical3rd SEQ=All STARTFRAME=0 NUMFRAMES=100
#exec MESHMAP NEW MESHMAP=umptactical3rd MESH=umptactical3rd

#exec MESH LODPARAMS MESH=umptactical3rd STRENGTH=0

#exec MESHMAP SCALE MESHMAP=umptactical3rd X=0.158781 Y=0.158781 Z=0.158781
#exec MESHMAP SETTEXTURE MESHMAP=umptactical3rd NUM=0 TEXTURE=UMPTex4
#exec MESHMAP SETTEXTURE MESHMAP=umptactical3rd NUM=1 TEXTURE=UMPTex5
#exec MESHMAP SETTEXTURE MESHMAP=umptactical3rd NUM=2 TEXTURE=BlackMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=umptactical3rd NUM=3 TEXTURE=UMPTex3
#exec MESHMAP SETTEXTURE MESHMAP=umptactical3rd NUM=4 TEXTURE=UMPSightTex
#exec MESHMAP SETTEXTURE MESHMAP=umptactical3rd NUM=5 TEXTURE=UMPLensTex
#exec MESHMAP SETTEXTURE MESHMAP=umptactical3rd NUM=6 TEXTURE=umpLauncherTex

///////////////////////////////////////////////////
// umptacticalpickup.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=umptacticalpickup ANIVFILE=MODELS\umptacticalpickup_a.3d DATAFILE=MODELS\umptacticalpickup_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=umptacticalpickup X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=umptacticalpickup SEQ=All STARTFRAME=0 NUMFRAMES=100
#exec MESHMAP NEW MESHMAP=umptacticalpickup MESH=umptacticalpickup

#exec MESH LODPARAMS MESH=umptacticalpickup STRENGTH=0

#exec MESHMAP SCALE MESHMAP=umptacticalpickup X=0.142833 Y=0.142833 Z=0.142833
#exec MESHMAP SETTEXTURE MESHMAP=umptacticalpickup NUM=0 TEXTURE=UMPTex4
#exec MESHMAP SETTEXTURE MESHMAP=umptacticalpickup NUM=1 TEXTURE=UMPTex5
#exec MESHMAP SETTEXTURE MESHMAP=umptacticalpickup NUM=2 TEXTURE=UMPTex3
#exec MESHMAP SETTEXTURE MESHMAP=umptacticalpickup NUM=3 TEXTURE=UMPSightTex
#exec MESHMAP SETTEXTURE MESHMAP=umptacticalpickup NUM=4 TEXTURE=UMPLensTex
#exec MESHMAP SETTEXTURE MESHMAP=umptacticalpickup NUM=5 TEXTURE=UMPLauncherTex

//=============================================================================
// umptactical1st.
//=============================================================================

#exec MESH IMPORT MESH=umptactical1st ANIVFILE=MODELS\umptactical1st_a.3d DATAFILE=MODELS\umptactical1st_d.3d X=0 Y=0 Z=0 unmirror=1
#exec MESH ORIGIN MESH=umptactical1st X=4500 Y=2800 Z=600 YAW=-64 // **X**(-)forward(+)back **Y**(-)right(+)left **Z**(-)up(+)down

#exec MESH SEQUENCE MESH=umptactical1st SEQ=All			STARTFRAME=0	NUMFRAMES=77
#exec MESH SEQUENCE MESH=umptactical1st SEQ=Still		STARTFRAME=0	NUMFRAMES=1
#exec MESH SEQUENCE MESH=umptactical1st SEQ=Select		STARTFRAME=1	NUMFRAMES=22	RATE=40
#exec MESH SEQUENCE MESH=umptactical1st SEQ=Shoot		STARTFRAME=23	NUMFRAMES=6		RATE=50
#exec MESH SEQUENCE MESH=umptactical1st SEQ=ReloadBegin	STARTFRAME=36	NUMFRAMES=7	RATE=20
#exec MESH SEQUENCE MESH=umptactical1st SEQ=Reload		STARTFRAME=45 NUMFRAMES=3		RATE=4
#exec MESH SEQUENCE MESH=umptactical1st SEQ=ReloadEnd	STARTFRAME=50	NUMFRAMES=12		RATE=18
#exec MESH SEQUENCE MESH=umptactical1st SEQ=Down			STARTFRAME=64	NUMFRAMES=4		RATE=8
#exec MESH SEQUENCE MESH=umptactical1st SEQ=Idle1			STARTFRAME=70	NUMFRAMES=2		RATE=1
#exec MESH SEQUENCE MESH=umptactical1st SEQ=Idle2			STARTFRAME=73	NUMFRAMES=2		RATE=2

#exec MESHMAP NEW   MESHMAP=umptactical1st MESH=umptactical1st
#exec MESHMAP SCALE MESHMAP=umptactical1st X=0.00390625 Y=0.00390625 Z=0.00390625

#exec MESH LODPARAMS MESH=umptactical1st STRENGTH=0

#exec MESHMAP SETTEXTURE MESHMAP=umptactical1st NUM=1 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=umptactical1st NUM=2 TEXTURE=BlackMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=umptactical1st NUM=3 TEXTURE=UMPLensTex
#exec MESHMAP SETTEXTURE MESHMAP=umptactical1st NUM=4 TEXTURE=UMPSightTex
#exec MESHMAP SETTEXTURE MESHMAP=umptactical1st NUM=5 TEXTURE=UMPTex3
#exec MESHMAP SETTEXTURE MESHMAP=umptactical1st NUM=6 TEXTURE=UMPLauncherTex
#exec MESHMAP SETTEXTURE MESHMAP=umptactical1st NUM=7 TEXTURE=UMPTex5
#exec MESHMAP SETTEXTURE MESHMAP=umptactical1st NUM=8 TEXTURE=UMPTex4

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

