class Kraht expands TreadCraftPhys;

//Mesh import
#exec MESH IMPORT MESH=Kraht ANIVFILE=MODELS\Kraht_a.3d DATAFILE=MODELS\Kraht_d.3d X=0 Y=0 Z=0 UNMIRROR=1
#exec MESH LODPARAMS MESH=Kraht STRENGTH=0.85
#exec MESH ORIGIN MESH=Kraht X=0 Y=0 Z=0

//Mesh anim
#exec MESH SEQUENCE MESH=Kraht SEQ=All STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=Kraht SEQ=Still STARTFRAME=0 NUMFRAMES=1

//Mesh scale
#exec MESHMAP NEW MESHMAP=Kraht MESH=Kraht
#exec MESHMAP SCALE MESHMAP=Kraht X=0.3 Y=0.3 Z=0.6

//Skinning
#exec TEXTURE IMPORT NAME=KrahtBodySk FILE=SKINS\KrahtBodySk.bmp GROUP=Skins LODSET=2
#exec MESHMAP SETTEXTURE MESHMAP=Kraht NUM=1 TEXTURE=KrahtBodySk

//Sounds import
#exec AUDIO IMPORT NAME="KrahtEng" FILE=SOUNDS\KrahtEng.wav GROUP="Kraht"
#exec AUDIO IMPORT NAME="KrahtEnd" FILE=SOUNDS\KrahtEnd.wav GROUP="Kraht"
#exec AUDIO IMPORT NAME="KrahtStart" FILE=SOUNDS\KrahtStart.wav GROUP="Kraht"


//*********************************************************************
// Treads import
//*********************************************************************

//Tread mesh
#exec MESH IMPORT MESH=KrahtTread ANIVFILE=MODELS\KrahtTread_a.3d DATAFILE=MODELS\KrahtTread_d.3d X=0 Y=0 Z=0
#exec MESH LODPARAMS MESH=KrahtTread STRENGTH=0.85
#exec MESH ORIGIN MESH=KrahtTread X=0 Y=0 Z=0 YAW=128

#exec MESH IMPORT MESH=KrahtTreadMir ANIVFILE=MODELS\KrahtTread_a.3d DATAFILE=MODELS\KrahtTread_d.3d X=0 Y=0 Z=0 UNMIRROR=1
#exec MESH LODPARAMS MESH=KrahtTreadMir STRENGTH=0.85
#exec MESH ORIGIN MESH=KrahtTreadMir X=0 Y=0 Z=0

//Tread anim
#exec MESH SEQUENCE MESH=KrahtTread SEQ=All STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=KrahtTread SEQ=Still STARTFRAME=0 NUMFRAMES=1

#exec MESH SEQUENCE MESH=KrahtTreadMir SEQ=All STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=KrahtTreadMir SEQ=Still STARTFRAME=0 NUMFRAMES=1


//Tread scale
#exec MESHMAP NEW MESHMAP=KrahtTread MESH=KrahtTread
#exec MESHMAP SCALE MESHMAP=KrahtTread X=0.3 Y=0.3 Z=0.6

#exec MESHMAP NEW MESHMAP=KrahtTreadMir MESH=KrahtTreadMir
#exec MESHMAP SCALE MESHMAP=KrahtTreadMir X=0.3 Y=0.3 Z=0.6


//Tread pan
#exec TEXTURE IMPORT NAME=ATread01 FILE=TreadPanNL\ATread01.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread02 FILE=TreadPanNL\ATread02.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread03 FILE=TreadPanNL\ATread03.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread04 FILE=TreadPanNL\ATread04.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread05 FILE=TreadPanNL\ATread05.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread06 FILE=TreadPanNL\ATread06.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread07 FILE=TreadPanNL\ATread07.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread08 FILE=TreadPanNL\ATread08.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread09 FILE=TreadPanNL\ATread09.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread10 FILE=TreadPanNL\ATread10.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread11 FILE=TreadPanNL\ATread11.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread12 FILE=TreadPanNL\ATread12.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread13 FILE=TreadPanNL\ATread13.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread14 FILE=TreadPanNL\ATread14.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread15 FILE=TreadPanNL\ATread15.bmp GROUP=Treads LODSET=2
#exec TEXTURE IMPORT NAME=ATread16 FILE=TreadPanNL\ATread16.bmp GROUP=Treads LODSET=2

#exec TEXTURE IMPORT NAME=NaliTreadSys FILE=SKINS\NaliTreadSys.bmp GROUP=Skins LODSET=2

