View Single Post
  #3  
Unread 21st September, 2010, 10:43 PM
CPanoplyd CPanoplyd is offline
Holy Shit!!
 
Join Date: Feb 2005
Posts: 742
Default

See the code snippet below. I think this is the easiest way with a mutator to reskin stuff.

Code:
function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{

	if ( Other.IsA('tournamentpickup') )
	{
		//Boots, Armor, Thighpads REPLACEMENT
		if ( Other.IsA('Armor2') )
		{
			if ( bArmor )
				return false;
			else
			{
				Other.MultiSkins[1] = texture(DynamicLoadObject(AIM.ArmorTexture ,class'Texture',false));
				return true;
			}
		}
		if ( Other.IsA('ThighPads') )
		{
			if ( bThighpads )
				return false;
			else
			{
				Other.MultiSkins[1] = texture(DynamicLoadObject(AIM.ThighPadsTexture ,class'Texture',false));
				Other.MultiSkins[2] = texture(DynamicLoadObject(AIM.ThighPadsTexture ,class'Texture',false));
				return true;
			}
		}
__________________
CPan
Reply With Quote