Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] 人物形象同模 #113

Closed
bokveizen opened this issue Dec 29, 2020 · 36 comments
Closed

[feature request] 人物形象同模 #113

bokveizen opened this issue Dec 29, 2020 · 36 comments
Labels
常见问题 这是一个常见问题,您可以参考这个问题下的答案进行解决

Comments

@bokveizen
Copy link

您是在使用中遇到了什么问题导致的您提交功能建议么?如果是,请描述您遇到的问题
常常跳出泳装大姐姐 让我感觉不适合在公共场合游玩

描述您希望的解决方案
希望能有把所有人物都变成一姬的mod

描述您希望的备选方案
变成空白也可以

备注

@bokveizen bokveizen added the enhancement New feature or request label Dec 29, 2020
@Yesterday17
Copy link
Member

你可以参考绿头鸭(

@bokveizen
Copy link
Author

你可以参考绿头鸭(

谢谢 请问是在这个目录下吗 resourcepack/mallard

@Yesterday17
Copy link
Member

是(
然后你要去 static 目录下面找 extendRes/charactor/你想修改的角色
然后把绿头鸭里的qianzhi改成对应角色的名称

@bokveizen
Copy link
Author

是(
然后你要去 static 目录下面找 extendRes/charactor/你想修改的角色
然后把绿头鸭里的qianzhi改成对应角色的名称

谢谢 原来charactor是雀魂(?还是雀P)自带的拼写错误啊 哈哈

@bokveizen
Copy link
Author

所以 from to 是可以指定对应关系 否则是同名替换 是这样吗

@Yesterday17
Copy link
Member

是(
然后你要去 static 目录下面找 extendRes/charactor/你想修改的角色
然后把绿头鸭里的qianzhi改成对应角色的名称

谢谢 原来charactor是雀魂(?还是雀P)自带的拼写错误啊 哈哈

是雀魂自带的(

@Yesterday17
Copy link
Member

所以 from to 是可以指定对应关系 否则是同名替换 是这样吗

@bokveizen
Copy link
Author

谢谢 我先去自己试着改看看 有问题再向您请教

@bokveizen
Copy link
Author

所以 from to 是可以指定对应关系 否则是同名替换 是这样吗

您好 請問怎麽加載我寫完的resource package呢

@Yesterday17
Copy link
Member

Yesterday17 commented Jan 2, 2021 via email

@bokveizen
Copy link
Author

image
image
照做了 但是好像没有用 QAQ

@Yesterday17
Copy link
Member

Yesterday17 commented Jan 2, 2021 via email

@bokveizen

This comment has been minimized.

@bokveizen
Copy link
Author

不好意思 好像是因为我注释了dependencies 现在OK了

@bokveizen
Copy link
Author

但是没有起到替换的作用 不知道什么原因 { "id": "minmodels", "version": "1.0.0", "name": "minimal models", "author": "Vezen", "description": "Converting non-yiji characters into default character", "preview": "preview.jpg", "dependencies": { "majsoul_plus": "^2.0.0" }, "replace": [ "extendRes/charactor/yiji_0/bighead.png", "extendRes/charactor/yiji_0/full.png", "extendRes/charactor/yiji_0/half.png", "extendRes/charactor/yiji_0/smallhead.png", "extendRes/charactor/yiji_0/waitingroom.png" ] }

@bokveizen
Copy link
Author

直接替换static目录下的文件倒是有效果 就是不知道是不是合法行为

@bokveizen
Copy link
Author

这是我的source package文件
minmodels.zip

@Yesterday17
Copy link
Member

Yesterday17 commented Jan 2, 2021 via email

@bokveizen
Copy link
Author

直接替换的问题在于资源更新之后就失效了,还得重新替换 bokveizen [email protected] 于2021年1月2日周六 下午10:29写道:

直接替换static目录下的文件倒是有效果 就是不知道是不是合法行为 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#113 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCEFLUKJBTOLIT4UHFNQZ3SX4UUHANCNFSM4VMUTRFQ .

是的 是不是我对路径的理解有问题 是要写绝对路径吗

@Yesterday17
Copy link
Member

image
这个是确实是这个目录结构吗(

@bokveizen
Copy link
Author

image
这个是确实是这个目录结构吗(

这个是保存之前写错了
{ "id": "minmodels", "version": "1.0.0", "name": "minimal models", "author": "Vezen", "description": "Converting non-yiji characters into default character", "preview": "preview.jpg", "dependencies": { "majsoul_plus": "^2.0.0" }, "replace": [ "extendRes/charactor/yiji_0/bighead.png", "extendRes/charactor/yiji_0/full.png", "extendRes/charactor/yiji_0/half.png", "extendRes/charactor/yiji_0/smallhead.png", "extendRes/charactor/yiji_0/waitingroom.png" ] }
事实上是这个

@Yesterday17
Copy link
Member

看起来是没什么问题...因为绿头鸭也是这么写的
现在绿头鸭还能用吗(

@Yesterday17
Copy link
Member

hmm #106

@bokveizen
Copy link
Author

那我先用替换static的方法吧 是整个模组出问题了吗

@bokveizen
Copy link
Author

是需要关注源码 src\resourcepack\manager.ts 吗

@Yesterday17
Copy link
Member

image
不对 看上去是没有问题的

@bokveizen
Copy link
Author

我开着就没用鸭
image

@bokveizen
Copy link
Author

明白了 是因为我用的繁体 好像是这样子

@bokveizen
Copy link
Author

我切成简体就有效了

@bokveizen
Copy link
Author

繁体有个chs_t父目录

@Yesterday17
Copy link
Member

神奇 我试一下

@bokveizen
Copy link
Author

image

@Yesterday17
Copy link
Member

image
现在好像可以了 你可以等一下 CI 的自动构建(

@bokveizen
Copy link
Author

image
现在好像可以了 你可以等一下 CI 的自动构建(

thanks 神速 👍👍

@bokveizen
Copy link
Author

最后一个问题 替换支持正则式吗

@Yesterday17
Copy link
Member

Yesterday17 commented Jan 2, 2021 via email

@Yesterday17 Yesterday17 added 常见问题 这是一个常见问题,您可以参考这个问题下的答案进行解决 and removed enhancement New feature or request labels Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
常见问题 这是一个常见问题,您可以参考这个问题下的答案进行解决
Projects
None yet
Development

No branches or pull requests

2 participants