Incomplete NextBot Pet Base

  • Submitted by:
  • Uploaded: 3 years ago
  • Updated: 3 years ago
  • Type: NPC
  • Downloads: 84 (0 last 7 days)
  • Views: 403 (0 last 7 days)
  • Size: 4.03 KB
  • Tags: pets, nextbot, ai, npc
Since I'm probably not going to complete this, I thought I'd release it here maybe someone will find use of it. I don't really care what you do with it, you don't even need to give me credits. Basically all the pets are based off the npc_nextbotpetbase entity, you just need to fill in the predefined values. There's a couple examples in there as well. You can press E on them to follow you, and press it again for them to stop. You may also press R on them to select them and press R again facing the location you want them to walk to. If you press R on them twice they'll toggle between running and walking.I don't have any pictures of them, so I'll just upload a picture of the code for one of the example pets.

Keep in mind, the map you use them on must have a navmesh or they'll do nothing.
You can make a simple navmesh by just typing nav_generate in singleplayer, if you want a more complete navmesh, Valve has plenty of great documentation on that

This download looks like a lua file. You need to place it in your lua folder inside the Garry's Mod folder.

You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • lua
            • autorun
              • npc_nextbotpetbase.lua
              • npc_petcrow.lua
              • npc_petdog.lua
              • npc_petfastzombie.lua
              • npc_petheadcrab.lua

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • npc_nextbotpetbase.lua
  • npc_petcrow.lua
  • npc_petdog.lua
  • npc_petfastzombie.lua
  • npc_petheadcrab.lua

BBCode:

HTML:

Social: