Ukill Posted February 2, 2017 Share Posted February 2, 2017 View File 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); } Submitter Ukill Submitted 02/03/2017 Category Modifications Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.