想請問創作ui
Huchun ·
我的ui介面的數值不會隨著劇情發展變動怎麼處理
Huchun ·
我的ui介面的數值不會隨著劇情發展變動怎麼處理
格鲁曼钢铁厂 ·
先在输出文本里面输出变量的值,确认变量的值到底变了没有,如果变量的值变了,只是UI的值没变,那就检查一下UI的逻辑是否正确,如果连变量的值都没变,那可以试着用Grok 4.20或者Gemini 3.1 Pro之类的好一点的模型,要是还不行,就把变量的改变规则写进主知识库里,而不是写在变量本身的行为规则里,不过这些办法都只是改善,实际游玩过程中变量的值就是有概率会不改变,而且文本里输出的变量值和UI上显示的变量值还经常有偏差,这个我也没找到解决的办法,只能说趋势一致,偏差不大就凑活着用了,这类自然语言模型确实不擅长进行这种精确的数字逻辑运算
Yumina · Staff ·
Which model do you use. Smaller models will have this issue but stronger models are much better handling multi variables
莫一凹 ·
有时候上下文长了UI也会经常偷懒,在世界书中规定相应的条目,在变量里对接好,如果还是出现这种问题就要采用括号大法了
Addanc ·
Claude found a solution for me. Use opus expert. Give it the whole file. It can fix it. Just needs links to the yumina scenario creation docs
Yumina · Staff ·
你好,我们新出了一个在测试的插件,可以缓解这个问题。去个人界面然后拉到最下面就可以看到插件。安装上之后应该会对这个问题有所帮助
Huchun ·
好像插件會有點問題我只要安裝了就會一直報錯刪了就好了
四 ·
我也看不懂UI的更新机制,有时候直接不动了,有时候又给你更新了,条目数也卡在五条,反复检测了几次都说UI和变量均无问题
Oncin ·
make sure your ui code pointing to the right variable, and make a dedicated state commit to push the status update every turn. you can try my bot to see it in action
Oncin ·
make sure its pointing to the right variable, and as i say in another comment make a dedicated state commit to push the status update every turn. check the variable can the ai read and write to the variable
四 ·
好的谢谢,用AI助手反复检查过了。