Barotrauma

Barotrauma

Performance Fix
Suggestions & Feedback
1. It is now much clearer with the updated description in regards of the installation. Thanks!

2. Suggestion: could you add a short manual to your description about the debug console commands? It might be easy for you as an expert, but for someone as me who has no idea about that Lua I needed to pause the video in the comments to figure out it is possible to change the update rate midgame?

Q: Does the command affect the server or the client?

Even the hint you shared with me the otherday by using the "showperf" command was unknown to me and became invaluable. I think layman/laywoman-wise it would be great to have them mentioned.

3. Suggestion: add the video to the description as well since new subscribers will not find it otherwise. It would also serve you as a good preview video, giving the mod more attention and visibility overall. (by the time I write this it is already on page three with all the many comments - unless someone checks all from the start like I did, they will not see it)

4. Suggestion: adding Set particle limit to 0, Set lightning resolution to 0, turning off V-Sync <-> having these settings changing options coming along with your mod per default aka when a player subscribes it your mod set it for them by default since not everyone, especially new players and players with no experiences about "what is V-Sync and why does it affect performance?" might not have tried those settings changed already to improve performance.
< >
Showing 1-15 of 16 comments
Evil Factory  [developer] 2 Jan, 2022 @ 10:14am 
Originally posted by アンジェル:
1. It is now much clearer with the updated description in regards of the installation. Thanks!

2. Suggestion: could you add a short manual to your description about the debug console commands? It might be easy for you as an expert, but for someone as me who has no idea about that Lua I needed to pause the video in the comments to figure out it is possible to change the update rate midgame?

Q: Does the command affect the server or the client?

When i finish here, i'll add debug console commands that can be used, but heres the commands that can be used to update the config midgame:

reloadlua - reloads the scripts server-side
cl_reloadlua - reloads the scripts client-side
Evil Factory  [developer] 2 Jan, 2022 @ 10:18am 
Originally posted by アンジェル:
4. Suggestion: adding Set particle limit to 0, Set lightning resolution to 0, turning off V-Sync <-> having these settings changing options coming along with your mod per default aka when a player subscribes it your mod set it for them by default since not everyone, especially new players and players with no experiences about "what is V-Sync and why does it affect performance?" might not have tried those settings changed already to improve performance.

i'm not sure if this is needed, people downloading the mod probably already have tried everything they could to improve performance, so they probably already have knowledge of these settings
アンジェル 2 Jan, 2022 @ 10:23am 
Originally posted by Evil Factory:
i'm not sure if this is needed, people downloading the mod probably already have tried everything they could to improve performance, so they probably already have knowledge of these settings

That is what I tended to always think, just to be surprised by people not trying anything and expecting others doing all the job for them...

Originally posted by Evil Factory:
When i finish here, i'll add debug console commands that can be used, but heres the commands that can be used to update the config midgame:

reloadlua - reloads the scripts server-side
cl_reloadlua - reloads the scripts client-side

Sounds great! I am looking forward for your future updates!
Evil Factory  [developer] 2 Jan, 2022 @ 4:26pm 
i'm open to ideas in case someone has ideas on how to further improve the performance, i can pretty much change anything in the game with client-side lua
Yan-Metely 3 Jan, 2022 @ 12:34am 
Hello there Evil Factory, I have installed your mod to test on my host lobby yesterday. In general, the performance is perfect, my FPS is above 50 through out the period as the host. However due to the animation frame reductions, I have encountered some issues. My setting was level 2 for both client side and server side, and didn't disable shadow casting light.

1. This is a minor problem, as it is only a visual discordant. Some animations cannot run properly, e.g. my characters arm is rotating many loops sometimes repairing junkboxes, the animation is totally a chaos while laying in a bunk. These two should be easily reproduce.

And there is also something I have notice, perhaps not caused by this mod, I have found some weapons aiming animations changed, mainly their holding positions, e.g. pistol is a bit lower than the original. I used mods that may have changed this so I am not clear about this statement.

