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

[TF2] Take Control of Bots


Post New Thread Reply   
 
Thread Tools Display Modes
Sreaper
髪を用心
Join Date: Nov 2009
Old 08-16-2012 , 05:53   Re: [TF2] Take Control of Bots
Reply With Quote #11

Quote:
Originally Posted by Grognak View Post
You can try removing the check on line 95 that prevents you from taking control of another team's bots, but I have no guarantee on what will happen. I don't currently plan to officially support MvM with this plugin.
Calling for a Medic on these robots seems to do absolutely nothing. They just keep on walking. I don't understand why this plugin doesn't work on them. They are just normal bots aren't they?
Sreaper is offline
Grognak
SourceMod Donor
Join Date: Jan 2012
Old 08-16-2012 , 19:18   Re: [TF2] Take Control of Bots
Reply With Quote #12

Quote:
Originally Posted by Sreaper View Post
Calling for a Medic on these robots seems to do absolutely nothing. They just keep on walking. I don't understand why this plugin doesn't work on them. They are just normal bots aren't they?
Did you do the modification I suggested? They are normal bots, so this should work fairly well on them.

As another suggestion, comment out the timer near line 134.
Grognak is offline
RonanZer0
Member
Join Date: Aug 2012
Old 08-16-2012 , 20:14   Re: [TF2] Take Control of Bots
Reply With Quote #13

i removed that line that you said would let the bot
i REALLY wanna play as a robot
sreaper is EXTREMLEY lucky becuase he atleast compiled it without a STUPID error: my error is expected ) but found {

help?
i cant find any plugin that does such a simple thing as letting you access the blue team in mvm or controlling a mvm bot...
RonanZer0 is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 08-16-2012 , 21:22   Re: [TF2] Take Control of Bots
Reply With Quote #14

Quote:
Originally Posted by Grognak View Post
Did you do the modification I suggested? They are normal bots, so this should work fairly well on them.

As another suggestion, comment out the timer near line 134.
I did do your suggestion. This plugin was not what I was expecting. I was actually hoping to take control of the bot, not kill the bot and spawn in its place. There is another plugin floating around on the forum that does let you control the bots while in spectator.
Sreaper is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-16-2012 , 21:39   Re: [TF2] Take Control of Bots
Reply With Quote #15

I dont think the robots work like the bots do, just cause you cant slay them, im saying this is cause ive already had like robots getting stuck lol.
Mitchell is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 08-16-2012 , 22:46   Re: [TF2] Take Control of Bots
Reply With Quote #16

Quote:
Originally Posted by Mitchell View Post
I dont think the robots work like the bots do, just cause you cant slay them, im saying this is cause ive already had like robots getting stuck lol.
sm_slay @bots doesn't work for you?

Last edited by Sreaper; 08-16-2012 at 22:46.
Sreaper is offline
RonanZer0
Member
Join Date: Aug 2012
Old 08-17-2012 , 00:16   Re: [TF2] Take Control of Bots
Reply With Quote #17

expected ) but found { when compiling after removing line 95
RonanZer0 is offline
Grognak
SourceMod Donor
Join Date: Jan 2012
Old 08-17-2012 , 00:22   Re: [TF2] Take Control of Bots
Reply With Quote #18

Line 94 should look like:

PHP Code:
if (IsValidClient(iTarget) && IsFakeClient(iTarget)) 
Grognak is offline
RonanZer0
Member
Join Date: Aug 2012
Old 08-17-2012 , 12:28   Re: [TF2] Take Control of Bots
Reply With Quote #19

when i try controlling a bot it just leaves me in spectator mode and i cant spawn or even do anything with the bot...halp!
RonanZer0 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-17-2012 , 12:35   Re: [TF2] Take Control of Bots
Reply With Quote #20

Here's something interesting you may want to check out. The hint box supports a wildcard that displays the key bound to a particular command.

Currently, your code contains this:

PHP Code:
PrintHintText(iClient"Call for a medic to take control of this bot."); 
If you change it to this:

PHP Code:
PrintHintText(iClient"Press [ %voicemenu 0 0% ] to take control of this bot."); 
The hint box will display this: "Press [ E ] to take control of this bot." (assuming my medic key is E).
__________________
Dr. McKay 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 12:17.


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