Aboogie1 Posted September 4, 2015 Share Posted September 4, 2015 Would it be possible to create a mod, or skse plugin, which controls the timing of whatever scripts you happen to have running? It would really reduce script lag if it could prevent too many scripts from trying to run together and overloading the papyrus engine. It could set a limit of 2 or 3 scripts to be running at a given time, or a load limit on papyrus, and try to make the others wait for their turn, spread the running of scripts out more evenly. I can see how it could break things, but it would surely help with script lag. Link to comment Share on other sites More sharing options...
ElstarTomas Posted September 4, 2015 Share Posted September 4, 2015 (edited) If that is done some actions could potentially be delayed artificially. It's much better if the person that's mods the game reduces the number of scripts run/used in order for the engine to not be overloaded. Edited September 4, 2015 by ElstarTomas Link to comment Share on other sites More sharing options...
GrimyBunyip Posted September 4, 2015 Share Posted September 4, 2015 how would that help with script lag? Even if what you're asking for were possible, it sounds like it would just increase how long it takes each script to run. Link to comment Share on other sites More sharing options...
Aboogie1 Posted September 7, 2015 Author Share Posted September 7, 2015 I guess it's not really script lag I was thinking about, just camera stutter caused by script lag maybe. Link to comment Share on other sites More sharing options...
GrimyBunyip Posted September 7, 2015 Share Posted September 7, 2015 I guess it's not really script lag I was thinking about, just camera stutter caused by script lag maybe.scripts are actually restricted by the framerate. Scripts can only do so much work per frame that passes. Which already makes it pretty hard for scripts to directly affect framerate For a script to tank your framerate, it would need to do something like summon an NPC or something, since NPC's are relatively heavy art assets. Just one example. Link to comment Share on other sites More sharing options...
cdcooley Posted September 8, 2015 Share Posted September 8, 2015 The other way scripts can destroy your framerate is if you foolishly modified the various Papyrus settings in your Skyrim.INI file. Those values are set to limit Papyrus so that it can't cause problems, but if you raise the memory and various BudgetMS settings Papyrus will happily steal resources from the rest of the game. Link to comment Share on other sites More sharing options...
Recommended Posts