Garry's Mod

Garry's Mod

22,919 ratings
DrGBase | Nextbot Base
23
41
10
31
57
13
23
10
15
29
7
26
24
10
19
14
14
6
9
9
7
7
6
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
609.961 KB
Nov 8, 2018 @ 7:14pm
Feb 7 @ 11:33am
120 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 (65)
470
May 5 @ 4:30pm
PINNED: Bugs
Dragoteryx
2
May 18 @ 12:36am
he doesn't move
Winter 123
115
Apr 28 @ 9:21pm
PINNED: Suggestions
Dragoteryx
2,257 Comments
Buckmeister Flint May 19 @ 12:33pm 
Can't open/break down doors
Grumm May 15 @ 2:24pm 
[DrGBase | Nextbot Base] NextBot [1808][drg_dugho_mtfcb] Error: lua/entities/drgbase_nextbot/movements.lua:156: Tried to use a NULL entity!

1. unknown - lua/entities/drgbase_nextbot/shared.lua:433
nixongame May 15 @ 5:25am 
does anyone know how to disable in chat hp display?
Sh0rk3y May 12 @ 9:30am 
Whenever i possess an npc i just cannot move with it no matter what i press
mattvalen10 May 11 @ 5:43pm 
Hello, i've got this error and i dont know how to fix it... here i paste it

[DrGBase | Nextbot Base] NextBot [656][drg_roach_tyrant] Error: lua/entities/drg_roach_tyrant.lua:669: Tried to use a NULL CTakeDamageInfo!

1. unknown - lua/entities/drgbase_nextbot/shared.lua:433
deded6750 May 11 @ 1:16pm 
Can we have an option to only have the NPCs in the DRGbase tab and not in the normal NPC spawnmenu?
bombik May 11 @ 11:07am 
Best way to manage relations? I cant rely on faction. Something better than making my own GetEntityRelationship method?
Heisenburger May 10 @ 7:05pm 
I cant posess any of the npc's
pablitorey09 May 9 @ 3:23pm 
thanks you
roachisserie chicken  [author] May 9 @ 6:18am 
any errors?