Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
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.