Garry's Mod

Garry's Mod

27,532 ratings
DrGBase | Nextbot Base
29
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
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://cs2bus.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 (86)
566
11 hours ago
PINNED: Bugs
Dragoteryx
135
7 Jul @ 7:46am
PINNED: Suggestions
Dragoteryx
3
16 Jul @ 11:23am
how does "Like" relationsip work???
Ghost leviathan juvenile
2,754 Comments
roachisserie chicken  [author] 6 hours ago 
incompatible addon
HeWhoHydrates 18 hours ago 
Relationship system doesn't work at all. Nor does factions.
roachisserie chicken  [author] 24 Jul @ 6:49am 
report this to the mecha godzilla addon
PhonkMaster 24 Jul @ 12:18am 
[DrGBase | Nextbot Base] lua/entities/drgbase_nextbot/misc.lua:320: Tried to use a NULL entity!
1. Spawn - [C]:-1
2. CreateProjectile - lua/entities/drgbase_nextbot/misc.lua:320
3. callback - lua/entities/npc_drg_mechagodzilla2021.lua:936
4. callback - lua/drgbase/meta/entity.lua:114
5. unknown - lua/drgbase/modules/timer.lua:4
pls fix this
Foxtrot-22 23 Jul @ 8:51pm 
I notice a large amount of DRG entities are unable to open a lot of door types. Is there any other addon/setting I can get to allow them to break/open doors? Makes using most maps a pain, as they'll try to path through a hallway or something, slam into a door, and stick there for eternity.
roachisserie chicken  [author] 22 Jul @ 12:52pm 
what addon is erroring specifically, i assume it isn't drgbase and instead is a drg addon?
MrSandman865 22 Jul @ 5:50am 
So im getting some lua errors and it recommended I notify the creator of the content.
roachisserie chicken  [author] 22 Jul @ 4:34am 
i suspect he isn't a coder
Dead 22 Jul @ 4:00am 
@w1kt0rek_3k Yes, if it is a stair itself without the invisible ramp brushes, it would obviously causes issues with the nextbot themselves since they have a rather small step height, though keep in mind, this isn't a mod issue but more of a map issue.
The only workaround I would suggest to you is to set the step height by using the function SetStepHeight(value) during initialize, you can set the value whatever you want, but I would recommend higher than 24 as the number 24 and below is the staple stair height.
ZeroGhost 19 Jul @ 5:37pm 
For some reason, when I summon the NPCs that use these addons, they don't attack me, they just stand still.