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.

dinamix 01-22-2011 12:01

Re: Simple Bounty
 
Could you make that this bounty can use only with custom flag?

Wizball 09-13-2012 12:53

Re: Simple Bounty
 
I´ve tried this plugin with CS:Go but it does not even get listed in the plugin list after installing.
Are there any plans to update it to work with CS:GO? Is this neat little plugin still supported?

Dr!fter 09-14-2012 08:23

Re: Simple Bounty
 
1 Attachment(s)
Here is a test version for cs:go, it really needs a rewrite since it was my first plugin lol.. Its not as clean as id like. I havent tested it so if it works just let me know so I can post it on the first post.

Wizball 09-14-2012 11:56

Re: Simple Bounty
 
Looks good at first glance. The plugin is getting loaded and i managed to get a first bounty on my head... which was collected the next round. I will test it further this evening and will get back to you.

Thanks mate! :)

Wizball 09-14-2012 16:47

Re: Simple Bounty
 
So far: CS:GO-approved :up:

IcEWoLF 10-07-2012 19:49

Re: Simple Bounty
 
Quote:

Originally Posted by Dr!fter (Post 1798923)
Here is a test version for cs:go, it really needs a rewrite since it was my first plugin lol.. Its not as clean as id like. I havent tested it so if it works just let me know so I can post it on the first post.

Thanks! Will test this out!

IcEWoLF 10-07-2012 22:52

Re: Simple Bounty
 
It appears the mod keeps crashing my server. Anyone got a working bounty mod that works for CS:GO?

Wizball 10-08-2012 05:16

Re: Simple Bounty
 
You sure? The mod is working on our CS:GO-Server flawlessly since my last posting below. No crashs at all.

hamilton5 10-15-2012 04:10

Re: Simple Bounty
 
Quote:

Originally Posted by Wizball (Post 1814687)
You sure? The mod is working on our CS:GO-Server flawlessly since my last posting below. No crashs at all.


I 2nd, working great on mine also..
thanks Dr!fter

IcEWoLF 01-31-2013 00:16

Re: Simple Bounty
 
Is everything still working with this mod post update?

hamilton5 01-31-2013 02:54

Re: Simple Bounty
 
uhh yes...

ss2miraitrunks 01-31-2013 22:13

Re: Simple Bounty
 
not working for me. it says no one has a bounty even if it reaches the minimum kills

IcEWoLF 02-05-2013 20:55

Re: Simple Bounty
 
Quote:

Originally Posted by ss2miraitrunks (Post 1884406)
not working for me. it says no one has a bounty even if it reaches the minimum kills

Can someone confirm this?

hamilton5 02-06-2013 03:51

Re: Simple Bounty
 
read post 20 and then post 21... why do you still ask the same questions..

edit; just go back and read page 2..

IcEWoLF 02-06-2013 15:42

Re: Simple Bounty
 
Quote:

Originally Posted by hamilton5 (Post 1888248)
read post 20 and then post 21... why do you still ask the same questions..

edit; just go back and read page 2..

The reason I asked is post #22 saying it doesn't.

murisse 02-16-2013 12:46

Re: Simple Bounty
 
any way you could change the color of the guy that has the bounty.

mani had a very similar plugin built into their admin plugin that had this bounty feature. when someone got a bounty on their head... they would turn RED if a terrorist...or BLUE if a ct. helped immeidately distinguish that this person should be killed.

can this be done?

kamil501 02-24-2014 15:35

Re: Simple Bounty
 
Thank You

que 02-27-2015 18:24

Re: Simple Bounty
 
Working fine, thanks. But could someone make path to translations folder with pharses?
Thank you =)

Verokz 03-08-2015 10:45

Re: Simple Bounty
 
doesnt work on my csgo server can fix it ?

eliteroyal 06-04-2019 04:40

Re: Simple Bounty
 
so does it work with csgo?
EDIT: it does.


All times are GMT -4. The time now is 07:56.

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