Philip the Swaggerless Posted May 3, 2022 Report Share Posted May 3, 2022 @wraitii I was told you are the expert on this. How would you rank the various auras and technologies in terms of performance cost? Are there any other general "best practices" for modders to maintain good performance? Auras: range, player, global, formation, garrison, garrisonedUnits. Technologies Thank you 2 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 3, 2022 Report Share Posted May 3, 2022 9 hours ago, Philip the Swaggerless said: @wraitii I was told you are the expert on this. How would you rank the various auras and technologies in terms of performance cost? Are there any other general "best practices" for modders to maintain good performance? Auras: range, player, global, formation, garrison, garrisonedUnits. Technologies Thank you @vladislavbelov and @Freagarach might have information as well. 1 Quote Link to comment Share on other sites More sharing options...
Freagarach Posted May 4, 2022 Report Share Posted May 4, 2022 On 30/04/2022 at 7:57 AM, Freagarach said: (...) range aura's are "most" laggy, thereafter global auras (they're recomputed needlessly quite often) then technologies. My thoughts were these ^. 1 1 Quote Link to comment Share on other sites More sharing options...
wraitii Posted May 8, 2022 Report Share Posted May 8, 2022 Global auras and technologies are the same tech and the fastest. Auras pay a small penalty from being tied to in-game entities, but I think it's negligible compared to the cost of the modifier. Player auras are just techs I think? Single-Entity-only modifiers are about as fast so long as you only consider one entity, but you pay the cost for every entity. Garrisoned auras is probably slightly slower but kind of negligible. -- Ranged auras are much slower than all of the above, for we need to compute every turn what has possibly changed. They also add single-entity-modifiers, so you pay the cost of those on top of the raw aura calculation. 1 Quote Link to comment Share on other sites More sharing options...
Adeimantos Posted November 7, 2022 Report Share Posted November 7, 2022 I gave trees a short range aura boosting pierce armor and slowing cavalry, haven't noticed any more lag. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.