Description

Did you want to see weights on your items in the inventory? Me too! So I did this small mod that allow this! Ammo included!

Preview
Inventory Weights
Post comment Comments
gobravo
gobravo - - 144 comments

Not compatible with 'Modern UI'.

Reply Good karma Bad karma+2 votes
Muchaszewski Author
Muchaszewski - - 3 comments

Any Full modification UI will probably not work with this mod.
See the Conflicts section to fix any issues yourselves. Good luck

Reply Good karma+2 votes
gobravo
gobravo - - 144 comments

The only conflict file is 'ui_inventory_16.xml'.

Reply Good karma Bad karma+2 votes
MolunSIB
MolunSIB - - 4 comments

Hi! Im take a one problem, mod show me weight = weight pack ammo * box_size, but real weight = weight pack ammo / box_size.
Чтобы было мне проще описать проблему напишу это на русском, так как я не уверен в своем английском. Дело в том, что когда я зашел в игру, он показывал массу патронов как: один патрон умножить на вес пачки патронов. Например дротики, в одной пачке 10 патрон - 0,4кг, значит 100 патрон должны весить 4кг, однако мод считает, что каждый патрон в пачке весит 0,4, таким образом выходит, что 100 патрон весят 40кг, но это не так. Я полез в utils_ui.script, но, к сожалению, не разбираюсь в структуре stalker's coding, чтобы самому это исправить.
self.weight:TextControl():SetText(round_100(weight * (cnt + ammo_cnt)) .. " " .. game.translate_string("st_kg") )
Я считаю, где идет расчёт веса необходимо добавить строчку round_100(weight * (cnt + ammo_cnt)/box_size.
Если что-то не понятно из google translate, я постараюсь перевести.
Надеюсь на помощь, спасибо!)
Happy new year!

Reply Good karma Bad karma+1 vote
MolunSIB
MolunSIB - - 4 comments

I use next mods:
MP7 Texture Fix
ajko_maskDropletsFix_v1
Death Animations 1.5.1
EFT_Aim_Rattle_1.2
Exo Servomotor Sounds
Knife-Binoc-pistol
New Mutant Parts and Meat
Remove Mutant AutoAim
Aim Shake - Subtle
EFT Footsteps Sound 1.1
EFT_jump_and_land_sfx_v1.1
PreBlowoutMurder
Work Tool
Igi Tasks 2.11h2
Arszi Task Pack [Igi Tasks]
GT Task Pack [Igi Tasks]
BaseGame Task Pack v0.3h2 [Igi Tasks]
Extended dynamic tasks 1.4
Companions X10 Health Regeneration [1.5.1]
ARSZI'S BURER OVERHAUL 1.0
ARSZI'S CONTROLLER OVERHAUL 1.1
Arszi's Mutant Bleeding v1.1
SCO3 P.1 Real Mutant Sounds
SCO3 P.2 New Outdoor Sounds
SCO3 P.3 New Underground Sounds
Patch For ArszBurContr & SoundScape
EFT Style Weapons Re-position REDUX
JSRS P.1 - Main Addon
BlindsidesReanimationPackLoner11
Patch For EFT Pos & Blindside
Patch for Blindside & JSRS
Artefact_renovation v2.1
Trader Overhaul (Main Folder)
Patch For AR & Extended Tasks
Boomsticks and Sharpsticks 23-Apr-2021_1.5.1
Patch For AR & BaS & TO
Patch For BaS & JSRS 3.6
Dark Ambient
Patch For EFT Pos & Boomsticks
Simple Autumn Retexture(светлый) v1.1
No_grass_and_lods_1.1 (low pc & winter)
InventoryWeights
patch for EFT, K-B-P,InvW

Я сам сделал патч, просто перенеся строки из вашего мода в файлы других модов. Как мне показал JSGME, только ArtefactRenovation и Knife_Binocular_Pistol-slot использует одинаковые файлы.
Но я полностью перенес ваш скрипт считающий патроны, поэтому конфликтов точно нет.

Reply Good karma Bad karma+1 vote
Muchaszewski Author
Muchaszewski - - 3 comments

Hey, Thanks for noticing the issue. I will try to fix it as you are right about that one! I knew ammo could not weigh 20-40 kilos but took it for granted :D

Reply Good karma+2 votes
MolunSIB
MolunSIB - - 4 comments

Thx for fix! I vote 10/10 for ur mod) all working

Reply Good karma Bad karma+1 vote
MolunSIB
MolunSIB - - 4 comments

And again I am, and again with a bug. In a nutshell, I have 2 flasks of water for a different number of uses. So if the first flask weighs 0.66 kg, then the total weight of all flasks is 1.33 kg, but the second flask for 3 uses weighs 1.33 kg, which in total should be 2kg, but not 1.33 kg.
If I throw out a 0.66 kg flask, and then pick it up, then the weight will already be 2.66 kg, that is 1.33 * 2

