Jump to content

[Mod] Rx_Mutator_TimedC4_Remove_All


Ukill

Recommended Posts

Rx_Mutator_TimedC4_Remove_All


*  This mutator will remove all  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);
}


 

 


 

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...