Barotrauma

Barotrauma

566 ratings
Press R to Reload
7
8
3
7
7
4
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
46.591 KB
Jan 24 @ 4:36am
Apr 20 @ 3:46am
26 Change Notes ( view )

Subscribe to download
Press R to Reload

Description
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.
Popular Discussions View All (1)
12
1 hour ago
PINNED: Bug Report
氧化苯
122 Comments
进击の指挥官 Apr 29 @ 5:38am 
史诗级模组!!!!
氧化苯  [author] Apr 28 @ 4:31am 
@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 Apr 27 @ 1:19pm 
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 Apr 24 @ 9:09am 
i fixed it thank u i was being stupid and didnt enable lua correctly :3
Leonardpio Apr 23 @ 7:38pm 
lo solucione, instale mal el lua jajaja , Gran mod <3
Leonardpio Apr 23 @ 10:10am 
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
氧化苯  [author] Apr 23 @ 6:22am 
@NECK YOURSELF The mod list is not missing anything. Just make sure the lua for Barotrauma is installed properly.
NECK YOURSELF Apr 23 @ 6:07am 
do i need to enable anything in game other than the ingame modlist?
氧化苯  [author] Apr 23 @ 5:33am 
@NECK YOURSELF Maybe you need to resubscribe this mod? New version indeed fixed the issue of gun enhanced revolver.
NECK YOURSELF Apr 23 @ 5:10am 
https://steamcommunity.com/sharedfiles/filedetails/?id=3468512861 thats all the mods im using maybe im just stupid or something :/