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

[L4D(2)] AFK and Join Team Commands (1.1)


Post New Thread Reply   
 
Thread Tools Display Modes
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 04-13-2014 , 21:34   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #21

Could you join a simple "sm_takecontrol <available bot's name>" like official command "sb_takecontrol"?
--edit--
Thank you. I may try this.
__________________
Kill all the son of a bitches, that's my official instructions.
L4Dε Modified Talker

Last edited by bazrael; 05-13-2014 at 02:28. Reason: Reply
bazrael is offline
MasterMe
Member
Join Date: Mar 2010
Location: Netherlands
Old 05-04-2014 , 08:18   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #22

For those looking for a takecontrol command you may be interested in [L4D & L4D2] Survivor Bot Takeover.
I did an edit allowing you to takeover alive survivor bots as well, but it's not random so you still can't always be the bot you'd like to be.

Maybe one day, when I have a lot more time I will expand to plugin into something more comprehensive. That will remember your bot when you switch and things like that. For now I'm just too busy with university work.

I will of course do as much as I can but right now I just don't know enough about SourceMod to do this properly.
__________________

Last edited by MasterMe; 06-15-2014 at 06:47.
MasterMe is offline
Neevar
Senior Member
Join Date: Mar 2014
Old 09-11-2014 , 04:19   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #23

Hi, I do still hope you're supporting this plugin.

Its a great plugin btw. However I have a request

Is it possible to limit the number of times each player can use the commands? like perhaps on every map they can spectate/afk only 3 times for example?

I hope you reply.
Neevar is offline
Danny_l4d
Senior Member
Join Date: Feb 2010
Old 11-13-2014 , 06:31   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #24

MasterMe, I think you forgot to change the lasersight text xD

PHP Code:
CreateConVar("afk_spectate_commands_version"PLUGIN_VERSION"Lasersight plugin version"FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_NOTIFY|FCVAR_DONTRECORD); 

@bazrael:

I know it is possible in console when you type "jointeam 2 louis" and louis is alive you will take over that bot.. in other ways, you may simply use a plugin that allows character change, or type "!join" again to switch between 2 bots
Danny_l4d is offline
runkeballe
Member
Join Date: Jul 2011
Old 02-21-2016 , 20:53   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #25

i cant get this to work, once i go spectator mode i cant join again noone of the command works, tried some other mods but same there just stuck in spectator mode...begining to think these mods are broke..pls help
runkeballe is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 03-12-2016 , 03:47   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #26

In spectator mode you can't "say" things easily, you need to go into the console to do so.
__________________
Merudo is offline
H.Q
New Member
Join Date: Aug 2016
Old 08-16-2016 , 07:03   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #27

Hey its not working on coop (6 players) only afk command working any help?
H.Q is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 08-16-2016 , 07:21   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #28

Quote:
Originally Posted by H.Q View Post
Hey its not working on coop (6 players) only afk command working any help?
If you mean joining the Infected team, of course it's not going to work as Valve prevented that issue to fix some bugs relating to cooperative gamemodes. If your game is L4D2 and want to join Infected, use versuscoop i.e map c1m1_hotel versuscoop.
cravenge is offline
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 12-14-2017 , 08:35   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #29

I play versus on local server and can't change team
P/s: Use lastest Sourcemod and Metamod (for now)
Code:
L 12/14/2017 - 20:32:51: SourceMod error session started
L 12/14/2017 - 20:32:51: Info (map "c2m1_highway") (file "errors_20171214.log")
L 12/14/2017 - 20:32:51: [SM] Failed to load plugin "nextmap.smx": Nextmap is incompatible with this game.
L 12/14/2017 - 20:33:38: [SM] Exception reported: Client index 0 is invalid
L 12/14/2017 - 20:33:38: [SM] Blaming: l4d_afk_commands.smx
L 12/14/2017 - 20:33:38: [SM] Call stack trace:
L 12/14/2017 - 20:33:38: [SM]   [0] ChangeClientTeam
L 12/14/2017 - 20:33:38: [SM]   [1] Line 120, l4d_afk_commands.sp::AFKTurnClientToSpectate
L 12/14/2017 - 20:33:45: [SM] Exception reported: Client index 0 is invalid
L 12/14/2017 - 20:33:45: [SM] Blaming: l4d_afk_commands.smx
L 12/14/2017 - 20:33:45: [SM] Call stack trace:
L 12/14/2017 - 20:33:45: [SM]   [0] ClientCommand
L 12/14/2017 - 20:33:45: [SM]   [1] Line 126, l4d_afk_commands.sp::AFKTurnClientToSurvivors
L 12/14/2017 - 20:33:54: [SM] Exception reported: Client index 0 is invalid
L 12/14/2017 - 20:33:54: [SM] Blaming: l4d_afk_commands.smx
L 12/14/2017 - 20:33:54: [SM] Call stack trace:
L 12/14/2017 - 20:33:54: [SM]   [0] ClientCommand
L 12/14/2017 - 20:33:54: [SM]   [1] Line 131, l4d_afk_commands.sp::AFKTurnClientToInfected
__________________
I am a noob so... hope you guys will help me up
P/s .-. : My English is bad, i am good at Vietnamese
Newbie_Sexy is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 09-22-2020 , 02:26   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #30

added a new cmd.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_afk_commands.sp - 328 views - 7.5 KB)
Darkwob 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 16:23.


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