Raised This Month: $51 Target: $400
 12% 

Adding bots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mike_BoG
SourceMod Donor
Join Date: Jul 2011
Old 09-10-2011 , 09:22   Adding bots
Reply With Quote #1

Hi,

Im running a achievement_pyro_final map and I would like to add bots without sv_cheats on. Is there a way to make the kills with strange weapons count too?
I have tried running the sv_cheats 0; retry commands after adding the bots manually, but the kills i make do not list in the kills section of the strange weapons.
Mike_BoG is offline
BrianGriffin
Senior Member
Join Date: Oct 2008
Old 09-10-2011 , 13:39   Re: Adding bots
Reply With Quote #2

Fake clients (bots) never count for strange weapons kills. I also couldn't get it to work with SDK Hooks deal damage (Dealing damage to a real player and faking it coming from your strange weapon)
BrianGriffin is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 09-11-2011 , 00:07   Re: Adding bots
Reply With Quote #3

This is a plugin I made to spawn bots for my server.

It activates sv_cheats 1 silently(It doesn't disable achievements), adds the bots, then resets sv_cheats to 0.

Usage: sm_addbot "name" "team" "class"
Example: sm_addbot "The Sandvich Man" "blue" "heavy"
Attached Files
File Type: sp Get Plugin or Get Source (TF2 Addbot.sp - 448 views - 1.4 KB)

Last edited by Tylerst; 09-11-2011 at 00:14.
Tylerst is offline
Unreal1
AlliedModders Donor
Join Date: Dec 2010
Old 09-12-2011 , 17:51   Re: Adding bots
Reply With Quote #4

Quote:
Originally Posted by Tylerst View Post
This is a plugin I made to spawn bots for my server.

It activates sv_cheats 1 silently(It doesn't disable achievements), adds the bots, then resets sv_cheats to 0.

Usage: sm_addbot "name" "team" "class"
Example: sm_addbot "The Sandvich Man" "blue" "heavy"
So will it still work with strange weps?
Unreal1 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 09-12-2011 , 18:43   Re: Adding bots
Reply With Quote #5

Quote:
Originally Posted by Unreal1 View Post
So will it still work with strange weps?
I don't know, I don't have any strage weapons to test it.
Tylerst is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 09-17-2011 , 17:50   Re: Adding bots
Reply With Quote #6

Quote:
Originally Posted by Unreal1 View Post
So will it still work with strange weps?
Quote:
Originally Posted by BrianGriffin View Post
Fake clients (bots) never count for strange weapons kills.
__________________
DarthNinja is offline
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 23:36.


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