Reply Good karma Bad karma+2 votes
Muchaszewski Author
Muchaszewski - - 3 comments

Thank you for noticing! Fixed it! :)

Reply Good karma+2 votes
Guest
Guest - - 690,368 comments

to all who have any other UI and have any error with ui_inventory_16.xml. You must copy this

<weight x="-1" y="-1" width="27" height="11" stretch="1">
<texture a="200">ui_item_count_back</texture>
<text x="0" y="0" width="27" height="11" f color="ui_2" align="c" vert_align="c"/>
</weight>

and copy in all <---slots---> inventory under </highlight>

ex. :

before paste

<cell_9 x="190" y="376" width="73" height="36" stretch="1"><!--9 Detector -->
<pic stretch="1" align="c" alignment="c"/>
!!!!!!<highlight stretch="1">!!!!!
<bar x="11" y="40" width="48" height="6" horz="1" min="0" max="1" pos="0" stretch="1">
<progress stretch="1">
<texture r="142" g="149" b="149">ui_inGame2_inventory_status_bar</texture>
</progress>
</bar>
</cell_9>

after paste

<cell_9 x="190" y="376" width="73" height="36" stretch="1"><!--9 Detector -->
<pic stretch="1" align="c" alignment="c"/>
<highlight stretch="1">
<texture>ui_inGame2_detector_highlighter</texture>
!!!!!!!</highlight>!!!!!!!!
!!!!!!<weight x="-1" y="-1" width="27" height="11" stretch="1">
<texture a="200">ui_item_count_back</texture>
<text x="0" y="0" width="27" height="11" f color="ui_2" align="c" vert_align="c"/>
!!!!!</weight>!!!!!!
<bar x="11" y="40" width="48" height="6" horz="1" min="0" max="1" pos="0" stretch="1">
<progress stretch="1">
<texture r="142" g="149" b="149">ui_inGame2_inventory_status_bar</texture>
</progress>
</bar>
</cell_9>

I have Modern UI 1.0.0 and works in 100% (I have many others mods to. HD icons, Trader Overhaul etc..., etc... and WOW game still work ;))

Reply Good karma Bad karma+3 votes
malgin141285
malgin141285 - - 320 comments

это совместимо с (BaS последняя версия)?

Reply Good karma Bad karma+1 vote
GABE_OVER
GABE_OVER - - 10 comments

Hey! Love the mod and I cant imagine playing without it, that why It pains me so much that I cant find any way to merge is with Moddb.com
Whenever I merge utils_ui.script no matter which way I try copy lines it crashes game on inventory open. Any idea why or some help? 😅

Reply Good karma Bad karma+1 vote
RayGreget
RayGreget - - 21 comments

Check the comment section on Mouse Over Transfer Item page.

Reply Good karma Bad karma+1 vote
ZeD_MnizD
ZeD_MnizD - - 275 comments

1)Compatibility patch for Fixed status bar items( Moddb.com )/Патч совместимости для Fixed status bar items addon( Moddb.com )
Drive.google.com
2)Compatibility patch for Modern UI v2.0.5( Moddb.com )/Патч совместимости для Modern UI v2.0.5( Moddb.com )
Drive.google.com
Download at your own risk, I'm not responsible (but I assure you that everything works fine for me)/Скачивайте на свой страх и риск, ответственности не несу (но уверяю вас, что у меня все работает нормально)

Reply Good karma Bad karma+1 vote
Levis2000
Levis2000 - - 5 comments

Does anyone on the clean original inventory HUD also have a problem with the bars at the bottom of the screen in the center?
Their position is shifted upwards.

Reply Good karma Bad karma+2 votes
amnesiak77
amnesiak77 - - 34 comments

Hello.
Is it possible to make this so, that you could toggle "show weights" on or off with some keyboard key.
Regards.

Reply Good karma Bad karma+1 vote
uxot666
uxot666 - - 9 comments

Sad..this isn't working with Better stats addon,stats bars became displaced :/

Reply Good karma Bad karma+1 vote
lasagnalarry
lasagnalarry - - 10 comments

I made a patch for this to work alongside Shift Hover Transfer (the quick transfer) inventory mod. For some reason when one was being overwritten by the other, the losing file would lose functionality. I copied over some of the files from the utils_ui.script xml file. Simply place this after inventory weights and shift hover transfer in your mod organizer.

Drive.google.com

Reply Good karma Bad karma+1 vote
gastovskyjames
gastovskyjames - - 139 comments

I wish there was a script that make this togable with a hotkey

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: