Garry's Mod

Garry's Mod

103 ratings
Murder Bots
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Realism
File Size
Posted
Updated
4.742 MB
16 Nov, 2019 @ 10:11pm
5 Feb, 2020 @ 12:06am
4 Change Notes ( view )

Subscribe to download
Murder Bots

Description
This addon is NOT supported right now. As far as I am aware it still functions fully, but it will not be updated quickly in the event of a Garry's Mod update breaking it.

VERY IMPORTANT NOTE: These bots require PLAYER SLOTS


This addon is my own version of the existing bots for Murder. These bots are not meant to be a replacement for human players; they're supposed to be a supplement -- for instance, if you have 4 friends but wish to be in a more populated server without the toxicity or the awkwardness of random Garry's Mod players, you could just add a few bots to make the game feel just a little more full.



In-game chat commands

!addbot #
adds # bots to the server. Only works for registered superadmins.

!botmenu
opens the murder bot menu. Useful for on-the-fly configuring. Only works for registered superadmins.

In-console commands

murder_bot_quota # will attempt to ensure # player slots are filled at all times. If a player leaves then a bot is added / if a player joins a bot is removed.

murder_bot_remove_doors 0/1 if doors are becoming a serious hindrance then set this convar to 1 to remove all doors at the start of all rounds.

murder_bot_difficulty 0-100 makes the sheriff bot more accurate and quicker 'on the draw' as this value approaches 100. By default this is set to 25. Cannot go below zero but can go above.

murder_bot_nocollide 0/1 no colliding bots is a quality of life feature which easily resolves traffic jams. By default bots are set to nocollide (1). This can be set to 0 if you really like bots getting stuck on each other.


Q: Why can't I spawn bots?
A: If you are attempting to add bots in-game and you have already tried using !addbot # and the bots won't spawn, ensure you are a registered superadmin on the server. If any murder bot-related errors occur in the console, please notify me at once. If this doesn't work, then enter murder_bot_quota # into the console where # is the amount of player slots you want filled. If this doesn't work, there are no errors, and the addon is installed, then all there is left for you to do is cry.

Q: Why don't the bots move?
A: The bots require a navigation mesh to function properly. Without this, the bots are rendered immobile. If you want to generate a navmesh, you must be an in-game superadmin. In order to create a navmesh for the murder bots, look at the ground and type into the console: murder_bot_gennewnavmesh. Please note that the given command does not have an effect if entered thru a dedicated server's (not in game) console.


Add bots in-game with !addbot #
Remove/Configure bots using the custom bot ui in-game: !botmenu
Add/remove bots when necessary outside of the game thru the console command "murder_bot_quota #"
You must be in a server with available player slots in order to add bots


This murder bots addon was coded entirely by myself, with inspiration from NostalgiaRunner's own Murder Bots addon.

GitHub
https://github.com/thebigsleepjoe/Gmod-Murder-Bots
Popular Discussions View All (5)
4
3 May, 2024 @ 2:18pm
Insta death
JojoMalone
2
28 Jan @ 1:17am
Won't work
Alehead
1
11 Feb, 2022 @ 9:27pm
Suggestions
Funny Engineer
148 Comments
Scout (Jeremy) 17 Jun @ 8:01pm 
oh. sorry.
immortal man  [author] 17 Jun @ 7:57pm 
Yeah, you're pretty spot-on. I have largely stepped away from my Garry's Mod addons (Murder bots/TTT bots), barring easy maintenance due to breaking changes. Though I do still monitor comments regularly. This mod is heavily outdated anyway; I haven't worked on it in many years now.

My focus has shifted from modding other peoples' games to making my own.
Nick 17 Jun @ 1:23am 
I think someone, Or I actually asked this question before, uh, homicide is like, really complicated for bots, also this addon is retired and he is focused on TTT bots rn
Scout (Jeremy) 16 Jun @ 9:11pm 
i know that this is old but can you make a homicide verison?
immortal man  [author] 10 May @ 1:40pm 
Any map with a navmesh, which is a lot of them. Just search for maps that have 'navmesh' in their description.
Yakubian Femboy Warrior 10 May @ 9:02am 
got any good maps that have pre-made nav pathways?
immortal man  [author] 1 Aug, 2024 @ 7:03pm 
Project uploaded, check the bottom of the desc.
immortal man  [author] 1 Aug, 2024 @ 6:49pm 
Maybe a recent update broke it. I will try uploading this project to GitHub and will link in desc once I do
Bobert 1 Aug, 2024 @ 9:58am 
I have tried running the commands through server console and client console. Server console gives errors such as "IsSuperAdmin" and others. All of the commands I am running in client console (other than sv_cheats 1).

I will try downloading the addon to mess with the code, as long as I am not violating any ToS or creating any issues. Is there a repo or somewhere I can post the fix once I have it? That way anyone else having the same issue can just refer to my fix.
immortal man  [author] 31 Jul, 2024 @ 11:01pm 
It seems like you're attempting to run those commands (mine and Gmod's nav ones) through the server console, which is impossible (based on the errors).

Bots will attempt to gather loot and may not verify if it actually is in the world boundaries. This is an irritating bug for sure, but I'm not actively supporting this addon at the moment due to my lack of interest in the gamemode.

To make changes to it, you will need to use a workshop downloader. It's important to note that my old code is extremely poorly written. Anyone can use code from any one of my projects under the CC BY SA 3.0 license