Garry's Mod

Garry's Mod

172 个评价
ChatGPT NPCs
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: NPC
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
75.231 KB
2024 年 1 月 19 日 上午 4:36
11 月 3 日 下午 4:10
7 项改动说明 ( 查看 )

订阅以下载
ChatGPT NPCs

描述
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.
热门讨论 查看全部(2)
9
7 月 2 日 下午 12:51
Error
Hoshimi
0
6 月 8 日 上午 9:59
I want to work this locally.
thesomewhatyou
85 条留言
Охрана Лоутаба 10 月 20 日 上午 4:07 
not works): pls fix it
Ultra instinct Martin 10 月 13 日 上午 4:28 
It would be cool if you could talk to the NPCs via headset and microphone and interact with them.
☦XarDy☦ 9 月 20 日 上午 6:33 
Даже сюда политику затянули. Сообщение "Не работает в вашем регионе" Настолько лицемерное, что становится противно
Ultra instinct Martin 9 月 11 日 上午 3:06 
Update it to GPT-5
Charmyzard 9 月 3 日 下午 5:25 
Deepseek ver?
Mr.Struct 8 月 25 日 上午 2:36 
bro this ♥♥♥♥ is crap
[RSAF] Mr. Null 8 月 3 日 上午 8:29 
Neither workshop, nor manual installation solves this problem.

[ai-npcs-gmod-master] addons/ai-npcs-gmod-master/lua/autorun/client/cl_gmodainpc.lua:124: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. drawaihud - addons/ai-npcs-gmod-master/lua/autorun/client/cl_gmodainpc.lua:124
3. init - addons/ai-npcs-gmod-master/lua/autorun/client/cl_gmodainpc.lua:8
4. DoClick - gamemodes/sandbox/gamemode/spawnmenu/contextmenu.lua:224
5. unknown - lua/vgui/dlabel.lua:253
richigh2 7 月 11 日 上午 4:14 
此留言正在等待我们的自动内容检查系统分析。在我们证实其内容无害之前(例如试图窃取信息的钓鱼站点链接),留言将暂时隐藏。
richigh2 7 月 11 日 上午 4:13 
when is the update
I Need Coffee / Zer0Hr 7 月 7 日 上午 6:23 
[ChatGPT NPCs] lua/autorun/client/cl_gmodainpc.lua:124: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. drawaihud - lua/autorun/client/cl_gmodainpc.lua:124
3. init - lua/autorun/client/cl_gmodainpc.lua:8
4. DoClick - gamemodes/sandbox/gamemode/spawnmenu/contextmenu.lua:224
5. unknown - lua/vgui/dlabel.lua:253