class WREAmmo expands NaliAmmo;

#exec MESH IMPORT MESH=WREAmmo ANIVFILE=MODELS\WREAmmo_a.3d DATAFILE=MODELS\WREAmmo_d.3d X=0 Y=0 Z=0
//#exec MESH LODPARAMS MESH=WREAmmo STRENGTH=0
#exec MESH ORIGIN MESH=WREAmmo X=0 Y=0 Z=0

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

#exec MESHMAP NEW MESHMAP=WREAmmo MESH=WREAmmo
#exec MESHMAP SCALE MESHMAP=WREAmmo X=0.05 Y=0.05 Z=0.1


#exec TEXTURE IMPORT NAME=Sk_WREGrenade FILE=Skins\Sk_WREGrenade.bmp GROUP=Skins FLAGS=2
#exec MESHMAP SETTEXTURE MESHMAP=WREAmmo NUM=1 TEXTURE=Sk_WREGrenade

#exec OBJ LOAD FILE=Textures\NaliEffects.utx PACKAGE=NaliWeaponsII.GFX
#exec MESHMAP SETTEXTURE MESHMAP=WREAmmo NUM=2 TEXTURE=BlueLiquix

#exec TEXTURE IMPORT NAME=Sk_WREAmmo FILE=Skins\Sk_WREAmmo.bmp GROUP=Skins FLAGS=2
#exec MESHMAP SETTEXTURE MESHMAP=WREAmmo NUM=3 TEXTURE=Sk_WREAmmo

#exec AUDIO IMPORT NAME="WRE_Ammo" FILE=SOUNDS\WRE_Ammo.wav GROUP="WRE"

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_WRE;
		MaxAmmo *= Class'NWMutator'.default.ammo_WRE;
	}
}

defaultproperties
{
	DrawType=DT_Mesh
	Mesh=WREAmmo
	AmmoAmount=30
	MaxAmmo=100
	bCollideActors=True
	CollisionRadius=6.000000
	CollisionHeight=5.500000
	ItemName="WRE Ammunition"
	MaxDesireability=0.220000
	PickupMessage="You picked up a grenade and a few bullets"
	PickupSound=WRE_Ammo
	PickupViewMesh=WREAmmo
	LightBrightness=100
	LightHue=191
	LightSaturation=13
	LightRadius=2
	LightType=LT_Steady
}
