Slow Dialogue

Post » Sat Nov 17, 2012 10:22 am

Hi, I am the author of the Amazing Follower Tweaks mod. I use a giant dialogue as the menu into my mods capabilities, which has worked Okay, but recently in testing I have found that the dialogue is becoming noticiably slow. And not just my dialogue... it seems like all dialogues in the game are getting slower (though that might just be my imagination). What is for certain is that my own dialogue is slow as molassus.

So... I have a root topic Called "TweakOptions" which has 3 conditions on it... one of which being that the person you are talking too is in the CurrentFollower Faction. TweakOptions leads to 6 topics/categories (Actions, Gear, Combat, Magic, Pose, Settings) none of which have conditions and then each of those link to 10 to 30 topics which in turn activate quest script fuctions. Most of those sub topics do not have conditions either. So all together I have maybe 130... 140 topics attached to my quest, most of which, the only limiting display condition is the root level TweakOptions topic.

So I am wondering what I can do to speed up the display. Would it help if I added additional conditions to all the subtopics? I imagine behind the scenes, the game engine is building a stack somehow. If I add additional conditions (menu state) to all the subtopocs, would it help keep the stack size to a minimum and speed things up? Also, are top level topics handled in a more efficient manner than sub-topics? Would it help if I created state flags and made all of my topics top level and then determined what to display based on a few quest menu state flags? That seems like a lot of work (and I am not certain if any of these ideas would acually help). Is there something simple I can do, like mark some of the topics as "Blocking". I have read about this property, but I dont know how it is done or if the Creation Kit is already doing this for me.

Alternatively, if anyone is aware of any undocumented improvements in the message object, I would consider building a custom menu. But I already tried my hand at it once a few months back and it looked so ugly I threw the code away (only horizontal buttons, no string substitution support and all text is centered... really?).

I thank anyone who takes the time to respond in advance, even if only to confirm there is nothing much to be done.
User avatar
Paula Ramos
 
Posts: 3384
Joined: Sun Jul 16, 2006 5:43 am

Return to V - Skyrim