Garry's Mod

Garry's Mod

评价数不足
A guide to GMod Bots
由 Boomerang Monkey 制作
Welcome! In this guide i'll be showing off the various fun commands and hijinx you can do with multiplayer bots.
   
奖励
收藏
已收藏
取消收藏
1. Introduction and basics
First of all, for any of this to work, you need to be the owner of the server (This can be done by hosting a private game), and having acess to the developer console. I won't go into details of how to use the console, because i am simply lazy.

To spawn a bot, open your console and type in

bot

This spawns a bot, the maximum amount of bots you can spawn depends on server size (2 player server = 1 bot, 64 player server = 63 bots)

The bots will usually spin in circles, but they are considered players, so you can give them guns, kill them, etc.. The bots will always use the Dr.Kleiner playermodel as they are not capable of changing it.

Now let's get to the fun part!
2. Bot commands
This section will focus on commands that can be used on and with bots
they will be listed in this format
(command) - (description of what the command does)
Now let's get to it!

bot - Spawns a bot

bot_attack 0/1 - Bots act as if they constantly held their left mouse button

bot_defend 0/1 - unknown

bot_changeclass 0/1 - unknown

bot_crouch 0/1 - Forces the bots to crouch

bot_flipout 0/1 - unknown

bot_forceattack2 0/1 - Same as bot_attack but with the right mouse button

bot_forcefireweapon - Probably the same as bot_attack, unsure

bot_forceattackon 0/1 - Probably the same as bot_forcefireweapon and bot_attack??

bot_mimic 0/1 - Makes the bots mimic your movement, really fun for messing around and pretending you have an army

bot_zombie 0/1 - It is supposed to give bots zombie-like AI, but it kind of fails at doing so.

bot_sendcmd- Unsure, didin't work when i tried it

bot_mimic_yaw_offset 0-360 - Makes the bots have an offset when mimicking, for example bot_mimic_yaw_offset 180 makes the bots look at you instead of looking the way you are looking
3. Additional notes and stuff
So that was the guide and as you can probably see, a lot of the stuff was undiscovered because of my stupidity.

If you want to contribute, just tell me what command does what (from the undiscovered ones) and i'll put it in the guide.

For now, i wish everyone a nice day, currently it is 9 PM on a school night, and i am hella tired.
Bye i guess idk-
18 条留言
Alex 4 月 5 日 上午 12:08 
np
Boomerang Monkey  [作者] 4 月 5 日 上午 12:04 
Huh, thanks for the info. Very nice :steamthumbsup:
Alex 4 月 4 日 下午 7:34 
you can change their models or rename them via ULX mod
by default they are brainless yet there are gamemodes that have made them a custom AI, such as this one: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1336605119
Alex 4 月 4 日 下午 7:31 
bot_zombie is a command from CSS, used for testing navmesh, it makes bots dont do anything but react on player's actions, so it's kinda useless
source: https://csrulez.ru/topic4274.html (use translator)
other source says: Puts bots into zombie mode, causing them idle and not to attack or fire their guns.
https://totalcsgo.com/commands/botzombie
Alex 4 月 4 日 下午 7:24 
bot Add a bot.
bot_attack Shoot!
bot_changeclass Force all bots to change to the specified class.
bot_crouch Bot crouches
bot_defend Set to a team number, and that team will all keep their combat shields raised.
bot_flipout When on, all bots fire their guns.
bot_forceattack2 When firing, use attack2.
bot_forceattackon When firing, don't tap fire, hold it down.
bot_forcefireweapon Force bots with the specified weapon to fire.
bot_mimic Bot uses usercmd of player by index.
bot_mimic_yaw_offset Offsets the bot yaw.
bot_sendcmd Forces bots to send the specified command.
bot_zombie Brraaaaaiiiins
Boomerang Monkey  [作者] 2 月 21 日 上午 10:42 
Unsure tbh, i've made this guide a while ago and at this point i don't really remember. If you need more info on this topic perhaps consider looking it up on youtube or such.
󠁳 2 月 21 日 上午 1:34 
Is there any way to rename bots? From Bot1, Bot2, to something custom?
PNMCarrie7 1 月 26 日 下午 5:42 
fine.
Boomerang Monkey  [作者] 1 月 25 日 上午 8:21 
Hey, buddy Idiot 3. You can send that video as many times as you want but i am still going to delete it every time you do so.