Hello, I made a map that is 2 Terrans vs 8 AI Zergs and in like 20 mins of gameplay the game really gets low fps ( i know there is like 1000+ units on the map ) so i wanted to know if there is anyway to optimize this, thanks!
Do you have any trigger that runs on some very fundamental events, like "ability is used" or "unit takes damage"? These are to be avoided as much as possible. If really necessary, with some Galaxy code, you can register specific units to the trigger instead of all units.
Melee - Set melee starting resources for all players
Melee - Create melee starting units for all players
Melee - Start the melee AI for all computer players
Player - Make player 1 and player 2 treat each other as Ally With Shared Vision
Player - Make player 3 and player 4 treat each other as Ally With Shared Vision
Player - Make player 3 and player 5 treat each other as Ally With Shared Vision
Player - Make player 3 and player 6 treat each other as Ally With Shared Vision
Player - Make player 3 and player 7 treat each other as Ally With Shared Vision
Player - Make player 3 and player 8 treat each other as Ally With Shared Vision
Player - Make player 3 and player 9 treat each other as Ally With Shared Vision
Player - Make player 3 and player 10 treat each other as Ally With Shared Vision
Player - Make player 4 and player 5 treat each other as Ally With Shared Vision
Player - Make player 4 and player 6 treat each other as Ally With Shared Vision
Player - Make player 4 and player 7 treat each other as Ally With Shared Vision
Player - Make player 4 and player 8 treat each other as Ally With Shared Vision
Player - Make player 4 and player 9 treat each other as Ally With Shared Vision
Player - Make player 4 and player 10 treat each other as Ally With Shared Vision
Player - Make player 5 and player 6 treat each other as Ally With Shared Vision
Player - Make player 5 and player 7 treat each other as Ally With Shared Vision
Player - Make player 5 and player 8 treat each other as Ally With Shared Vision
Player - Make player 5 and player 9 treat each other as Ally With Shared Vision
Player - Make player 5 and player 10 treat each other as Ally With Shared Vision
Player - Make player 6 and player 7 treat each other as Ally With Shared Vision
Player - Make player 6 and player 8 treat each other as Ally With Shared Vision
Player - Make player 6 and player 9 treat each other as Ally With Shared Vision
Player - Make player 6 and player 10 treat each other as Ally With Shared Vision
Player - Make player 7 and player 8 treat each other as Ally With Shared Vision
Player - Make player 7 and player 9 treat each other as Ally With Shared Vision
Player - Make player 7 and player 10 treat each other as Ally With Shared Vision
Player - Make player 8 and player 9 treat each other as Ally With Shared Vision
Player - Make player 8 and player 10 treat each other as Ally With Shared Vision
Player - Make player 9 and player 10 treat each other as Ally With Shared Vision
Hello, I made a map that is 2 Terrans vs 8 AI Zergs and in like 20 mins of gameplay the game really gets low fps ( i know there is like 1000+ units on the map ) so i wanted to know if there is anyway to optimize this, thanks!
@BlackBombs:
Do you have any trigger that runs on some very fundamental events, like "ability is used" or "unit takes damage"? These are to be avoided as much as possible. If really necessary, with some Galaxy code, you can register specific units to the trigger instead of all units.
@StragusMapster: Go
Thanks for answering man;
Well, this are my trigger actions JUST
Melee - Set melee starting resources for all players Melee - Create melee starting units for all players Melee - Start the melee AI for all computer players Player - Make player 1 and player 2 treat each other as Ally With Shared Vision Player - Make player 3 and player 4 treat each other as Ally With Shared Vision Player - Make player 3 and player 5 treat each other as Ally With Shared Vision Player - Make player 3 and player 6 treat each other as Ally With Shared Vision Player - Make player 3 and player 7 treat each other as Ally With Shared Vision Player - Make player 3 and player 8 treat each other as Ally With Shared Vision Player - Make player 3 and player 9 treat each other as Ally With Shared Vision Player - Make player 3 and player 10 treat each other as Ally With Shared Vision Player - Make player 4 and player 5 treat each other as Ally With Shared Vision Player - Make player 4 and player 6 treat each other as Ally With Shared Vision Player - Make player 4 and player 7 treat each other as Ally With Shared Vision Player - Make player 4 and player 8 treat each other as Ally With Shared Vision Player - Make player 4 and player 9 treat each other as Ally With Shared Vision Player - Make player 4 and player 10 treat each other as Ally With Shared Vision Player - Make player 5 and player 6 treat each other as Ally With Shared Vision Player - Make player 5 and player 7 treat each other as Ally With Shared Vision Player - Make player 5 and player 8 treat each other as Ally With Shared Vision Player - Make player 5 and player 9 treat each other as Ally With Shared Vision Player - Make player 5 and player 10 treat each other as Ally With Shared Vision Player - Make player 6 and player 7 treat each other as Ally With Shared Vision Player - Make player 6 and player 8 treat each other as Ally With Shared Vision Player - Make player 6 and player 9 treat each other as Ally With Shared Vision Player - Make player 6 and player 10 treat each other as Ally With Shared Vision Player - Make player 7 and player 8 treat each other as Ally With Shared Vision Player - Make player 7 and player 9 treat each other as Ally With Shared Vision Player - Make player 7 and player 10 treat each other as Ally With Shared Vision Player - Make player 8 and player 9 treat each other as Ally With Shared Vision Player - Make player 8 and player 10 treat each other as Ally With Shared Vision Player - Make player 9 and player 10 treat each other as Ally With Shared Vision
Don't see any of those u said, but if this helps
@BlackBombs:
So it's a very standard melee map you got, I don't think there's any galaxy script or data to optimize.
I don't think much can be done besides trying to lower your graphic settings, or perhaps putting less units on the map.
@StragusMapster: Go
Thanks dude, i'll be lookin up about that. maybe deactivating that action when units die may help..