Garry's Mod

Garry's Mod

24,884 ratings
DrGBase | Nextbot Base
25
44
13
35
62
14
26
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://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 (73)
517
25 Nov @ 4:14am
PINNED: Bugs
Dragoteryx
127
24 Nov @ 8:57am
PINNED: Suggestions
Dragoteryx
93
24 Nov @ 9:25am
PINNED: Help
Dragoteryx
2,441 Comments
Party scout 21 hours ago 
shit why is my fnaf workshop mod not working
Party scout 21 hours ago 
evil drgbase be like:we dont support nextbots and we support npcs!!!
roachisserie chicken  [author] 24 Nov @ 4:49pm 
you seem to be using an older version of drgbase
electricalsonic349 24 Nov @ 1:56pm 
why tf do i see off brand characters
The King of Funky 24 Nov @ 1:32pm 
[DrGBase | Nextbot Base] lua/entities/drgbase_nextbot/detection.lua:205: attempt to call method 'IsAIDisabled' (a nil value)
1. HandleSound - lua/entities/drgbase_nextbot/detection.lua:205
2. fn - lua/entities/drgbase_nextbot/detection.lua:217
3. unknown - lua/ulib/shared/hook.lua:109
4. EmitSound - [C]:-1
5. unknown - lua/weapons/cw_base/shared.lua:690
6. SelectWeapon - [C]:-1
7. unknown - gamemodes/sandbox/gamemode/commands.lua:910
8. unknown - lua/includes/modules/concommand.lua:54


[DrGBase | Nextbot Base] lua/entities/drgbase_nextbot/relationships.lua:755: attempt to call method 'UpdateRelationshipWith' (a nil value)
1. callback - lua/entities/drgbase_nextbot/relationships.lua:755
2. callback - lua/drgbase/meta/entity.lua:119
3. unknown - lua/drgbase/modules/timer.lua:4

Timer Failed! [Simple][@lua/drgbase/modules/timer.lua (line 3)]

keep getting this, none of the drgbase tab npcs move or do anything
Darth Nyx 23 Nov @ 1:35pm 
cool
triplethreatttxt 23 Nov @ 7:55am 
how to make 3d drgbase nextbot in gmod plz, in youtube.
roachisserie chicken  [author] 19 Nov @ 10:38pm 
can someone who reports errors PLEASE actually paste the error they get from the problems menu
cineontario 19 Nov @ 3:37pm 
sorry the drgbase nextbot has lua errors for me can you please fix it for me.
roko711 19 Nov @ 3:30pm 
rise and shine mr freeman