AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Bounty Hunter (https://forums.alliedmods.net/showthread.php?t=92082)

moosewanted 05-09-2009 18:43

Bounty Hunter
 
1 Attachment(s)
Bounty Hunter

This plugin is now finished. It was never designed to have any significant impact on normal counter strike gameplay but just as a added extra to killing a specific person.

This is a minor mod to the gameplay of counter-strike designed to be used while playing normal counter-strike.

When the round starts, a criminal and a hunter is selected. The criminal is wanted for a certain amount of money(bounty). The criminal goes on playing counter-strike as normal. The hunter can go on playing with counter-strike as normal but if they meet the criminal and kill the criminal they get some extra money. These are the basics of Bounty Hunter.

The bounty on the criminal increases as they kill more people.
If the hunter dies, a new hunter is selected on the start of the next round.
If the criminal is killed by someone else(not the hunter) then next round a new criminal selected.
If the hunter kills the criminal, they recieve money and a new bounty is selected on the next new round.

The criminal glows red
The hunter glows blue


I am currently aware that a Bounty Hunter plugin already exists and it is approved. I only found this out about 3/4's of the way through coding this plugin so I thought I may aswell finish it.

Commands & CVARS
  • amx_bh_restart - restarts bounty hunter(selects a new hunter + criminal)
  • amx_bh_state - 1 turns Bounty Hunter on, 0 turns Bounty Hunter off
  • amx_bh_min - specifies the number of players required for Bounter Hunter to start running(minimum 2)
  • amx_bh_disable_msgs - 0 = not disabled, 1 = disabled (There are not enough players to play Bounty Hunter, you need at least %i players)
  • amx_bh_glow - 1 = on, 0 = off
  • amx_bh_startbounty - specifies the starting reward money for killing the criminal
  • amx_bh_inc - specifies the amount by which the bounty increases when the criminal kills someone
  • amx_bh_surv - specifies the amount by which the bounty increases when the criminal survives a round

Change log:
v1.0 - Changed some rendering - Changed again
v1.1 - Fixed rendering + setting hunter/criminal
v1.2 - Added detection of hunter/bounty disconnecting
v1.3 - Added bad-cop / criminal alternatives when your CT or T

Credits:

VEN - properly detecting round start - http://forums.alliedmods.net/showthread.php?t=42159

Thanks for reading. I do intend to add more features. If you have any ideas of your own feel free to post them.

#moosewanted <3

Note: as far as I'm aware this plugin does work. I have not tested the most up-to-date version yet as it's difficult to obtain people for testing, but I have not made any major changes to the code since the last test.

AlejandroSk 05-09-2009 19:48

Re: Bounty Hunter (another don't approve yet, not finished <3)
 
Good plugin..
I have some ideas:
Add a own system of money. Like Ammo Packs In ZP
Add a menu to buy items , for example speed , etc.

moosewanted 05-09-2009 19:52

Re: Bounty Hunter (another don't approve yet, not finished <3)
 
Quote:

Originally Posted by AlejandroSk (Post 824550)
Good plugin..
I have some ideas:
Add a own system of money. Like Ammo Packs In ZP
Add a menu to buy items , for example speed , etc.

I was thinking along the lines of this aswell:
The hunter gets like specific weapons which they are allowed to use to kill the criminal?
The criminal gets more health?

Oh and do you think I should enable more than one hunter AND/OR more than one criminal?

EDIT 2: Oh and I don't really want to change speed or anything tbh. This plugin is meant to be run alongside normal CS so that people get have a little bonus from killing certain people. Nothing more :D

Hunter-Digital 05-09-2009 21:39

Re: Bounty Hunter (another don't approve yet, not finished <3)
 
CT criminal ? :shock: you should make only a T to be the target and a CT the hunter... ooor, T an assasin and CT victim... or something like that :P

moosewanted 05-10-2009 04:14

Re: Bounty Hunter (another don't approve yet, not finished <3)
 
Quote:

Originally Posted by Hunter-Digital (Post 824626)
CT criminal ? :shock: you should make only a T to be the target and a CT the hunter... ooor, T an assasin and CT victim... or something like that :P

Is a good point but then half the people on the server will miss out on a role and you don't earn anything being the criminal( I could make it that every kill you get as a criminal earns you money, not just increases the bounty)

Plus there are such things as bad cops, so why not bad counter-terrorists :)

Xellath 05-10-2009 04:44

Re: Bounty Hunter (another don't approve yet, not finished <3)
 
The code looks good, you might want to reset the hunterID if the hunter disconnects while he's the hunter also check/reset when they connect. Not really needed, just a little optimization.

Otherwise than that, Good Job! :crab:

M1R0n,M' 05-10-2009 06:48

Re: Bounty Hunter (another don't approve yet, not finished <3)
 
Good plugin. :)

Hunter-Digital 05-10-2009 08:47

Re: Bounty Hunter (another don't approve yet, not finished <3)
 
Quote:

Originally Posted by moosewanted (Post 824734)
Is a good point but then half the people on the server will miss out on a role and you don't earn anything being the criminal( I could make it that every kill you get as a criminal earns you money, not just increases the bounty)

Plus there are such things as bad cops, so why not bad counter-terrorists :)

Yes well, in that case use other naming terms :P not criminal... use bad cop vs innocent =) or something :P

anyway nice ideea :P

moosewanted 05-10-2009 10:05

Re: Bounty Hunter (another don't approve yet, not finished <3)
 
Quote:

Originally Posted by Hunter-Digital (Post 824853)
Yes well, in that case use other naming terms :P not criminal... use bad cop vs innocent =) or something :P

anyway nice ideea :P

Sort of done :D


All times are GMT -4. The time now is 00:40.

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