Jump to content

Fix Scroll Wheel Menu tanking FPS


Recommended Posts

It's because, when you start scrolling, the game begins evaluating hundreds of sets of conditions to determine which options you should have available to you at the given moment. Some seconds later, it ceases evaluating and waits for you to start scrolling again before computing the conditions again.

The reason interaction menus are so popular vs. addAction is/was that addAction conditions are evaluated each frame, action menu conditions are evaluated once.

Trying to evaluate hundreds of sets of conditions every frame, is obviously going to decrease FPS due to massive strain on the CPU.

kryptonthegamer and Dextrix like this
Link to comment
1 hour ago, KBW said:

It's because, when you start scrolling, the game begins evaluating hundreds of sets of conditions to determine which options you should have available to you at the given moment. Some seconds later, it ceases evaluating and waits for you to start scrolling again before computing the conditions again.

The reason interaction menus are so popular vs. addAction is/was that addAction conditions are evaluated each frame, action menu conditions are evaluated once.

Trying to evaluate hundreds of sets of conditions every frame, is obviously going to decrease FPS due to massive strain on the CPU.

Wait so the 108+ (assuming more now) addActions for civilians alone is taxing on one's CPU? lol....

Link to comment
4 hours ago, Jesse said:

Wait so the 108+ (assuming more now) addActions for civilians alone is taxing on one's CPU? lol....

Well yeah, but perhaps I didn't elaborate enough on that point.

In the context of ARMA, the resources which are available to it are historically not enough. It's not taxing to the CPU as a whole, no, but in reference to the total resources available to the arma game, I will again state that evaluating 100+ SETS of conditions every single frame is too much - as is evidenced by the noteworthy decrease in framerate.

 

But uh, what can you do about it? addActions are garbage, but the Asylum is historically addAction based and isn't changing now so RIP.

Edited by KBW
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...