DrGBase | Nextbot Base

If you liked this item, please rate it up on Steam Workshop page.

Authors: roachisserie chicken, Dragoteryx

Last revision: 7 Feb at 19:33 UTC (5)

File size: 609.96 KB

On Steam Workshop

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.