Garry's Mod

Garry's Mod

27,384 ratings
DrGBase | Nextbot Base
28
47
13
39
68
16
26
10
19
34
8
30
14
27
22
16
15
12
6
11
8
7
7
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
609.326 KB
8 Nov, 2018 @ 7:14pm
15 Jun @ 1:38pm
126 Change Notes ( view )

Subscribe to download
DrGBase | Nextbot Base

In 1 collection by Dragoteryx
My Awesome Addons
9 items
Description


DrGBase is built on top of the default nextbot base to add stuff that you usually have to code yourself when creating a nextbot, such as AI behaviour or a relationship system. It also comes with a built-in possession system that allows you to quickly and easily add possession to any nextbot that is made on the base. It also fixes many bugs related to nextbots and adds behaviours that aren't available in the Lua API, such as climbing.

Features:
- Line of sight (if the nextbots don't detect you they won't attack you)
- Nextbots react to sounds near them
- Easy to setup possession system
- Powerful relationship system
- NPCs will react to the nextbot's presence (works without a bullseye!)
- VJ Base and CPTBase compatibility
- Weapon support
- Works on maps with no navmesh
- Ladder and ledge climbing
- Lots and lots of helper functions

Currently working on:
- Rewriting the entire base
- Optimisation (always)

Incompatible addons:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2053559031


Q&A:
Q: How to create a nextbot using this base?
A: You can take a look at the wiki page of the base on Github, it features a template file to get you started:
https://github.com/Dragoteryx/drgbase/wiki/Template-file
However, making a nextbot still requires Lua knowledge, so if this is your first addon I'd suggest taking a look at the Gmod wiki first, and maybe trying to make a few simpler entities before making something more complex:
https://wiki.garrysmod.com/page/Beginner_Tutorial_Intro
If you have any questions relating to the base, I'll do my best to help you, however don't expect help from me for something that is not related to DrGBase.

Q: How to possess a nextbot?
A: If you are in Sandbox, you can use the possess property on the nextbot using the contextual menu. Just hover your mouse over the nextbot while holding C. You can also the Possession SWEP.

Q: I've found a bug!
A: Create a new issue on Github => https://github.com/Dragoteryx/drgbase/issues

Credits:
Dragoteryx: The code
Roach: Bug testing and suggestions

I think that's it.
Popular Discussions View All (84)
562
6 hours ago
PINNED: Bugs
Dragoteryx
135
7 Jul @ 7:46am
PINNED: Suggestions
Dragoteryx
2
24 Jun @ 3:16am
how does "Like" relationsip work???
Ghost leviathan juvenile
2,739 Comments
moab610 11 Jul @ 3:53am 
ts improved humanity
roachisserie chicken  [author] 9 Jul @ 2:36am 
yes actually! hold Q and click on the drgbase tab next to your tools, utilities, options, etc then click in the possession section
The Dreamer 8 Jul @ 9:30pm 
Is there a way to rebind the button to exit a next bot? Else i cant open doors without exiting the possession
Dead 3 Jul @ 10:05am 
Yeah, that was my second guess I suppose, I did try to fix some navmesh issues here and there, but atleast I'm glad to know it's just the map having navmeshes being wacky, seen some weird stuff like a navmesh being placed on rails.
Dragoteryx  [author] 3 Jul @ 9:48am 
that's unlikely, what's more likely is that the map you're using has a bad navmesh
Dead 3 Jul @ 5:43am 
I noticed that the mod gets updated that optimized the pathfinding, paticularly my nextbots just stand still outright, I checked with a mod that shows their pathing, and somewhat they have a strange pathing where they have to go through walls to get there.

Just out of the blue does the pathing optimization have anything to do with this?
No errors or anything, I find it funny really.

Also I was using AddPatrolPos calls for their random generic patrol.
deirdremoo 1 Jul @ 7:02am 
when a drgbase npc like slender fortress npcs try to go through a door the door glitches and lags the game so badly
lactose tolerent 30 Jun @ 5:51pm 
why is it just an error :c
roachisserie chicken  [author] 30 Jun @ 1:59pm 
it... isn't?
TebTLB 30 Jun @ 11:42am 
crazy that big city is in vanilla gmod but not this