Skip to content

An addon for Garry's Mod used to ease the creation of NPCs.

License

Notifications You must be signed in to change notification settings

Zippy6666/zbase2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

███████╗██████╗░░█████╗░░██████╗███████╗ ╚════██║██╔══██╗██╔══██╗██╔════╝██╔════╝ ░░███╔═╝██████╦╝███████║╚█████╗░█████╗░░ ██╔══╝░░██╔══██╗██╔══██║░╚═══██╗██╔══╝░░ ███████╗██████╦╝██║░░██║██████╔╝███████╗ ╚══════╝╚═════╝░╚═╝░░╚═╝╚═════╝░╚══════╝

By Zippy.

Create a ZBase addon:

Templates:

  • ZBase Dummy Addon: https://github.com/Zippy6666/zbase-dummy. Put that in your addon's folder, and go wild. It works similiarly to any other SNPC/NPC/NextBot base. NPCs are stored in "lua/zbase/entities".

Base variables and functions:

Callable functions:

Weapon base:

Projectile base

TODO:

  • Optimize spawning, death, and sound emittions
  • Clean up code
  • Improve weapon out of range behaviour (cancel forced go if in range again, or maybe if hurt?)
  • Follow/join squad stuff
    • Play follow sounds when joining squad
    • Cannot do follow when in squad
  • Improve playanimation func a bit maybe, try without scripted state
  • Fix some melee holdtypes
  • Finish the controller

About

An addon for Garry's Mod used to ease the creation of NPCs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages