Page 7 of 7 FirstFirst ... 567
Results 61 to 66 of 66
  1. #61
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    312

    anti kill streak challenge

    Quote Originally Posted by serialkillerz82 View Post
    Hi thanks for the help. I have had a look around & I find that you created 'BONUS CHALLENGE - kill the viper noob' could you help me change this so it that anyone player from a team with more than x kills triggers the challenge? Instead of it just for vipers?

    ANTI KILL STREAK CHALLENGE - stop the kill streak from player xy

    this script is for proconrulz. the challenge start automatically after a player got an kill steak of 30 kills. the next player (enemy) who kills the player with the high kill streak will win a vip slot for 1 day.

    REQUIRES: VIP Slot Manager Plugin , min. 16 players on the server


    Code:
    #### ANTI KILL STREAK CHALLENGE
    # stop the 30+ kill streak to win a vip for 1 day
    # req. vip slot manager plugin   ,  min. 16 players on the server
    
    # count streak
    On Kill;Incr %server_anti_streak_challenge[%p%]%;Set %server_anti_streak_challenge[%v%]% 0
    
    # start anti kill streak challenge
    On Kill; if %ts1% + %ts2% >= 16;
        if %server_anti_streak_challenge[%p%]% == 30; if %server_team_score[2]% > 50; if %server_team_score[1]% > 50; if %server_anti_streak_challenge_playername% == 0; Say ####   ANTI KILL STREAK CHALLENGE   ####; Say Next player who kill's the player %p% to stop his kill streak win's a !VIP SLOT for 1 day!; Yell 15 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %server_anti_streak_challenge_playername% %p%
        if %server_anti_streak_challenge[%p%]% >= 30; if %server_anti_streak_challenge_playername% == %p%; Incr %anti_streak_rem%; if %anti_streak_rem% >= 4; Yell 5 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %anti_streak_rem% 0
    
    # set winner
    On Kill; if %server_anti_streak_challenge_playername% == %v%; if %pt% != %vt%;
        Yell 10 ANTI KILL STREAK CHALLENGE ENDED: %p% has won a !VIP SLOT; Say ##  ANTI KILL STREAK CHALLENGE ENDED   ##; Say ##  %p% has won a !VIP SLOT for 1 day for stopping the kill streak of %server_anti_streak_challenge_playername%
        Log ^b^2ANTI KILL STREAK CHALLENGE: %p% has won a !VIP SLOT for 1 day (target: %server_anti_streak_challenge_playername%)^0^n; Say /vsm-addvip %p% +1; Set %tmp_anti_streak_challenge_winner% 1; Set %server_anti_streak_challenge_playername% 0 
     
    # winner reminder
    On Spawn; if %tmp_anti_streak_challenge_winner% == 1; PlayerSay %p% You have won a !VIP SLOT for 1 day!; PlayerYell %p% you have won a !VIP SLOT; Set %tmp_anti_streak_challenge_winner% 2;
    On Leave; Set %server_anti_streak_challenge[%p%]% 0; if %server_anti_streak_challenge_playername% == %p%; Say ANTI KILL STREAK CHALLENGE %p% canceled (player left the server); Set %server_anti_streak_challenge_playername% 0
    
    
    #### ANTI KILL STREAK CHALLENGE - END

    script customization:
    RED: # of players to enable the challenge
    GREEN: kill streak min. kills
    BLUE: # of days for the vip slot (1 days)
    Last edited by maxdralle; 01-12-2018 at 11:18.
    Developer of the VIP Slot Manager Plugin

  2. #62
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    337
    thanx for it !!

  3. #63
    Quote Originally Posted by spatieman View Post
    Yes it is messy.
    But this works great for BF3 TDM servers, shall work on BF4 to.
    objective: use !target <part of name> to set a kill bounty on him.
    kill target 5 time without getting killed your self.
    reward: 1 week vip slot.
    failsafe for picking a nother player.
    failsafe for picking next target on objective complete.

    Code:
    # Challenge system for targets
    # VIP manager required !
    # R1
    On Spawn; ServerFirst; if %ts1% + %ts2% >= 4;say Target system active;say !target for more;set %targetsystem% 1
    On Spawn; ServerFirst; if %ts1% + %ts2% < 4;say target system inactive;say need 4 or more players;set %targetsystem% 0
    
    on say;if %targetsystem% = 0;if %text% = !target;playersay Target system disabled, need 4 players
    on say;if %targetsystem% = 0;text !target status;playersay Target system disabled, need 4 players
    On Say;if %targetsystem% = 0;Text !target;TargetPlayer;playersay Target system disabled, need 4 players
    
    on say;if %targetsystem% = 1;if %text% = !target;if %[%p%]challenge% = 0;playerSay use: !target <part of name>;playersay kill target 5 time without getting killed;playersay WEAPONS ONLY!;End
    on say;if %targetsystem% = 1;if %text% = !target;if %[%p%]challenge% = 1;playerSay U have a running target challenge -> !target status
    on say;if %targetsystem% = 1;text !target status ; if %[%p%]target% = 0;playersay No running challenge.
    on say;if %targetsystem% = 1;text !target status ; if %[%p%]target% = 1;playersay STATUS:;playersay U killed target %[%p%]victim% %[%p%]challenge_target% times
    
    On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]challenge_reward% = 0;if %[%p%]challenge% = 0;playersay accepted:Kill %t% 5 times;playersay without getting killed;set %[%p%]challenge% 1;set %[%p%]target% 1;set %[%p%]victim% %t%
    On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]challenge_reward% = 1;playersay Sorry, one challenge each round only
    On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]target% = 1;playersay %[%p%]victim% is already your target
    
    # checking if target challenge is complete, and add reward
    on kill;damage handgun,lmg,smg,shotgun,assaultrifle,sniperrifle,melee;if %[%p%]target% = 1 ;incr %[%p%]challenge_target% ;playersay killed %[%p%]victim%:%[%p%]challenge_target%/5
    on kill;damage handgun,lmg,smg,shotgun,assaultrifle,sniperrifle,melee;if %[%p%]target% = 1 ;if %[%p%]challenge_target% => 5;if %[%p%]challenge_death% = 0;playersay congratz, target challenge complete;say /vsm-addvip %p% +7;set %[%p%]target% 0;set %[%p%]challenge_death% 0;set %[%p%]challenge_target% 0;set %[%p%]challenge% 0;set %[%p%]challenge_reward% 1
    
    # checking for max death
    on spawn  ;if %[%p%]target% = 1    ;incr %[%p%]challenge_death%;if %[%p%]challenge_death% => 1;playersay Sorry, challenge cancelled, you died, try again;set %[%p%]target% 0;set %[%p%]challenge_death% 0;set %[%p%]challenge_target% 0;set %[%p%]challenge% 0
    Hi Spatieman I have put this on my server (BF4) server had 56 players & im still getting error message "Target system disabled, need 4 players"

    Any ideas?

    Thanks

  4. #64
    Quote Originally Posted by maxdralle View Post
    ANTI KILL STREAK CHALLENGE - stop the kill streak from player xy

    this script is for proconrulz. the challenge start automatically after a player got an kill steak of 30 kills. the next player (enemy) who kills the player with the high kill streak will win a vip slot for 1 day.

    REQUIRES: VIP Slot Manager Plugin , min. 16 players on the server


    Code:
    #### ANTI KILL STREAK CHALLENGE
    # stop the 30+ kill streak to win a vip for 1 day
    # req. vip slot manager plugin   ,  min. 16 players on the server
    
    # count streak
    On Kill;Incr %server_anti_streak_challenge[%p%]%;Set %server_anti_streak_challenge[%v%]% 0
    
    # start anti kill streak challenge
    On Kill; if %ts1% + %ts2% >= 16;
        if %server_anti_streak_challenge[%p%]% == 30; if %server_team_score[2]% > 50; if %server_team_score[1]% > 50; if %server_anti_streak_challenge_playername% == 0; Say ####   ANTI KILL STREAK CHALLENGE   ####; Say Next player who kill's the player %p% to stop his kill streak win's a !VIP SLOT for 1 day!; Yell 15 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %server_anti_streak_challenge_playername% %p%
        if %server_anti_streak_challenge[%p%]% >= 30; if %server_anti_streak_challenge_playername% == %p%; Incr %anti_streak_rem%; if %anti_streak_rem% >= 4; Yell 5 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %anti_streak_rem% 0
    
    # set winner
    On Kill; if %server_anti_streak_challenge_playername% == %v%; if %pt% != %vt%;
        Yell 10 ANTI KILL STREAK CHALLENGE ENDED: %p% has won a !VIP SLOT; Say ##  ANTI KILL STREAK CHALLENGE ENDED   ##; Say ##  %p% has won a !VIP SLOT for 1 day for stopping the kill streak of %server_anti_streak_challenge_playername%
        Log ^b^2ANTI KILL STREAK CHALLENGE: %p% has won a !VIP SLOT for 1 day (target: %server_anti_streak_challenge_playername%)^0^n; Say /vsm-addvip %p% +1; Set %tmp_anti_streak_challenge_winner% 1; Set %server_anti_streak_challenge_playername% 0 
     
    # winner reminder
    On Spawn; if %tmp_anti_streak_challenge_winner% == 1; PlayerSay %p% You have won a !VIP SLOT for 1 day!; PlayerYell %p% you have won a !VIP SLOT; Set %tmp_anti_streak_challenge_winner% 2;
    On Leave; Set %server_anti_streak_challenge[%p%]% 0; if %server_anti_streak_challenge_playername% == %p%; Say ANTI KILL STREAK CHALLENGE %p% canceled (player left the server); Set %server_anti_streak_challenge_playername% 0
    
    
    #### ANTI KILL STREAK CHALLENGE - END

    script customization:
    RED: # of players to enable the challenge
    GREEN: kill streak min. kills
    BLUE: # of days for the vip slot (1 days)
    Been testing this for a while now & works perfect! Again thanks for the great work

  5. #65
    Where do i download this plugin?

  6. #66

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •