AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Simple Bounty (https://forums.alliedmods.net/showthread.php?t=102649)

Dr!fter 09-04-2009 18:06

Simple Bounty
 
2 Attachment(s)
This is a simple bounty plugin based off this one http://forums.alliedmods.net/showthread.php?p=494220 it has less features it dosnt give bounty for hostage kills. No IRC function or ad function. After x kills you get awarded the bounty, then the amount will increase every kill after that depending on what is set in the config. A bonus amount is also given for a headshot (set in config). To see who has a bounty you can type in chat or team chat "bounty" (without quotes) and the panel will show who has bounties and how much of a bounty. It was completly coded by me from scratch. Also be kind this is my first plugin released to public :P Feedback is appreciated.
Credit:
^BuGs^ (for the original plugin)

CVARS:
Code:

// This file was auto-generated by SourceMod (v1.2.0)
// ConVars for plugin "SimpleBounty.smx"
 
// Disable or enable bounty plugin
// -
// Default: "1"
sm_bounty "1"
// How much bounty goes up to player that planted bomb if bomb explodes
// -
// Default: "250"
sm_bounty_bomb "250"
// Money added to players bounty per kill
// -
// Default: "250"
sm_bounty_bonus "250"
// 1 = Print To chat 2 = print to center 0 = disable messages
// -
// Default: "1"
sm_bounty_display "1"
// Headshot bonus how much more they get if the kill was a headshot.
// -
// Default: "125"
sm_bounty_headshot "125"
// How much bounty should go up per hostie resuced
// -
// Default: "100"
sm_bounty_hostie "100"
// Kills needed before player has a bounty
// -
// Default: "5"
sm_bounty_kills "5"
// Money to add to player bounties if they survive the round
// -
// Default: "250"
sm_bounty_round "250"
// Start money of bounty after sm_bounty_kills is reached
// -
// Default: "1000"
sm_bounty_start "1000"
// Bounty Version
// -
// Default: "1.2.1"
sm_simple_bounty_version "1.2.1"

Admin Commands:
Code:

//Set a bounty on someone. admin flag cvar.
sm_setbounty <target> <ammount>

Install instructions:
Put SimpleBounty.smx in
cstrike/addons/sourcemod/plugins

and plugins.bounty.cfg in
cstrike/cfg/sourcemod/

You can also just install the plugin and let it run to autogenerate the config in the same directory

To do:
Translations (maybe)

Changelog:
1.0.0 - Initial release

1.0.1 - changed public cvar to sm_simple_bounty_version

1.1.0 - Added panel to see who has bounty

1.1.1 - Added FCVAR_DONTRECORD to version cvar

1.2.1 - Fixed a few tiny bugs and added command to set bounty on a player. Added more cvars for bounties, one for rescuing hostages and already having a bounty and one for bomb blowing up when you have a bounty. Make sure to delete previous config in cfg/sourcemod

PStar 09-05-2009 17:09

Re: Simple Bounty
 
You could make the plugin so that it auto creates the cfg file :)

Bcw nice plugin.

Dr!fter 09-05-2009 18:34

Re: Simple Bounty
 
It does auto create :) i just decided to include it:P

mycologist 09-06-2009 07:51

Re: Simple Bounty
 
Great plugin, much appreciated. I'm installing it now, I'll let you know if there's any issues.

Dr!fter 09-07-2009 11:36

Re: Simple Bounty
 
Updated added the panel to see who has a bounty. Typeing "bounty" (without quotes) in chat or team chat will display a panel with the players name and the ammount of their bounty.

berni 09-11-2009 14:11

Re: Simple Bounty
 
Add the ConVar flag FCVAR_DONTRECORD to sm_simple_bounty_version please.

Approved :) Greetings ~Berni

Dr!fter 09-11-2009 22:04

Re: Simple Bounty
 
Quote:

Originally Posted by berni (Post 929945)
Add the ConVar flag FCVAR_DONTRECORD to sm_simple_bounty_version please.

Approved :) Greetings ~Berni

Done :) and Thank You!

PStar 09-20-2009 17:00

Re: Simple Bounty
 
Hy Can you add custom bounty function, with a menu?

So players could put bounty on other players trought the menu.

Dr!fter 09-21-2009 12:26

Re: Simple Bounty
 
Ill see about it i want to keep it really simple. Idk if ill add it to the menu but i might make a command.

Dr!fter 10-26-2009 20:30

Re: Simple Bounty
 
Finally had time to update this. Fixed a few bugs add bonus for hostie rescue aswell as bomb blowing up (if you planted) Make sure to delete the old config file so the new cvars are written into it or overwrite with the new one. Aswell as added a admin command to set a bounty on someone. Read orginal post for more info.


All times are GMT -4. The time now is 06:34.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.