This mod is no longer supported and thus no longer available. I might offer a new fixed version soon. So after I read a bit about the fps drops caused by the updates to the resource bars I tested them on my system and they indeed reduce fps fps from 50 to 20 at the beginning of the game. I am not entirely sure of how big their parts in the laggy experience is (probably it's by far not the only problem), but this is a problem that we can "fix" from our side. Somebody else already posted an idea to fix this here, but the code was old and not very user friendly. So I build a small UI mod that makes the steps configurable by which the bars and the "current" resource values update. Default is 10% of the max value. You can play with the value by changing the stepSize variable if you want. http://www.nanodesu.info/stuff/pa/mods/slowbars.zip To install unpack in your PA/media/ui/mods/ directory and edit your ui_mod_list with this addition for 'live_game': '../../mods/slowbars/live_game/slowbars.js' So I.e. my list now looks like this: Code: /* start ui_mod_list */ var global_mod_list = [ ]; var scene_mod_list = { 'connect_to_game': [ ], 'game_over': [ ], 'icon_atlas': [ ], 'live_game': [ '../../mods/keymapper/live_game/map.js', '../../mods/keymapper/live_game/keymapper.js', '../../mods/mouseswitch/live_game/mouseswitch.js', '../../mods/stats/stats.js', '../../mods/slowbars/live_game/slowbars.js' ], 'load_planet': [ ], 'lobby': [ ], 'matchmaking': [ ], 'new_game': [ ], 'server_browser': [ ], 'settings': [ ], 'special_icon_atlas': [ ], 'start': [ ], 'system_editor': [ ], 'transit': [ ] } /* end ui_mod_list */ I have taken utmost care to make this mod sustainable through future updates, so it should keep working, but of course it can still be broken by patches.
Re: [REL] Slowbars [51531] stats eh? guess you updated an old mod but can't / dont want to take the credit. Smart fooker Thanks for the others btw
Re: [REL] Slowbars [51531] It's an updated version of sneakyness unit counter. So small and meaningless I didnt care to share it.
Is there something i am missing because when i updated i no longer have any resource bars. EDIT: After reinstalling the mod and restarting the game i have the bars again.
So UI updates reduce the FPS because they trigger a memory copy of the whole screen. Since the memory copy is performed by the CPU and is more expensive the larger your screen, it can be significant on on slower CPUs with fast graphics cards and high res displays (more pixels to copy). However, I have been working on a fix for it... but it isn't quite ready. However, it works perfectly most of the time and if you want to mess around with it you can modify live_game.js to enable the fix. Just uncomment out the line: //engine.call('set_active_regions', regions_string); // disabled because its buggy. in the function self.updateActiveRegions (it is line 235 for me but my file may not match yours). What this does is restrict the memory copy to only include the 'active' regions of the ui.
Parts of the UI may appear or disappear. It didn't happen very often. If it does occur f5 (reload) should fix it.
it made raevn's unit info mod unclickable. also made cola colin's stats mod partly show when not called and not show when called.
the bars update slower in vanilla unmodded PA now too. So there are tradeoffs there. Vanilla, they update like half second. Where you see it twitch, but very fast. Not sure how slow yours updates the economy, vanilla is much faster than original TA so if it does it more slowly it could still help.
the mod can be configured for any kind of stepsize you want. I don't know if it is still necessary, all I can say is that it still works.
see here: https://forums.uberent.com/threads/reference-ui-modding-system.50277/ and here for a program that automates it: https://forums.uberent.com/threads/rel-ui-mod-manager-v1-5.50726/