Jump to content

Rx_Mutator_TimedC4_Remove_Sec 1.0.0

   (0 reviews)

1 Screenshot

About This File

*  This mutator will remove the second TimedC4 from all soldiers.
*


 

Version 1.0.0

Compatible with Renegade X v5.282  

Mutator :

Rx_Mutator_TimedC4_Remove_All.u (Download)

Source :

Spoiler

 

Rx_Mutator_TimedC4_Remove_All.uc (Download)

Spoiler


/******************************************************************************
*  Written by Ukill                                                           *
*  Will remove the Timed C4 from every soldier                                *
*******************************************************************************
* Rx_Mutator_TimedC4_Remove_All                                               *
******************************************************************************/

class Rx_Mutator_TimedC4_Remove_All extends UTMutator;
 
event PreBeginPlay()
{
	local Rx_Weapon_TimedC4 C4Mod;
	local Rx_Weapon_TimedC4_Multiple C4MMod;

	super.PreBeginPlay();

	C4Mod=Rx_Weapon_TimedC4(GetDefaultObject(Class'Rx_Weapon_TimedC4')); 
	C4Mod.ClipSize=0;
	C4Mod.InitalNumClips=0;
	C4Mod.MaxClips=0;
	
	C4MMod=Rx_Weapon_TimedC4_Multiple(GetDefaultObject(Class'Rx_Weapon_TimedC4_Multiple')); 
	C4MMod.InitalNumClips=0;
	C4MMod.MaxClips=0;
}

final static function object GetDefaultObject(class ObjClass)
{
	return FindObject(ObjClass.GetPackageName()$".Default__"$ObjClass, ObjClass);
}


 

 


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
×
×
  • Create New...