class DualCowboyMagnumAttachment extends Dual44MagnumAttachment;

var		array<string>	SkinRefs;

static function PreloadAssets(optional KFWeaponAttachment Spawned)
{
    local int i;

    Super.PreloadAssets(Spawned);

	for ( i = 0; i < default.SkinRefs.Length; i++ )
	{
		default.Skins[i] = Material(DynamicLoadObject(default.SkinRefs[i], class'Material'));

    	if ( Spawned != none )
    	{
        	Spawned.Skins[i] = default.Skins[i];
    	}
	}
}

static function bool UnloadAssets()
{
    local int i;
    
	for ( i = 0; i < default.Skins.Length; i++ )
		default.Skins[i] = none;
        
    return super.UnloadAssets();
}

defaultproperties
{
     SkinRefs(0)="LaSGunSkins_T.third.revolver_3rd"
     MeshRef="KF_Weapons3rd3_Trip.revolver_3rd"
     Mesh=None
}
