安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
I found out that during v41.73 setActualWeight() function does not work on weapons or items that has a durability, so Noir's Attachments partially work. I was also planning on modding Authentic Z to add this weight reduction on attachments as well, let me know if you're planning on doing it so I won't attempt on it (if I were)
My DMs are open if you do find a fix that doesn't involve me writing a whole new hotbar to add weight reduction per item. I would gladly implement a fix to the mod. In the vanilla code, the hotbar weight reduction value was set to 0.3 (30%)in the java code, which I can't edit.
as for hotbar weight reduction, seems like based on Noir's Attachments, they made it so that upon attaching the item, The item's weight is forcefully changed based on the current backpack's weight reduction. and dividing the modified weight by 0.7(to counteract the vanilla hot bar weight reduction).
So, what I planned to do using your possible suggestion of the function that performs the attachment, was to pass a constant value to weight for everything you attach, if that is at all possible, to verify that the point-in-code is exactly the one I'm interested in. Once everything attached adds the same constant weight to your total weight, if that is at all possible, I'd try to understand how doest PZ calculate weight for containers and how does PZ determine weight reduction on your backpack so as to multiply these two and pass this as a variable instead of using the aforementioned semaphore constant.