///////////////////////////////////////////////////////////////////////////////////////////////////////// // AMMMute. // // The basic Akimbo MultiMag mutator. Will replace the AutoMag and Minigun with MultiMags and // ShellBoxes/Clips/MultiMag ammo with a randomly selected Akimbo MultiMag clip type. ///////////////////////////////////////////////////////////////////////////////////////////////////////// class AMMMute expands Mutator; function bool CheckReplacement(Actor Other, out byte bSuperRelevant) { local float decision; if (Other.class==class'AutoMag' || Other.class==class'Minigun') { ReplaceWith(Other, "AkimboMMFix.AkimboMM"); return False; } else if ( Other.IsA('Ammo') ) { if ( Other.class==class'Clip' || Other.class==class'ShellBox' || Other.IsA('MultiClip') ) { decision=FRand(); if (decision<0.5) ReplaceWith(Other, "AkimboMMFix.AMMStdClip"); else if (decision<0.7) ReplaceWith(Other, "AkimboMMFix.AMMSSClip"); else if (decision<0.85) ReplaceWith(Other, "AkimboMMFix.AMMHEClip"); else ReplaceWith(Other, "AkimboMMFix.AMMAPClip"); return False; } } return true; } defaultproperties { }