Raised This Month: $ Target: $400
 0% 

Team Fortress 2 - How To Give Bots Preset Loadouts?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DreadedGhoul575
Senior Member
Join Date: Apr 2016
Old 10-30-2016 , 14:51   Team Fortress 2 - How To Give Bots Preset Loadouts?
Reply With Quote #1

Does anyone know how to do this? e.g. Demoman bot to a Demo with a chargin' Targe, sword etc. Or even if there's a way to do it manually e.g. give *bot name* chargin'_targe. If the manual way works, does the bot have it forever on the map, or does it lose it on death?

Thank you.

Note: I didn't know where else to post, so apologies if I posted in the wrong place.
DreadedGhoul575 is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 11-01-2016 , 13:32   Re: Team Fortress 2 - How To Give Bots Preset Loadouts?
Reply With Quote #2

This Loadout Randomizer should be a good start
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux
DJPlaya is offline
Send a message via Skype™ to DJPlaya
DreadedGhoul575
Senior Member
Join Date: Apr 2016
Old 11-01-2016 , 17:01   Re: Team Fortress 2 - How To Give Bots Preset Loadouts?
Reply With Quote #3

Quote:
Originally Posted by DJPlaya View Post
I don't mean random, I mean preset; always have the same weapons in place of the default weapons.
DreadedGhoul575 is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 11-01-2016 , 19:06   Re: Team Fortress 2 - How To Give Bots Preset Loadouts?
Reply With Quote #4

Give Weapon (using sm_giveweapon_ex) is one way to go about it manually.

If you want to roll your own, just set up a configuration file with your defined loadouts and give them to your desired bots in the post_inventory_application event (they do lose them on death).
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
DreadedGhoul575
Senior Member
Join Date: Apr 2016
Old 11-02-2016 , 05:19   Re: Team Fortress 2 - How To Give Bots Preset Loadouts?
Reply With Quote #5

Quote:
Originally Posted by nosoop View Post
Give Weapon (using sm_giveweapon_ex) is one way to go about it manually.

If you want to roll your own, just set up a configuration file with your defined loadouts and give them to your desired bots in the post_inventory_application event (they do lose them on death).
I've never done coding and stuff, but thanks for the info.
DreadedGhoul575 is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 11-09-2016 , 18:37   Re: Team Fortress 2 - How To Give Bots Preset Loadouts?
Reply With Quote #6

Its easy, if you want the bots to spawn automatically with the weps just put something like...
Code:
bot -team red -class solider -name Bottinger
sm_giveweapon_ex Bottinger 9018
bot -team red -class demoman -name Boter
sm_giveweapon_ex Boter Boter 9266
...
...in your server.cfg or create a {mapname}.cfg file for the map u want them on.

Also:For more custom weapons use the Item Designer
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 11-10-2016 at 18:22.
DJPlaya is offline
Send a message via Skype™ to DJPlaya
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 19:01.


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