Mellnik

Untitled

May 18th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. class MutGameMode extends Mutator;
  2.  
  3. function PostBeginPlay()
  4. {
  5. SetTimer(100, true);
  6. }
  7.  
  8. function Timer()
  9. {
  10. Level.Game.Broadcast(None, "Testing");
  11. }
  12.  
  13. function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
  14. {
  15. local KFHumanPawn KFHP;
  16.  
  17. if(Other != None)
  18. {
  19. if(Other.IsA('KFHumanPawn'))
  20. {
  21. KFHP = KFHumanPawn(Other);
  22. KFHP.RequiredEquipment[0] = "KnifeShadowBladeMut.KnifeShadowBlade";
  23. KFHP.RequiredEquipment[1] = "Pistol9mmNinemmMut.SingleNinemmSingle";
  24. KFHP.RequiredEquipment[2] = "KFMod.Frag";
  25. KFHP.RequiredEquipment[3] = "KFMod.Syringe";
  26. KFHP.RequiredEquipment[4] = "KFMod.Welder";
  27. Level.Game.Broadcast(None, "Now updating the defaults");
  28. }
  29. }
  30. return true;
  31. }
  32.  
  33. defaultproperties
  34. {
  35. bAddToServerPackages=True
  36. bAlwaysRelevant=True
  37. GroupName="KF-NEFGameMode"
  38. FriendlyName="NEFGameMode"
  39. Description="Gamemode mut"
  40. }
Advertisement
Add Comment
Please, Sign In to add comment