2. Following with some frustrations. I was trying to detach minerals with plasma cutter, but the animation was messed up. Normally, the cutter will aim at my aiming direction, however, I have observed that it repeatedly blink backward(the opposite direction), causing much harder to detach an ore.

3. In auto navigation, once hit keep current position, the y velocity seems messed up. It always tries to use the max positive and max negative velocity to balance the position, which resulting my sub oscillating up and down. This didn't happen before I used this mod, but I feel like this issue is not related to this mod, as there should not be any animation related factors in sub control.


My friends and I are really appreciated your mod, it has improved our game experience greatly.
Evil Factory  [developer] 3 Jan, 2022 @ 8:12am 
Originally posted by Yan-Metely:
Hello there Evil Factory, I have installed your mod to test on my host lobby yesterday. In general, the performance is perfect, my FPS is above 50 through out the period as the host. However due to the animation frame reductions, I have encountered some issues. My setting was level 2 for both client side and server side, and didn't disable shadow casting light.

1. This is a minor problem, as it is only a visual discordant. Some animations cannot run properly, e.g. my characters arm is rotating many loops sometimes repairing junkboxes, the animation is totally a chaos while laying in a bunk. These two should be easily reproduce.

And there is also something I have notice, perhaps not caused by this mod, I have found some weapons aiming animations changed, mainly their holding positions, e.g. pistol is a bit lower than the original. I used mods that may have changed this so I am not clear about this statement.

2. Following with some frustrations. I was trying to detach minerals with plasma cutter, but the animation was messed up. Normally, the cutter will aim at my aiming direction, however, I have observed that it repeatedly blink backward(the opposite direction), causing much harder to detach an ore.

3. In auto navigation, once hit keep current position, the y velocity seems messed up. It always tries to use the max positive and max negative velocity to balance the position, which resulting my sub oscillating up and down. This didn't happen before I used this mod, but I feel like this issue is not related to this mod, as there should not be any animation related factors in sub control.


My friends and I are really appreciated your mod, it has improved our game experience greatly.
Hey, most of these issues seem to be already fixed, the aiming issues and navigation issues were fixed with the last update, the only thing i could reproduce is the issue with the bunk beds, try adding these entries in both serverItemHighPriority and clientItemHighPriority: "opdeco_bunkbeds", "opdeco_bunks1", "opdeco_officechair", "opdeco_chair1", it should fix the issue with the bunk beds
Yan-Metely 3 Jan, 2022 @ 9:24am 
Originally posted by Evil Factory:
Originally posted by Yan-Metely:
Hello there Evil Factory, I have installed your mod to test on my host lobby yesterday. In general, the performance is perfect, my FPS is above 50 through out the period as the host. However due to the animation frame reductions, I have encountered some issues. My setting was level 2 for both client side and server side, and didn't disable shadow casting light.

1. This is a minor problem, as it is only a visual discordant. Some animations cannot run properly, e.g. my characters arm is rotating many loops sometimes repairing junkboxes, the animation is totally a chaos while laying in a bunk. These two should be easily reproduce.

And there is also something I have notice, perhaps not caused by this mod, I have found some weapons aiming animations changed, mainly their holding positions, e.g. pistol is a bit lower than the original. I used mods that may have changed this so I am not clear about this statement.

2. Following with some frustrations. I was trying to detach minerals with plasma cutter, but the animation was messed up. Normally, the cutter will aim at my aiming direction, however, I have observed that it repeatedly blink backward(the opposite direction), causing much harder to detach an ore.

3. In auto navigation, once hit keep current position, the y velocity seems messed up. It always tries to use the max positive and max negative velocity to balance the position, which resulting my sub oscillating up and down. This didn't happen before I used this mod, but I feel like this issue is not related to this mod, as there should not be any animation related factors in sub control.


My friends and I are really appreciated your mod, it has improved our game experience greatly.
Hey, most of these issues seem to be already fixed, the aiming issues and navigation issues were fixed with the last update, the only thing i could reproduce is the issue with the bunk beds, try adding these entries in both serverItemHighPriority and clientItemHighPriority: "opdeco_bunkbeds", "opdeco_bunks1", "opdeco_officechair", "opdeco_chair1", it should fix the issue with the bunk beds

