Garry's Mod

Garry's Mod

24,393 ratings
DrGBase | Nextbot Base
25
43
12
33
60
14
25
10
17
8
30
27
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://steamproxy.net/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 (71)
503
28 Sep @ 11:49pm
PINNED: Bugs
Dragoteryx
123
16 Sep @ 4:12pm
PINNED: Suggestions
Dragoteryx
88
14 Sep @ 3:55pm
PINNED: Help
Dragoteryx
2,376 Comments
fnaf from the 25th 29 Sep @ 9:46am 
what
nikitosik4687 29 Sep @ 2:28am 
fu NOT BABY CONTENT:steamfacepalm::steamthumbsdown::steamthumbsdown::steamthumbsdown::steamthumbsdown:
damanteleonard 28 Sep @ 11:47pm 
the drgbase npcs are not working anymore pls fix
флешки 28 Sep @ 8:35am 
i spawn npc from mods that i downlaod (they are DrGBase only) then my gaem freezes and if i try to press shift+tab and click on other screen my gmod takes over my screen again
Alanna/Jack!!! :3 28 Sep @ 5:35am 
Love this
roachisserie chicken  [author] 27 Sep @ 8:08am 
care to share?
jihee0272 27 Sep @ 7:58am 
ERROR
leandrocostiuc07 26 Sep @ 7:59am 
[DrGBase | Nextbot Base] NextBot [112][npc_drg_pizzatower_pepperman] Error: lua/entities/npc_drg_pizzatower_pepperman.lua:163: attempt to index upvalue 'DrawingLimit' (a nil value)

1. unknown - lua/entities/drgbase_nextbot/shared.lua:433
Kolego 20 Sep @ 10:55am 
[DrGBase | Nextbot Base] NextBot [849][drg_roach_tyrant] Error: lua/entities/drg_roach_tyrant.lua:689: Tried to use a NULL CTakeDamageInfo!

1. unknown - lua/entities/drgbase_nextbot/shared.lua:433
DogMatter04 18 Sep @ 7:20am 
I've found a weird quirk that whenever the FollowPath function is called when the bot is near a staircase, the game freezes for a bit. What can be done to circumvent this?