PDA

View Full Version : Basic but unique kill-streak system



Wise
03-03-13, 01:56 PM
hey, Time for something different brought to you by Michael Crow, aka Crøw.


This script on kill will add a token, which by default is the id to Emblem of Heroism. Each set will add 1 progressively.

Example:

1-9 = 1 token awarded
11-19 2 tokens awarded
21-29 3 tokens awarded
31-39 4 tokens awarded
41-49 5 tokens awarded

At every 10 intervals, It also grants DOUBLE the amount you get on that kill already.

Example:

10 = 2
20 = 4
30 = 6
40 = 8
50 = 10

Currently, when a player hits 50, I have it reset the kill count upon the 51st. I'll elaborate that later on.

When you KILL a player WITH AN EXISTING KILLSTREAK, that one kill you will get the tokens he would have got if he had gotten the kill for that set.

example:

10-19 streak, you get 2 tokens
20-29 kill streak you get 4
30-39 you get 6
40-49 you get 8


You may have noticed I left out 50, well, For 50, if you kill his streak you get 20 tokens and the chat system calls you a GOD SLAYER, because not only if someone got 50 kills already from different people, that you are likely to fail, but it's hard to nail because if you go over 50, it goes back to 1.


It's pretty simple to change.

EDIT: NOW IT IS EASY TO CHANGE!
At the top right here, are the token id and the amount of tokens rewarded for each kill or end! Modify the ids to your liking!


#define TokenID 47241

enum KillRewards
{
Streak0 = 1
Streak1 = 2
Streak2 = 3
Streak3 = 4
Streak4 = 5
};

enum TenthKill
{
Ten = 2
Twenty = 4
Thirty = 6
Fourty = 8
Fifty = 10
};

enum Streak_End_Rewards
{
End1 = 2
End2 = 4
End3 = 6
End4 = 8
EndofEnd = 20
};



SCRIPT (http://pastebin.com/gsz8ACvy)

pinkponeyz
20-03-13, 06:39 PM
Could this be modified for like a 2.4.3 Oregoncore pretty please? :D This thing looks absolutely sick.

_________
Actually it looks like I'm having trouble compiling any kind of custom script right now :(. Which is weird 'cause I just successfully did it 10 minutes ago >_<.

Anyway, sick post man. +rep