24-03-2016/10:26 AM
This plugin has now be written and is in testing phase on the dev server.
If a bunch of people want to test it together on dev that would be cool.
Plugin will be going on combat surf only.
How it works:
2 killstreak gives you a 50 credit bounty etc but these obviously have to be changed.
Any suggestions?
If a bunch of people want to test it together on dev that would be cool.
Plugin will be going on combat surf only.
How it works:
- Credit based system
- Upon getting X amount of kills without dying, an auto bounty is set your head
- Other players can set bounties on another players using !setbounty <player> <amount> (or !sb <player> <amount>)
- You can only set 1 bounty per person.
- Maximum bounty amount (per person) is 1000 credits
- You cant change or take back a bounty once you set it
- If player with bounty on their head suicides, dies to map, joins spectator team (while dead) or disconnects from server then the original player who set the bounty gets a credit refund
- If the player who set the bounty leaves the server they will not get a credit refund no matter what (TODO is to check if another user could potentially get refund instead by mistake)
- Players can check bounties using !checkbounty <player> (or !cb <player>)
- Any player who kills a player with a bounty on their head collects the bounty reward (credits)
- If a player has a bounty on their head and survives until the end of the map (ie does not die and map ends) then they collect the full bounty on their head! (They steal the bounty as a reward for being alive when map ended).
- At the end of each map, the bounties are all reset (auto bounties and set bounties)
- TO BE ADDED: If map starts with less than X players, the plugin is disabled. (Probably will be 6 players)
2 killstreak gives you a 50 credit bounty etc but these obviously have to be changed.
Any suggestions?
Code:
case 2: //todo
{
autoBountyAmount = 50;
}
case 3: //todo
{
autoBountyAmount = 100;
}
case 4: //todo
{
autoBountyAmount = 200;
}
case 5: //todo
{
autoBountyAmount = 500;
}
case 6:
{
autoBountyAmount = 750;
}
case 7:
{
autoBountyAmount = 1000;
}