设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 390|回复: 3
打印 上一主题 下一主题

[讨论] 关于用AI写插件

[复制链接]

Lv3.寻梦者

梦石
0
星屑
3711
在线时间
631 小时
注册时间
2012-6-17
帖子
621

MZ评测员

跳转到指定楼层
1
发表于 2026-4-30 07:19:29 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
不稳定。需要一个AI平台已经喂了RMZ的脚本框架,才会产出正常的插件。否则你校正都要费很大精力。
变得好像你为AI改BUG。

问渠那得清如许vs插件群:592798519  百鬼异闻录:887907636
为有源头活水来点击这里试玩

Lv3.寻梦者

梦石
0
星屑
3711
在线时间
631 小时
注册时间
2012-6-17
帖子
621

MZ评测员

2
 楼主| 发表于 2026-4-30 07:22:34 | 只看该作者
我试着用千问去写一个插件,实现一个初始选人的窗口。结果各种问题,这个需求的逻辑并不复杂。
但AI不管引擎的脚本框架,乱写乱造,一堆函数名看着符合框架,但并对不上。
在确认问题的方向上也很难度。

就是不稳定。运气好一遍就出了你需要的功能。运气不好一整天都在绕胡同。

问渠那得清如许vs插件群:592798519  百鬼异闻录:887907636
为有源头活水来点击这里试玩
回复 支持 反对

使用道具 举报

Lv5.捕梦者

梦石
0
星屑
41773
在线时间
5970 小时
注册时间
2006-11-10
帖子
6962
3
发表于 2026-4-30 10:02:17 | 只看该作者
本帖最后由 灯笼菜刀王 于 2026-4-30 10:35 编辑

让AI帮你写插件 X
让AI替你写插件 √

我有个朋友, 用AI写威信小游戏, 让我帮忙

我直接用XP写完整的执行脚本(毕竟XP熟练度最高嘛,笑) 就是这玩意

然后他丢给AI去改成威信小程序的执行代码, 分别使用了DS(分块搭建框架), 元宝(搞互动UI), 扣子(加功能)

花了好几天, 除了修BUG, 大部分时间都在教AI要用符合碳基生物的思考逻辑思考, 笑,  举个栗子, 旋转270-360度, 碳基生物的思考方向是顺方向转到原位, 而硅基生物是反向转270度回去... 摊手


当然, 这个旋转问题还是直接改代码更省事, 所以说AI只能替你写出大体框架, 细节要自己去调整, 否则要浪费大量时间在上面兜圈子

最后发现AI最好用的地方是搞审核认证标准这块, 我写的代码审核不让过, 丢给它改一改分分钟达成审核要求....  估计审核也是用AI吧, 用魔法打败魔法这一块



回复 支持 反对

使用道具 举报

Lv2.观梦者

梦石
0
星屑
442
在线时间
958 小时
注册时间
2021-3-24
帖子
621

MZ评测员

4
发表于 2026-4-30 11:09:38 | 只看该作者
本帖最后由 清澈淌漾 于 2026-5-1 10:31 编辑

Create an RPG Maker MZ plugin that implements an "Independent Items" system:

1. Any item, weapon, or armor with a note tag <Independent Item> becomes an independent item when obtained.
2. Each independent item instance has a unique ID starting from 10000, stored in a dedicated object in Game_System:
   {
     id: uniqueID,
     type: "item" | "weapon" | "armor",
     originalId: original database ID,
     data: { custom attributes, e.g. atk, def, gold, can be positive or negative, randomizable }
   }
3. The unique ID auto-increments for each new instance.
4. When the game encounters an item with ID >= 10000, treat it as its original item but apply its private `data` attributes.
5. Equip or use independent items should correctly apply their `data` attributes to actors, modifying stats or effects.
6. Support random attribute injection from note tags (e.g., <atk:5~10>) at instance creation.
7. Show independent items in item/weapon/armor windows using their original name and icon, optionally showing custom attributes.
8. Ensure saving and loading serializes the independent item object and ID counter.
9. Maintain standard RPG Maker functionality for stackable items, while independent items are always unique.

Include all necessary hooks in Game_Party, Game_Actor, DataManager, and Window_ItemList for seamless integration.














那你为什么不接codex呢,乱写
全家活光光~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2026-6-4 17:08

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表