Garry's Mod

Garry's Mod

28,706 ratings
DrGBase | Nextbot Base
33
49
13
39
70
16
28
20
10
9
35
30
15
28
23
17
15
12
12
6
8
8
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://gtm.steamproxy.vip/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 (88)
576
25 Oct @ 2:57pm
PINNED: Bugs
Dragoteryx
137
11 hours ago
PINNED: Suggestions
Dragoteryx
102
24 Sep @ 5:44pm
PINNED: Help
Dragoteryx
2,859 Comments
Khaos 11 hours ago 
I get an error whenever trying to use the faction tool. It used to work fine, but no longer does. None of my mods seem to be the issue.

: bad argument #1 to 'insert' (table expected, got nil)
1. Insert - [C]:-1
2.Addline - lua/drgbase/dpanels.lua:22

3.DoClick - lua/weapons/gmod_tool/stools/drgbase_tool_faction.lua:23

4.unknown - lua/vgui/dlabel.lua:253
roachisserie chicken  [author] 26 Oct @ 9:17am 
it seems to be caused by "atomeveconstruct" whatever that is
gm_Redlerman16 26 Oct @ 12:11am 
found this error, fix?

[DrGBase | Nextbot Base] AddCSLuaFile: Couldn't find 'misc.lua'
1. IncludeFile - lua/autorun/drgbase.lua:78
2. unknown - lua/weapons/drgbase_atomeveconstruct.lua:25
Nyctophobia 25 Oct @ 5:31am 
it keeps saying missing.End2D after i remove an npc that uses drg base and it causes the npc to just break any reason why?
roachisserie chicken  [author] 25 Oct @ 3:41am 
never heard of this command, just use the drgbase inflict damage tool
garethwharton 25 Oct @ 1:14am 
npc_kill doesn't work on drg npc's, is there an equivalent command?
Dlrr3eo 22 Oct @ 7:41am 
my game keeps crashing when i open a mod with it enabled
愛做爱 19 Oct @ 9:03am 
Whenever I load onto a bigger map, if I use the cleanup function, an error will show "Client 0 overflowed reliable channel". But this issue won't happen in smaller maps, it's always only the bigger maps that will cause that error whenever I use the cleanup function.

I've also tried disabling every addons and re-enabling each manually to see which addons is causing the issue, and it leads to DrgBase. Does anyone else have this issue? If so, did you find any solution to it?
Diego_Diaz_HH 18 Oct @ 4:03pm 
[DrGBase | Nextbot Base] lua/entities/drgbase_nextbot/relationships.lua:524: bad argument #1 to 'upper' (string expected, got table)
1. upper - [C]:-1
2. UpdateRelationshipWith - lua/entities/drgbase_nextbot/relationships.lua:524
3. UpdateRelationships - lua/entities/drgbase_nextbot/relationships.lua:483
4. unknown - lua/entities/drgbase_nextbot/shared.lua:205
5. Spawn - [C]:-1
6. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:544
7. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:607
8. unknown - gamemodes/sandbox/gamemode/commands.lua:639
9. unknown - lua/includes/modules/concommand.lua:54

tengo el mismo problema
roachisserie chicken  [author] 17 Oct @ 2:33pm 
interesting, i'll check that out