Garry's Mod

Garry's Mod

27,350 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
Nov 8, 2018 @ 7:14pm
Jun 15 @ 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://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)
561
9 hours ago
PINNED: Bugs
Dragoteryx
135
Jul 7 @ 7:46am
PINNED: Suggestions
Dragoteryx
2
Jun 24 @ 3:16am
how does "Like" relationsip work???
Ghost leviathan juvenile
2,736 Comments
Dead Jul 3 @ 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] Jul 3 @ 9:48am 
that's unlikely, what's more likely is that the map you're using has a bad navmesh
Dead Jul 3 @ 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 Jul 1 @ 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 Jun 30 @ 5:51pm 
why is it just an error :c
roachisserie chicken  [author] Jun 30 @ 1:59pm 
it... isn't?
TebTLB Jun 30 @ 11:42am 
crazy that big city is in vanilla gmod but not this
roachisserie chicken  [author] Jun 30 @ 1:12am 
the only way to mark non-navmesh things as walkable spaces is to spawn nextbots on props, they will default to non-navmesh movement, which is a simple "approach the target in a straight line" approach, there really isn't any way to translate nav-mesh movement to anything else without editing the nav-mesh
RestfulTitan99 Jun 29 @ 8:47pm 
missing files
Cyclops Jun 28 @ 3:03pm 
I know Nextbots rely on nav mesh to navaigate. I am an avid dupe builder and just started using nextbots instead of VJ Base. That being said, Nextbots fall through the floor and do not respect walls within my builds. I was just wondering if there is an addon or tool I can use to fix this issue. Something that I can maybe use to mark that the plastic at their feet is a walkable space, or even a wall that they cannot pass through. Thank you for the help!