Raised This Month: $ Target: $400
 0% 

[TF2] Bot Chatter


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
miau
New Member
Join Date: Oct 2023
Old 10-05-2023 , 19:20   Re: [TF2] Bot Chatter
Reply With Quote #13

Hello, I've recently signed up here to say that I really appreciate the mod, and I've added one more feature to it to suit my needs. So it'd be only fair to share it with y'all as well.
I've altered the source code of the plugin to let people specify which bot is allowed to say a specific message, so that way you can have certain bots with unique messages.

How to use
In the tf2botchatter.txt file, you need specify the name of the bot. If you don't add a name line, any bot will be able to say that message like normal. The name has to be identical to the bot's name, and it's case insensitive.

Example:
Code:
"botchatter"
{
	"player_connected"
	{
		"50"
		{
			"name"			"Pikachu"
			"typetime"		"2.0"
			"message"		"Pika! Pika!"
		}
		"50"
		{
			"typetime"		"2.0"
			"message"		"Any bot can say this message here, even Pikachu"
		}
	}
}
Attached Files
File Type: sp Get Plugin or Get Source (tf2botchatter.sp - 50 views - 44.1 KB)

Last edited by miau; 10-06-2023 at 04:41.
miau is offline
 



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 21:17.


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