Garry's Mod

Garry's Mod

156 ratings
ChatGPT NPCs
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
58.391 KB
Jan 19, 2024 @ 4:36am
Apr 27 @ 3:17am
5 Change Notes ( view )

Subscribe to download
ChatGPT NPCs

Description
Introducing an addon that empowers you to bring AI NPCs to life, enabling immersive conversations through the dynamic capabilities of ChatGPT and the chat. Im yet to test this in MP so there may be bugs.

How to Access your own FREE API key

For anyone who wants to use this addon for free, there is a way but with a monthly limit, but it's not to worry as it's quite high.

Login to https://openai.com website (not chatgpt) and head to this page[platform.openai.com].

There, you will select the API panel.

After that, move your mouse to the far right side to see all the options and go to the key icon that is labelled API Keys.

I recommend you create a new key, and you can call it whatever you like.

Once you have that key, you can implement it to the menu in Garry's mod, and there you go.

If you are having trouble with this, please feel free to contact for support.
-Schizophrenic


How to Use:
  1. Access the context menu (press and hold C by default).
  2. Navigate to "AI NPCs."
  3. Input the AI personality, NPC model, and API key.
  4. Click "Spawn NPC."
  5. Use /say in chat to talk to it.

Obtaining an API Key:
  1. Create an OpenAI account.
  2. Verify your account.
  3. Log into your account.
  4. Navigate to the API section.
  5. Generate a new API key.
  6. Save your API key.
  7. Top up your account with money if needed.

Later features down the line maybe
  • Multiple NPCS at once.
  • AI Remember previous messages.

Check out the Github [github.com] too if thats your thing
If you get any errors, problems or ideas, feel free to leave a comment or send me a message since this mod probably isnt fully baked yet.
Popular Discussions View All (1)
7
Mar 26 @ 9:45pm
Error
hubwee
71 Comments
PanigalePeek Apr 1 @ 2:39am 
Its outdated *****
SenjuWoo Mar 27 @ 4:17pm 
openrouter
Weathergirl Feb 10 @ 11:56am 
i've been using Groq, they say something when spawned and that's it. can't interact with them in any way
Weathergirl Feb 10 @ 11:54am 
[ChatGPT NPCs] lua/autorun/client/cl_gmodainpc.lua:201: attempt to index a nil value
1. func - lua/autorun/client/cl_gmodainpc.lua:201
2. unknown - lua/includes/extensions/net.lua:37
encrede Feb 1 @ 1:15pm 
There is no Spawn NPC button in the c menu, wat do i do
hubwee Jan 31 @ 7:58am 
"[ChatGPT NPCs] lua/autorun/client/cl_gmodainpc.lua:93: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. drawaihud - lua/autorun/client/cl_gmodainpc.lua:93
3. init - lua/autorun/client/cl_gmodainpc.lua:6
4. DoClick - gamemodes/sandbox/gamemode/spawnmenu/contextmenu.lua:224
5. unknown - lua/vgui/dlabel.lua:253"


:steamsad:
Tygermite Jan 16 @ 3:31pm 
When is the free version coming out???
не - эксперт@27.1.0.1 $  [author] Jan 2 @ 9:50pm 
Could you review the PR?
hoopbley Dec 22, 2024 @ 5:41am 
bill nye the science guy
hoopbley Dec 22, 2024 @ 5:40am 
groq openrouter