Garry's Mod

Garry's Mod

29,083 ratings
DrGBase | Nextbot Base
33
50
13
40
70
16
28
20
10
36
9
30
30
15
24
18
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
611.171 KB
Nov 8, 2018 @ 7:14pm
Nov 22 @ 11:05am
130 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 (90)
596
Nov 28 @ 5:09pm
PINNED: Bugs
Dragoteryx
138
Nov 5 @ 12:46pm
PINNED: Suggestions
Dragoteryx
102
Sep 24 @ 5:44pm
PINNED: Help
Dragoteryx
2,922 Comments
Uncatable 2 hours ago 
i want the npc keep in the same size when died
roachisserie chicken  [author] 19 hours ago 
no you can still paste it, but this is a lesson to learn about understanding what it is you're copying and pasting
Eradicationfist999 20 hours ago 
Does that mean you have to write the code individually instead of pasting. That's ass.
SkeptØta Nov 30 @ 2:59am 
@roachisserie chicken can you fix the Devil May Cry 5 npcs at the very least? :<
₫κ☧⋀ϟ𐤒 Nov 29 @ 10:00am 
bro my nextbots keep finding me even tho I am hiding behind a wall, when I first got this mod, it actually worked, they could not see me untill I was in there pov, but know they can find me anywhere, I even turned off and o all the ai settings in detection, but they stilll kept finding me no matter what, I think it is broken.
roachisserie chicken  [author] Nov 28 @ 7:00am 
i am literally the reason this bug exists, because other gmod workshop devs decided to make their addons by copy pasting my code, and at the time i didn't know any better LMAO
SkeptØta Nov 28 @ 5:27am 
this is bad.... it's affecting a LOT of npcs, even roach's npcs
SkeptØta Nov 28 @ 1:39am 
oh dear...
Dragoteryx  [author] Nov 28 @ 1:38am 
This is caused by bad code in these addons, not by DrGBase itself.
The code was always wrong but until the last Gmod update it used to silently fail.
SkeptØta Nov 28 @ 1:35am 
[DrGBase | Nextbot Base] NextBot [777][drg_zeusgow3] Error: lua/entities/drg_zeusgow3.lua:4743: Tried to use a NULL CTakeDamageInfo!

1. unknown - lua/entities/drgbase_nextbot/shared.lua:432

[DrGBase | Nextbot Base] NextBot [777][drg_zeusgow3] Error: lua/entities/drg_zeusgow3.lua:4823: Tried to use a NULL CTakeDamageInfo!

1. unknown - lua/entities/drgbase_nextbot/shared.lua:432