Warcraft III resources & community, 2003–2006 · archived

Map Lags and I dont know why

11 posts
#1

Map Lags and I dont know why

I made a map and it laggs badly, well not really laggs but the units respond time is like 5 seconds. But the other units (NPC) move smoothly, so I have no idea why it laggs.

Can anyone help me out.

Thx
Flaming
#2
Maybe u have a trigger in ur game that has to check alot of units every x seconds in ur map. That really causes alot of lag
#3
hmm ye thats possible I ll check, thx.
#4
Still got the same weird lagg and cant figure out why here's the link to the map http://www.wc3sear.ch/?p=Maps&ID=7571 plz help me out

ps: I dont know if it laggs when played off line but it does when played online
#5
If any triggers have
a

Events
Every (x) seconds of game time


where (x) is lower than 0.50,
it will lag very badly and
delay.

Other than that, you like
just have a bad comp =P.
#6
thats not true, i use plenty of period triggers that go at 0.05 seconds and mine run smooth -- i do handle them with caution and wipe memory carefully though
#7
No its not that cuz I tried it while all periodic triggers where off then the units still delayed with walking
#8
Hmm may be you change the "constants" on time of AI 'thinking' as a default there 0.25 [as a valuable it's a "ReactionDelay" ]
#9
Hmm that could be it cuz theres lots of units but where can I chance that?
#10
FlamingNo its not that cuz I tried it while all periodic triggers where off then the units still delayed with walking


do you mean AI units? because once you have too many units the AI can't properly path everything quickly and will move a few units a certain distance then handle another group of units etc, so units walk a bit, stop, walk, stop...
u see this on tower defence maps that are made bad


afaik you can't fix this


unless you mean something else, its ambiguous what kinda problem ur having
#11
if he mean AI units,then listen:
Max AI units: 100
using pick every unit > attack target, this number will be lower by 10-15 %
using guarding constants options (guarding area + time of moving back) will improve this number by 5-10%


__________________________________
P.S. at russian forum several men say that if make a lot of groups ,12 units in each group, than AI may work properly even with 150 units !