optimizations for maps with large unitcount
Posted: Fri Oct 17, 2008 12:03 pm
All my maps have large unitcounts and you know this brings allways some adverse effects like:
-the map may lagg
-the map may crash if you zoom in with a sniper rifle, bowcaster etc. (matrix error)
-effects may not show up
-too many units with too many loud sounds make the map crash (list pool error)
I searched for ways to optimize them:
-lower the sight distance in the sky file
-add SetMemoryPoolSize ("FLEffectObject::OffsetMatrix", 500) to your lua (more effects will show up but if you have REALLY HIGH unitcounts (just like me) there are although not all)
-use custom sounds that you can change like you want
You see, these aren´t perfect optimizations. Do you know other/better ones?
-the map may lagg
-the map may crash if you zoom in with a sniper rifle, bowcaster etc. (matrix error)
-effects may not show up
-too many units with too many loud sounds make the map crash (list pool error)
I searched for ways to optimize them:
-lower the sight distance in the sky file
-add SetMemoryPoolSize ("FLEffectObject::OffsetMatrix", 500) to your lua (more effects will show up but if you have REALLY HIGH unitcounts (just like me) there are although not all)
-use custom sounds that you can change like you want
You see, these aren´t perfect optimizations. Do you know other/better ones?