About This File
* 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); }