Page 1 of 11 123 ... LastLast
Results 1 to 10 of 105
  1. #1

    [BF2, BF3] Kill Streak Announcer (by ty_ger07 for ProconRulz)

    This plugin announces Kill Streaks with game server 'say' text messages, as in

    "ty_ger07 5-KILL STREAK !"

    ...

    "ty_ger07 10-Kill STREAK !"

    The announcement is every 5 kills (you can adjust this) and when the player dies if the streak is at least 5 kills, then the plugin will announce:

    "ty_ger07 13 KILL STREAK is over."

    The plugin is written as rulz for ProconRulz.

    Version 1 (Simple - announce every 5 and at end)
    Code:
    # Kill Streak Announcer by ty_ger07
    On Spawn;If %streak% >= 5;Say %p%: %streak% KILL STREAK is over.
    On Spawn;Set %streak% 0;Set %killincr% 0
    On Kill;Incr %killincr%;Incr %streak%;If %killincr% == 5;Set %killincr% 0;PlayerSay %p%: %streak% KILL STREAK!
    Version 2 (More Quake-like, different message each 5 kills, ends even if revived)
    Code:
    # Unreal Tournament Kill Streak Announcer by ty_ger07
    #### Announcements of killstreak ending:
    On Kill;If %server_streak[%v%]% >= 5;Say %p% ENDED %v%'s %server_streak[%v%]%-KILL STREAK with %w%
    On TeamKill;If %server_streak[%v%]% >= 5;Say %p%'s TEAMKILL ENDED %v%'s %server_streak[%v%]%-KILL STREAK with %w%
    On Suicide;If %server_streak[%p%]% >= 5;Say %p% ENDED their %server_streak[%p%]%-KILL STREAK with a SUICIDE
    #### Reset the player's streak count when they are killed:
    On Kill;Set %server_streak[%v%]% 0
    On TeamKill;Set %server_streak[%v%]% 0
    On Suicide;Set %server_streak[%v%]% 0
    #### Reset killincr to 0 if server_streak is 0
    On Kill;If %server_streak[%p%]% == 0;Set %killincr% 0
    #### Accumulate the kill count for each player in a var %server_streak[playername]%
    On Kill;Incr %killincr%;Incr %server_streak[%p%]%;
    #### Say periodic killstreak messages
    On Kill;If %killincr% == 30;Set %killincr% 25;PlayerSay GodLike! %p% %server_streak[%p%]% KILL STREAK
    On Kill;If %server_streak[%p%]% == 25;PlayerSay GodLike! %p% 25-KILL STREAK
    On Kill;If %server_streak[%p%]% == 20;PlayerSay Unstoppable! %p% 20-KILL STREAK
    On Kill;If %server_streak[%p%]% == 15;PlayerSay Dominating! %p% 15-KILL STREAK
    On Kill;If %server_streak[%p%]% == 10;PlayerSay Rampage! %p% 10-KILL STREAK
    On Kill;If %server_streak[%p%]% == 5;PlayerSay Killing Spree! %p% 5-KILL STREAK
    Install:
    * Install the latest version of the ProconRulz Procon plugin if you don't have it already.
    * Cut-and-paste the above rulz anywhere at the top of the 'Rules' (screenshot attached)

    Bambam

    Thanks to ty_ger07 for creating this plugin - the idea to post it in a separate thread from the main ProconRulz thread is mine, as a concept of reducing the complexity of that thread... so please post to this thread if you have questions about the Kill Streak Announcer, but put general ProconRulz questions in that thread...
    Attached Images Attached Images
    Last edited by bambam; 08-01-2012 at 20:34. Reason: added v2
    --------------------------------------------------------------
    For the ProconRulz Procon Plugin, always read the first post in the ProconRulz thread. See also the ONLINE DOCUMENTATION for information regarding writing your own rulz.

  2. #2
    Fantastic Work bambam I have added it now and ill test today and tonight and get back to you once I have had a chance to give a good session
    Kudos please keep up the great work these little things really help make a server stay populated

  3. #3
    Working like a charm! Thanks!

  4. #4
    Community Contributor
    Join Date
    Nov 2011
    Posts
    2,928
    Thank you BamBam!

  5. #5

  6. #6
    Ok after some testing I can say It is working perfectly
    Kudos

  7. #7
    [12:23:29 82] ProconRulz: Unrecognised rule On Spawn;If %streak% >= 5;Say %p%: %streak% KILL STREAK is over.
    [12:23:29 82] ProconRulz: Unrecognised rule On Spawn;Set %streak% 0;Set %killincr% 0
    [12:23:29 82] ProconRulz: Unrecognised rule On Kill;Incr %killincr%;Incr %streak%;If %killincr% == 5;Set %killincr% 0;PlayerSay %p%: %streak% KILL STREAK!

  8. #8
    Sry, I had old version of the ProConRulz.... My bad!

  9. #9
    great! a special single post just for that! makes a better view for specific procon rulz vs all in 1 thread.

  10. #10
    Community Contributor
    Join Date
    Nov 2011
    Posts
    2,928
    [UNTESTED]

    I received a request to have the kill-streak text change depending on the number of kills. The request was for the text to be similar to the Unreal Tournament kill-streak announcements.

    Code:
    # Unreal Tournament Kill Streak Announcer by ty_ger07
    On Spawn;If %streak% >= 5;Say %p% %streak% Kill Streak has ended.
    On Spawn;Set %streak% 0;Set %killincr% 0
    On Kill;Incr %killincr%;Incr %streak%;If %killincr% == 30;Set %killincr% 25;PlayerSay GodLike! %p% %streak% Kill Streak
    On Kill;If %streak% == 25;PlayerSay GodLike! %p% %streak% Kill Streak
    On Kill;If %streak% == 20;PlayerSay Unstoppable! %p% %streak% Kill Streak
    On Kill;If %streak% == 15;PlayerSay Dominating! %p% %streak% Kill Streak
    On Kill;If %streak% == 10;PlayerSay Rampage! %p% %streak% Kill Streak
    On Kill;If %streak% == 5;PlayerSay Killing Spree! %p% %streak% Kill Streak
    This should result in the following actions ('Player' would be substituted for actual player name):

    At 5 kills, it should say:
    Killing Spree! Player 5 Kill Streak

    At 10 kills, it should say:
    Rampage! Player 10 Kill Streak

    At 15 kills, it should say:
    Dominating! Player 15 Kill Streak

    At 20 kills, it should say:
    Unstoppable! Player 20 Kill Streak

    At 25 kills, it should say:
    GodLike! Player 25 Kill Streak

    At 30 kills, it should say:
    GodLike! Player 30 Kill Streak

    At 35 kills, it should say:
    GodLike! Player 35 Kill Streak

    And so on...
    Since Unreal Tournament didn't go higher than 'GodLike', I have it set to just repeat the GodLike message at 5 kill intervals above 25.

    Then, when the player is killed (after making 37 kills for example), it will say:
    Player 37 Kill Streak has ended.

    [/UNTESTED]
    Last edited by ty_ger07; 04-01-2012 at 20:01.

 

 

Posting Permissions

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