#exec MESHMAP SETTEXTURE MESHMAP=KrahtTread NUM=1 TEXTURE=ATread01
#exec MESHMAP SETTEXTURE MESHMAP=KrahtTreadMir NUM=1 TEXTURE=ATread01

#exec MESHMAP SETTEXTURE MESHMAP=KrahtTread NUM=2 TEXTURE=NaliTreadSys
#exec MESHMAP SETTEXTURE MESHMAP=KrahtTreadMir NUM=2 TEXTURE=NaliTreadSys

//Crosshair
#exec TEXTURE IMPORT NAME=KrahtCross FILE=ICONS\KrahtCross.bmp GROUP=Icons MIPS=OFF

defaultproperties
{
	DrawType=DT_Mesh
	Mesh=Kraht
	StartSound=KrahtStart
	EndSound=KrahtEnd
	EngineSound=KrahtEng
	BehinViewViewOffset=(X=-225.000000,Z=75.000000)
	ExitOffSet=(Y=250.000000)
	Health=1550
	VehicleGravityScale=2.800000
	GroundPower=4.100000
	VehicleName="Kraht"
	MaxGroundSpeed=750.000000
	WAccelRate=450.000000
	SoundRadius=55
	SoundVolume=150
	CollisionRadius=115.000000
	CollisionHeight=47.500000
	Mass=3100.000000
	bSlopedPhys=True
	MaxObstclHeight=26.000000
	ZRange=250.000000
	FrontWide=(X=103.000000,Y=80.000000,Z=-4.500000)
	BackWide=(X=-64.000000,Y=80.000000,Z=-4.500000)
	bEngDynSndPitch=True
	MinEngPitch=24
	MaxEngPitch=80
	TreadsTraction=5.000000
	Treads(0)=(MovPerTreadCycle=16.500000,TreadMesh=Mesh'KrahtTread',TreadSkinN=1,TreadOffset=(X=20.000000,Y=81.000000,Z=-14.500000),TreadScale=1.000000,TrackWidth=64.000000,TrackFrontOffset=(X=80.000000),TrackBackOffset=(X=-80.000000))
	Treads(1)=(MovPerTreadCycle=16.500000,TreadMesh=Mesh'KrahtTreadMir',TreadSkinN=1,TreadOffset=(X=20.000000,Y=-81.000000,Z=-14.500000),TreadScale=1.000000,TrackWidth=64.000000,TrackFrontOffset=(X=80.000000),TrackBackOffset=(X=-80.000000))
	TreadPan(0)=ATread01
	TreadPan(1)=ATread02
	TreadPan(2)=ATread03
	TreadPan(3)=ATread04
	TreadPan(4)=ATread05
	TreadPan(5)=ATread06
	TreadPan(6)=ATread07
	TreadPan(7)=ATread08
	TreadPan(8)=ATread09
	TreadPan(9)=ATread10
	TreadPan(10)=ATread11
	TreadPan(11)=ATread12
	TreadPan(12)=ATread13
	TreadPan(13)=ATread14
	TreadPan(14)=ATread15
	TreadPan(15)=ATread16
	DriverWeapon=(WeaponClass=Class'KrahtTurret',WeaponOffset=(X=-38.500000,Z=52.750000))
	bDriverWOffset=True
	RefMaxArcSpeed=150.000000
	DriverCrossColor=(R=255,G=140,B=0)
	DriverCrosshairTex=KrahtCross
	DamageGFX(0)=(bHaveThisGFX=True,bHaveFlames=True,DmgFXOffset=(X=96.000000,Z=9.000000),FXRange=15)
	bEnableShield=True
	ShieldLevel=0.950000
	DestroyedExplDmg=350
	ExplosionGFX(0)=(bHaveThisExplFX=True,ExplSize=6.750000)
	ExplosionGFX(1)=(bHaveThisExplFX=True,ExplSize=2.000000,AttachName=KrahtTurret)
	ExplosionGFX(2)=(bHaveThisExplFX=True,ExplSize=1.750000,bUseCoordOffset=True,bSymetricalCoordY=True,ExplFXOffSet=(X=100.000000,Y=80.000000,Z=-5.000000))
	ExplosionGFX(3)=(bHaveThisExplFX=True,ExplSize=1.750000,bUseCoordOffset=True,bSymetricalCoordY=True,ExplFXOffSet=(X=-64.000000,Y=80.000000,Z=-5.000000))
	WreckPartColHeight=40.000000
	WreckPartColRadius=100.000000
	WreckTrackColHeight=32.000000
	WreckTrackColRadius=48.000000
}
