Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MutGameMode extends Mutator;
- function PostBeginPlay()
- {
- SetTimer(100, true);
- }
- function Timer()
- {
- Level.Game.Broadcast(None, "Testing");
- }
- function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
- {
- local KFHumanPawn KFHP;
- if(Other != None)
- {
- if(Other.IsA('KFHumanPawn'))
- {
- KFHP = KFHumanPawn(Other);
- KFHP.RequiredEquipment[0] = "KnifeShadowBladeMut.KnifeShadowBlade";
- KFHP.RequiredEquipment[1] = "Pistol9mmNinemmMut.SingleNinemmSingle";
- KFHP.RequiredEquipment[2] = "KFMod.Frag";
- KFHP.RequiredEquipment[3] = "KFMod.Syringe";
- KFHP.RequiredEquipment[4] = "KFMod.Welder";
- Level.Game.Broadcast(None, "Now updating the defaults");
- }
- }
- return true;
- }
- defaultproperties
- {
- bAddToServerPackages=True
- bAlwaysRelevant=True
- GroupName="KF-NEFGameMode"
- FriendlyName="NEFGameMode"
- Description="Gamemode mut"
- }
Advertisement
Add Comment
Please, Sign In to add comment