Garry's Mod

Garry's Mod

24,738 ratings
DrGBase | Nextbot Base
25
44
13
35
62
14
25
10
18
8
30
28
27
12
20
16
15
6
10
10
7
7
6
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
610.004 KB
8 Nov, 2018 @ 7:14pm
13 Jun @ 11:14am
122 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://steamproxy.net/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 (72)
514
4 hours ago
PINNED: Bugs
Dragoteryx
125
26 Oct @ 5:44am
PINNED: Suggestions
Dragoteryx
90
25 Oct @ 2:02pm
PINNED: Help
Dragoteryx
2,418 Comments
Jax 7 hours ago 
WOWWWWWWWWWWWWWWWWWWWWW
Can you please make a good aquatic base please? we are really missing out on some good aquatic NPCs.
roachisserie chicken  [author] 9 Nov @ 7:56am 
when it says that a method is a nil value, what it means is the nextbot is trying to run a function inside its code that doesn't exist

its not likely to be caused by a conflict, its more often a case of copy pasting code without understanding it, i'd recommend you talked to whoever made the scp 096 mod for drgbase
dannixer1 8 Nov @ 7:53pm 
it might be conflicting with a pathfinding editor mod i have
dannixer1 8 Nov @ 7:53pm 
ill give an example of an error: Nextbot[696][drg_scp_096mod2.lua:467: attempt to call method 'OpenDoor' (a nil value)
dannixer1 8 Nov @ 7:50pm 
for some reason sometimes the nextbots just stop and when i check console it says something about trying to call an opendoor value or smth and it said that opendoor was a nil value
roachisserie chicken  [author] 7 Nov @ 7:24pm 
depends on the addons you're using
Space Stone 7 Nov @ 6:58pm 
crashing like crazy
roachisserie chicken  [author] 7 Nov @ 1:37pm 
its a base, you're supposed to download other addons that use this addon as a base
Scorpio 7 Nov @ 8:32am 
I don't really get how this mod works, can someone help me?