Yes, I have noticed once I updated and reinstalled the mod.

Still, I have some questions related to this mod.
The default setting for client side is 4 and server side is 2. Can it be interpreted as a recommended setting? What does the priority for handheld items exactly do? Will the mod use a much lower update divider or totally ignore it as the vanilla update frequency?

I forgot to reedit the config file after the update, so my first run should be on default setting which had client side updatedivider 4 and HighPriorityHand true. But I still observe very significant disorientation for handheld items especial melee weapons. If I understand the principle of this mod correctly, the above setting with the priority setting should use a much higher frames than other items, which seems not the case. This prevents me from using level 4 and 3.

Perhaps an additional command line for config to set the update divider exclusively high priority items(creatures, doors, handheld items, submarine weapons, which is like the "only" object in game that moves regularly).
Yan-Metely 3 Jan, 2022 @ 9:39am 
Another thing, the bunk issue should also be applied to the hospital bed, what is the system name for it? "opdeco_hosiptalbeds"?
Evil Factory  [developer] 3 Jan, 2022 @ 9:46am 
Originally posted by Yan-Metely:
Originally posted by Evil Factory:
Hey, most of these issues seem to be already fixed, the aiming issues and navigation issues were fixed with the last update, the only thing i could reproduce is the issue with the bunk beds, try adding these entries in both serverItemHighPriority and clientItemHighPriority: "opdeco_bunkbeds", "opdeco_bunks1", "opdeco_officechair", "opdeco_chair1", it should fix the issue with the bunk beds

Yes, I have noticed once I updated and reinstalled the mod.

Still, I have some questions related to this mod.
The default setting for client side is 4 and server side is 2. Can it be interpreted as a recommended setting? What does the priority for handheld items exactly do? Will the mod use a much lower update divider or totally ignore it as the vanilla update frequency?

I forgot to reedit the config file after the update, so my first run should be on default setting which had client side updatedivider 4 and HighPriorityHand true. But I still observe very significant disorientation for handheld items especial melee weapons. If I understand the principle of this mod correctly, the above setting with the priority setting should use a much higher frames than other items, which seems not the case. This prevents me from using level 4 and 3.

Perhaps an additional command line for config to set the update divider exclusively high priority items(creatures, doors, handheld items, submarine weapons, which is like the "only" object in game that moves regularly).
high priority items and the high priority hands config makes specific items have the vanilla update rate, so they should act as normal, are you sure you updated the mod correctly? you need to update both this mod and the client-side LuaForBarotrauma
Evil Factory  [developer] 3 Jan, 2022 @ 9:46am 
Originally posted by Yan-Metely:
Another thing, the bunk issue should also be applied to the hospital bed, what is the system name for it? "opdeco_hosiptalbeds"?
the id for it is "opdeco_hospitalbed"
Yan-Metely 3 Jan, 2022 @ 10:03am 
Strange, I reinstalled everything, but the low FPS like lag was there, but I cannot reproduce it now, I didn't change anything since then. Just ignore this concern.
Evil Factory  [developer] 7 Feb, 2022 @ 11:43am 
Originally posted by AuntWolf:
The mod constantly uses disabling the LOS effect, how do I disable it? :vcdjanitor:
this mod doesn't disable LOS, you can change the LOS effect in the server setting menu
AuntWolf 7 Feb, 2022 @ 11:54am 
Originally posted by Evil Factory:
Originally posted by AuntWolf:
The mod constantly uses disabling the LOS effect, how do I disable it? :vcdjanitor:
this mod doesn't disable LOS, you can change the LOS effect in the server setting menu
Sorry to bother you for nothing :steamsad:
Jack Kellar 5 Jun, 2022 @ 2:31pm 
A manual of the common things that break and should be added to each list would indeed be useful. Assuming people know how to do things is a bad move.
Krynn 18 Dec, 2022 @ 7:25am 
Hi, can you tell me in detail what setting and how it affects the game and FPS in general, it's just that my friend crashes, and I want to fix it.
< >
Showing 1-15 of 16 comments
Per page: 1530 50