Garry's Mod

Garry's Mod

28,911 ratings
DrGBase | Nextbot Base
33
50
13
39
70
16
28
20
10
36
9
30
30
15
23
17
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
609.600 KB
Nov 8, 2018 @ 7:14pm
Nov 15 @ 3:26am
127 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.yuanyoumao.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 (89)
585
19 hours ago
PINNED: Bugs
Dragoteryx
138
Nov 5 @ 12:46pm
PINNED: Suggestions
Dragoteryx
102
Sep 24 @ 5:44pm
PINNED: Help
Dragoteryx
2,889 Comments
roachisserie chicken  [author] 15 hours ago 
yeah they're outdated, i'm working on an update to my ones that are broken
AeonCDG 16 hours ago 
A lot of mods that use drgbase have the npcs freeze when they take damage
isaiah Nov 17 @ 11:07pm 
MINES CANT SPAWN
cool_fries Nov 16 @ 3:22pm 
how do i open doors as a nextbot? just curious because E makes me exit them
roachisserie chicken  [author] Nov 16 @ 2:48am 
i don't work on the dmc5 addon anymore, but i might be able to push a quick update while the actual creator is on hiatus
PixelTheCollie ΘΔ Nov 15 @ 1:49pm 
@Dragoteryx
Awesome Thanks
WΞSKΞR ASCENDΛNT Nov 15 @ 12:16pm 
DMC5 problem: When the character takes damage, it freezes.
WΞSKΞR ASCENDΛNT Nov 15 @ 12:05pm 
[DrGBase | Nextbot Base] NextBot [119][drg_roach_dmc5_thestorm] Error: lua/entities/drg_roach_dmc5_thestorm.lua:1940: Tried to use a NULL CTakeDamageInfo!

1. unknown - lua/entities/drgbase_nextbot/shared.lua:432 [DrGBase | Nextbot Base] NextBot [119][drg_roach_dmc5_dante] Error: lua/entities/drg_roach_dmc5_dante.lua:1466: Tried to use a NULL CTakeDamageInfo!

1. unknown - lua/entities/drgbase_nextbot/shared.lua:432 [DrGBase | Nextbot Base] NextBot [6][drg_roach_dmc5_dante_hostile] Error: lua/entities/drg_roach_dmc5_dante.lua:1466: Tried to use a NULL CTakeDamageInfo!

1. unknown - lua/entities/drgbase_nextbot/shared.lua:432
Dragoteryx  [author] Nov 15 @ 3:28am 
it should be fixed now
PixelTheCollie ΘΔ Nov 15 @ 3:07am 
https://chatgpt.com/share/69185ed9-16a4-8011-b841-20ce53d80746
i posted error and more info here, i hate ai yes, but it has its uses
see if this helps idk, sorry and thanks. GG