Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.