Raised This Month: $32 Target: $400
 8% 

KillBOT TS Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   The Specialists        Category:   Gameplay        Approver:   EKS (166)
colby
Senior Member
Join Date: Jun 2005
Location: NC
Old 08-15-2005 , 19:55   KillBOT TS Mod
Reply With Quote #1

Well, a couple of months ago i pitched this idea and got no replies so I eventually decided to learn how to code so I could make it myself. You start out with $0, and gain money for each kill but lose money for each death. Your money saves into vault when you disconnect and loads back up when you connect. You then use this money to buy things using the /buy menu. Credits to Avalanche for the vault code and v3x for the code so /buy wouldn't show up in chat.

Commands:
amx_money <name> <give or take> <amount>

Example: You want to give colby 5 dollars so you would do:
amx_money colby give 5
To take 5 dollars:
amx_money colby take 5

amx_moneystats - Shows how much money everyone in the server has
say /buy - brings up the buy menu

You can also put these in your amxx.cfg:
killbot_validmodel "modelname" set the model you want humans to use (default is 'Gordon')
killbot_invalidmodel "modelname" set the model you want bots to use (default is 'Agent')
killbot_killgain "#" set how much money one gains from each kill (default is 5)
killbot_deathloss "#" set how much money one loses for each death (default is 1)

Requires:
FUN
TSFUN
ENGINE

The buy menu consists of:
1. Gamble - You can gamble for more money, win up to 50 dollars!
2. 250 health - Gives you +250 health, it also stacks, so if your health displays 1 it could actually be 256 because the game can only show up to 255 before it starts back over at 1
3. Runspeed 999 for 5 mins - Gives you maxspeed 999 for 5 mins
4. 2 nades - gives you two nades
5. Buy random shotgun - gives you a random shotgun
6. Globalslow 0.5 for 5 mins - sets globalslow to .5 for 5 mins
7. Noclip until death - gives you noclip until you die
8. Godmode for 5 mins - gives you godmode for 5 mins

Almost forgot, BUGS:
There's only one that I know of, and that is the team restriction. If you switch your model to join the bot team it will automatically put you back on the human team, but if you use the team menu to switch it allows you to switch. If anyone knows how to prevent this let me know.

This plugin can be used for bots or regular deathmatch, just set the validmodel and invalidmodel to "".

** 7/29/06 UPDATE **
I was bored and decided to clean up this messy code a bit. 0.3 has been tested (not extensively) and should work with AMXX 1.75. If you have any problems, let me know.
Attached Files
File Type: zip mp_dll.zip (306.5 KB, 747 views)
File Type: sma Get Plugin or Get Source (killbot.sma - 1872 views - 10.0 KB)

Last edited by colby; 07-29-2006 at 19:32.
colby is offline
Send a message via AIM to colby
Sp4rt4n
Senior Member
Join Date: Dec 2004
Old 08-15-2005 , 20:06  
Reply With Quote #2

dang... this sounds cool...

does it take up TS money or do you get a whole nother set of cash?
Sp4rt4n is offline
Send a message via MSN to Sp4rt4n
colby
Senior Member
Join Date: Jun 2005
Location: NC
Old 08-15-2005 , 20:11  
Reply With Quote #3

It's a whole different money system, I figured it was a lot easier to set up a new money system then to try and control the TS one.
colby is offline
Send a message via AIM to colby
kirby7wu
Member
Join Date: Jun 2005
Location: Кры
Old 08-15-2005 , 21:15  
Reply With Quote #4

Wow. Good job. That is all I can say right now.

This looks so awesome, I'm joining the server now!
__________________
Please do not give me any karma, I do not participate in that.
kirby7wu is offline
Send a message via AIM to kirby7wu
colby
Senior Member
Join Date: Jun 2005
Location: NC
Old 08-15-2005 , 21:33  
Reply With Quote #5

Thanks for the compliments guys.

Edit: Thanks EKS
colby is offline
Send a message via AIM to colby
colby
Senior Member
Join Date: Jun 2005
Location: NC
Old 08-17-2005 , 20:02  
Reply With Quote #6

*bump*

Note that my server running this plugin is going down by next Monday, so if anyone is thinking of running a server with this plugin here are a few things to help you out.

See First Post
colby is offline
Send a message via AIM to colby
gregg
Member
Join Date: Feb 2005
Old 08-19-2005 , 17:41  
Reply With Quote #7

cool nice plugin +karma
gregg is offline
TazzY
New Member
Join Date: Aug 2005
Old 08-21-2005 , 10:24  
Reply With Quote #8

WooW ! prettry cool keep up good work dude
TazzY is offline
DataMatrix
Senior Member
Join Date: Aug 2005
Location: UK, Liverpool
Old 08-22-2005 , 17:07  
Reply With Quote #9

Quote:
Originally Posted by colby
*bump*

Note that my server running this plugin is going down by next Monday, so if anyone is thinking of running a server with this plugin here are a few things to help you out.
I added this fix to my server, but for every addcustombot line it adds 2 bots... any ideas?
DataMatrix is offline
Send a message via MSN to DataMatrix
DataMatrix
Senior Member
Join Date: Aug 2005
Location: UK, Liverpool
Old 08-22-2005 , 17:13  
Reply With Quote #10

I found the problem, it seems as though the dedicated server executes server.cfg twice, so its adding twice as many bots.

Can you fix this anyway?
DataMatrix is offline
Send a message via MSN to DataMatrix
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:11.


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