class GravitonAmmo expands NaliAmmo;

#exec MESH IMPORT MESH=GravitonAmmo ANIVFILE=MODELS\GravitonAmmo_a.3d DATAFILE=MODELS\GravitonAmmo_d.3d X=0 Y=0 Z=0
//#exec MESH LODPARAMS MESH=GravitonAmmo STRENGTH=0
#exec MESH ORIGIN MESH=GravitonAmmo X=0 Y=0 Z=4

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

#exec MESHMAP NEW MESHMAP=GravitonAmmo MESH=GravitonAmmo
#exec MESHMAP SCALE MESHMAP=GravitonAmmo X=0.06 Y=0.06 Z=0.12


#exec TEXTURE IMPORT NAME=Sk_GravAmmo FILE=SKINS\Sk_GravAmmo.bmp GROUP=Skins FLAGS=2 LODSET=2
#exec MESHMAP SETTEXTURE MESHMAP=GravitonAmmo NUM=1 TEXTURE=Sk_GravAmmo

#exec TEXTURE IMPORT NAME=TranslucentInvisible FILE=SKINS\TranslucentInvisible.bmp GROUP=Skins FLAGS=2 LODSET=2
#exec MESHMAP SETTEXTURE MESHMAP=GravitonAmmo NUM=2 TEXTURE=TranslucentInvisible

#exec OBJ LOAD FILE=Textures\NaliEffects.utx PACKAGE=NaliWeaponsII.GFX

#exec AUDIO IMPORT NAME="GravAmmo" FILE=SOUNDS\GravAmmo.wav GROUP="Graviton"

#exec MESHMAP SETTEXTURE MESHMAP=GravitonAmmo NUM=3 TEXTURE=GravFX03


function PreBeginPlay()
{
	Super.PreBeginPlay();
	if ((Level.Game.IsA('MonsterHunt') && Class'NWMutator'.Default.EnableMonsterHuntMode && Class'NWMutator'.Default.MonsterHuntOnly) || (Class'NWMutator'.Default.EnableMonsterHuntMode && !Class'NWMutator'.Default.MonsterHuntOnly))
	{
		AmmoAmount *= Class'NWMutator'.default.ammo_Graviton;
		MaxAmmo *= Class'NWMutator'.default.ammo_Graviton;
	}
}

defaultproperties
{
	DrawType=DT_Mesh
	Mesh=GravitonAmmo
	AmmoAmount=50
	MaxAmmo=150
	bCollideActors=True
	CollisionRadius=6.000000
	CollisionHeight=10.000000
	ItemName="Graviton Ammunition"
	MaxDesireability=0.220000
	PickupMessage="You picked up a graviton ball"
	PickupSound=GravAmmo
	PickupViewMesh=GravitonAmmo
	LightBrightness=100
	LightHue=193
	LightSaturation=87
	LightEffect=LE_FireWaver
	LightRadius=2
	LightType=LT_Steady
}
