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

TF2: How to change the name of a bot ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tauphi
SourceMod Donor
Join Date: Sep 2004
Location: Germany
Old 09-24-2008 , 02:31   TF2: How to change the name of a bot ?
Reply With Quote #1

Hello,

when i add some bots with the "bot" command in Team Fortress 2, they got names like "Bot01", "Bot02" etc ...

There is a command "bot_randomnames", which sets some random names for them when this cvar is 1 ...

Does someone know how i can change the name of the bot?
Best way would be, to find out, where these random names are saved ... but changing the name per script is ok, too

Thx in advance
Andi
__________________
Tauphi is offline
Send a message via ICQ to Tauphi Send a message via Skype™ to Tauphi
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 09-24-2008 , 02:49   Re: TF2: How to change the name of a bot ?
Reply With Quote #2

You could probably find the ClientID for the bot, and set its keyvalue "name" or something similar, but I am just guessing here.

*Edit*

Scratch that, I was curious and google saves the day as usual.

bot -team <teamname/number> -class <classname> -name <botname>
__________________

Last edited by CrimsonGT; 09-24-2008 at 02:51.
CrimsonGT is offline
Tauphi
SourceMod Donor
Join Date: Sep 2004
Location: Germany
Old 09-24-2008 , 03:12   Re: TF2: How to change the name of a bot ?
Reply With Quote #3

haha that was easy
thank you very much

works perfect
__________________
Tauphi is offline
Send a message via ICQ to Tauphi Send a message via Skype™ to Tauphi
Reply


Thread Tools
Display Modes

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:06.


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