class CDMMRPG extends DeusExPickup;

var() music Song;
var() byte             SongSection;
var() byte             CdTrack;
var() EMusicTransition Transition;

state Activated
{
	function Activate()
	{
	}

	function BeginState()
	{
		local PlayerPawn P;
		P = PlayerPawn(Owner);
		if (P != None)
		{
			P.ClientSetMusic( Song, SongSection, CdTrack, Transition );
		}
		Super.BeginState();
		GotoState('DeActivated');
	}
Begin:
}


function DropFrom(vector StartLocation)
{
	LifeSpan = 5.0;
	Super.DropFrom(StartLocation);
}


function BecomeItem()
{
	LifeSpan = 0.0;
	Super.BecomeItem();
}

defaultproperties
{
     DrawScale=0.100000
     SongSection=0
     //Song=Music'ContenderMusic1.Give'
     CdTrack=255
     Transition=MTRAN_Fade
     maxCopies=1
     bCanHaveMultipleCopies=True
     bActivatable=True
     ItemName="DEFAULT CD OMGZORZ!"
     ItemArticle="a"
     PlayerViewOffset=(X=30.000000,Z=-12.000000)
     PlayerViewMesh=Mesh'ContenderStuff.CD'
     PlayerViewScale=0.100000
     PickupViewMesh=Mesh'ContenderStuff.CD'
     PickupViewScale=0.100000
     ThirdPersonMesh=Mesh'ContenderStuff.CD'
     ThirdPersonScale=0.100000
     LandSound=Sound'DeusExSounds.Generic.PaperHit2'
     Icon=Texture'ContenderStuff.Skins.CDTex'
     largeIcon=Texture'ContenderStuff.Skins.CDTex'
     largeIconWidth=35
     largeIconHeight=49
     Description=" "
     beltDescription="CD DEFAULT!"
     Mesh=Mesh'CD'
  CollisionRadius=6.00000
  CollisionHeight=1.00000
     Mass=10.000000
     Buoyancy=30.000000
  MultiSkins(0)=Texture'NailageEffects.BloodSugar'
  MultiSkins(1)=Texture'NailageEffects.BeerGlassTex'
}
