Garry's Mod

Garry's Mod

506 个评价
盖瑞霸业:接入AI的 NPC 对话模组 GarryLord - NPC Complex Chat Mod
2
2
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
68.481 MB
3 月 30 日 上午 1:18
8 月 14 日 下午 7:03
17 项改动说明 ( 查看 )

订阅以下载
盖瑞霸业:接入AI的 NPC 对话模组 GarryLord - NPC Complex Chat Mod

在 晦涩弗里曼 的 1 个合集中
Best of 晦涩弗里曼
14 件物品
描述


[discord.gg]

游玩之前请阅读官方指南!!!

🚀 在盖瑞霸业中成为传奇!
每个NPC会有独特的名称,阵营和性格,并能基于大量预设的文本相互交流。最酷的是,你可以为他们接入AI,体验真人般的对话交互!NPC能自主读取身份信息,实现丰富的对话体验。
⚙️快速配置指南
AI 配置
  • 前往你选择的AI平台(如OpenAI等)申请API密钥。
  • 在C键菜单里找到GarryLord,输入API密钥完成AI配置。温度参数控制AI创造力,推荐调至最大值,务必记得选择模型。
  • 对着NPC按下E键,选取首条对话。在文本框输入内容后按Enter发送。
  • 如果你想修改AI的提示词或者配音,可以通过NPC列表找到对应角色进行调整,提示词越详细越好。例如:请你扮演电影《阴间大法师》(Beetlejuice)中的经典角色“甲壳虫汁”,用他标志性的癫狂、滑稽的风格与用户互动。回答时要充满黑色幽默、喜欢插科打诨,偶尔夹杂冷笑话或对电影梗的引用(比如“说我名字三次!”)。
TTS 配置
  • 登录 Github,找到 garrylord-voice-service[github.com] 项目。
  • 点击项目页里的 Deploy 按钮,将服务部署到 Vercel 平台。
  • 等待 Vercel 部署成功后,访问生成的页面,复制主页提供的 API 地址。
  • 回到 Gmod ,将复制的 API 地址粘贴到相应设置中。现在,你就可以在 Gmod 中随心所欲地使用语音服务了,享受每月 100G 的充足带宽!
配置Player2,获取免费API
  • 在C键菜单里找到GarryLord,前往AI设置菜单,选择Player2。
  • 点击“登录Player2账号”按钮,在弹出窗口中完成登录。
  • 完成登录后,请点击“完成登录,领取 API”按钮,即可获取 API。若此步骤失败,则重复上一个步骤。
  • Player2配置完成,现在你可以和 NPC 进行对话了。Player2语音服务也会自动开启。
部分功能暂未开放,欢迎到Github[github.com]贡献代码!

加入QQ/Discord社群!

分享游戏截图、获取技术支持、反馈BUG或参与更新投票!

QQ群:1018657969
Discord:https://discord.gg/zbX7nQa8xF

成为赞助者(您的名字会显示在MOD里)

爱发电:https://ifdian.net/item/3d4cbbf2fd6011ef9db35254001e7c00
Patreon:https://www.patreon.com/obscurefreeman/shop/garrylord-sponsor-1292499

如果你喜欢这个模组,不要忘了为它点赞。

免费API由Player2[player2.game]提供支持。

PLEASE READ THIS BEFORE PLAY IT ! ! !

🚀 Become a Legend in GarryLord!
Every NPC will have a unique name, camp, and personality, and can interact with each other based on a vast pool of preset text. The coolest part? You can connect them to AI for lifelike conversational interactions! NPCs can autonomously read identity information, enabling rich dialogue experiences.
⚙️ Quick Setup Guide
AI Configuration
  • Visit your preferred AI platform (e.g., OpenAI) to apply for an API key.
  • Open the C menu, find GarryLord, and enter the API key to complete AI setup. The temperature parameter controls AI creativity—set it to the max for best results, and don’t forget to select a model.
  • Press E on an NPC and select the first dialogue option. Type your message in the text box and press Enter to send.
  • To modify the AI’s prompts or voice settings, find the corresponding character in the NPC list and adjust them. The more detailed the prompt, the better! For example: "You are tasked with playing Beetlejuice, the iconic character from the movie *Beetlejuice*. Engage with users in his signature manic, hilarious style. Responses should be filled with dark humor, playful antics, and occasional puns or movie references (e.g., 'Say my name three times!')."
TTS Configuration
  • Log in to GitHub and locate the garrylord-voice-service[github.com] project.
  • Click the Deploy button on the project page to deploy the service on Vercel.
  • Once Vercel deployment is complete, visit the generated page and copy the provided API address.
  • Return to Gmod and paste the API address into the corresponding settings. Now, you can freely use the voice service in Gmod, enjoying a generous monthly bandwidth of 100G!
Configure Player2 to get free API
  • Open the C menu, find GarryLord, go to the AI settings menu, and select Player2.
  • Click the "Login Player2 Account" button and complete the login in the pop-up window.
  • After logging in, please click the "Complete login, claim API" button to obtain the API. If this step fails, repeat the previous step.
  • Player2 configuration is complete, and now you can have conversations with the NPC. The Player2 voice service will also be automatically turned on.
Some features are still in development. Contributions are welcome on GitHub[github.com]!

Join our QQ/Discord community!

Share screenshots, get technical support, report bugs, or vote on updates!

QQ Group: 1018657969
Discord: https://discord.gg/zbX7nQa8xF

Become a sponsor (Your name will be displayed in the MOD)

ifdian:https://ifdian.net/item/3d4cbbf2fd6011ef9db35254001e7c00
Patreon:https://www.patreon.com/obscurefreeman/shop/garrylord-sponsor-1292499

If you love this mod, don’t forget to give it a thumbs-up!

The free API is powered by Player2[player2.game].
热门讨论 查看全部(1)
0
7 月 10 日 下午 2:23
Player2 API integration
WZS
175 条留言
IDKSterling 20 小时以前 
how do you get the ais to talk to eachother? they only say preset stuff to eachother
Baboon13 10 月 23 日 上午 3:59 
Kimi ai support?
MI17 10 月 19 日 上午 6:54 
@晦涩弗里曼 之前我和AI对话时,它总是会编写一大堆文本,就像在讲故事一样,但是这两天不知道为什么,AI只是在一句一句的讲,哪怕我把温度和字体限制拉高了都没用,就算给数据清理了也是一样,这算是什么奇怪的BUG吗?
晦涩弗里曼  [作者] 10 月 13 日 下午 6:49 
@Sachs·ark 你先试试player2的免费api
Sachs·ark 10 月 13 日 上午 8:22 
@晦涩弗里曼 网络通信异常:timeout was reached
晦涩弗里曼  [作者] 10 月 13 日 上午 7:08 
@Sachs·ark 给一下报错截图
Sachs·ark 10 月 13 日 上午 6:41 
为啥Gemini api不起作用?
晦涩弗里曼  [作者] 10 月 12 日 上午 1:05 
@☦XarDy☦ There won't be ollama support, because gmod block all local address.
☦XarDy☦ 10 月 12 日 上午 12:36 
ollama please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Citizen 10 月 9 日 下午 3:03 
This mod is fantastic, it would be great if we could change the default prompting of AI groups