Barotrauma
Оценок: 572
Press R to Reload
7
8
3
7
7
4
2
2
2
2
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
46.591 KB
24 янв в 4:36
20 апр в 3:46
Обновлений: 26 (просмотреть)

Подпишитесь, чтобы загрузить
Press R to Reload

Описание
Press R to reload your weapon!

This is a complete client mod!

If possible, please give a like to this project so that more people can see it. Thank you.

!!Client side lua is required!!
if you dont know what that means then READ THE LUA WORKSHOP PAGE carefully.

If you're playing COL (Combat Overhaul Legacy) or similar COL magazine system mods, please subscribe to this version - Press R to Reload Legacy. New version has been compatible with it.

If you're playing Guns Enhanced, we highly recommend subscribing to the compatibility patch:
Press R to Reload GE Compatible Patch, for full immersive reload animations.

What does this mod do?
When player pressed 'R', the mod checks whether the player character's left and right hands are equipped with weapons.
If neither hand is equipped with a weapon, the mod does not perform any operation.

What is the logic of automatic reloading?
The mod first checks whether the weapon's magazine is empty. If it is empty, it will try to find the appropriate items from the character's inventory and put them into the weapon's magazine.
If the weapon's magazine already has items but is not full, the mod will try to put the same items (that is, stackable items) into the magazine, or put a part of the stackable items into the magazine.



Updates
Update: (2025/1/27)
  • Now the magazine or bullets can be reloaded even if they are not in the gun's slot 0.
    Thanks to @HDC and @Diemoe
Update:(2025/1/30)
  • Fixed an issue where ammunition could not be properly reloaded during dual-wielding.
  • Fixed an issue where magazines could not be correctly installed when a flashlight or additional equipment was attached.
Update:(2025/2/2)
  • @Diemoe Refactored the code and optimized reloading performance. There should be no more stuttering now.
Update:(2025/2/6)
  • Reloading is now possible by switching between different types of ammunition magazines.
Update:(2025/2/8)
  • Empty magazines can now be stacked.
  • If the player's inventory is full, it will attempt to drop the in-chamber magazine before reloading.
Update:(2025/2/12)
  • Fixed an issue where the magazine stacking did not work in multiplayer games.
Update:(2025/3/1)
  • Optimize performance
Update:(2025/3/24)
  • Now, only ammunition can be loaded into firearms. Items like flashlights or grenades will not be inserted.
Update:(2025/4/13)
  • Compatible with multi slots ammo weapons.
Популярные обсуждения Просмотреть все (1)
12
30 апр в 21:13
ЗАКРЕПЛЕНО: Bug Report
氧化苯
Комментариев: 122
进击の指挥官 29 апр в 5:38 
史诗级模组!!!!
氧化苯  [создатель] 28 апр в 4:31 
@11qz Open "C:\Users\<User name>\AppData\Local\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\3413495302\Lua\Autorun\ReloadLua.lua" with your text editor. At line 433 where you can find "PlayerInput.KeyHit(Keys.R)". Change the "R" to what you need.
11qz 27 апр в 13:19 
Is there any way I would be able to change the keybind to a different key within a config file or something? I use a different keyboard loadout than qwerty and would greatly appreciate if there was a config file somewhere to edit it. Thanks for all the great work so far by the way!
NECK YOURSELF 24 апр в 9:09 
i fixed it thank u i was being stupid and didnt enable lua correctly :3
Leonardpio 23 апр в 19:38 
lo solucione, instale mal el lua jajaja , Gran mod <3
Leonardpio 23 апр в 10:10 
No tengo otros mods de armas habilitados, el problema que tengo es que al darle a R para recargar ,alterna entre radio y local pero no recarga el arma :D
氧化苯  [создатель] 23 апр в 6:22 
@NECK YOURSELF The mod list is not missing anything. Just make sure the lua for Barotrauma is installed properly.
NECK YOURSELF 23 апр в 6:07 
do i need to enable anything in game other than the ingame modlist?
氧化苯  [создатель] 23 апр в 5:33 
@NECK YOURSELF Maybe you need to resubscribe this mod? New version indeed fixed the issue of gun enhanced revolver.
NECK YOURSELF 23 апр в 5:10 
https://steamcommunity.com/sharedfiles/filedetails/?id=3468512861 thats all the mods im using maybe im just stupid or something :/