Posted by: Flip1299 - Wednesday, June 7, 2006 12:45:38 PM
i've made a one player map for zero hour but it lags frequently. i can play any other map or mission without any lag whatsoever. the specs for the map: size: 350x350 11 scripts: 1. disabled upon success, evaluated once every second, active only in hard 2. disabled upon success, evaluated once every second, active only in normal 3. disabled upon success, evaluated once every second, active only in easy 4. disabled upon success, evaluated once every second, active in all difficulties 5. evaluated once every 10 seconds, active in all difficulties 6. evaluated once every 10 seconds, active in all difficulties 7. evaluated once every 10 seconds, active in all difficulties 8. disabled upon success, evaluated once every 10 seconds, active in all difficulties 9. disabled upon success, evaluated once every 10 seconds, active in all difficulties 10. evaluated once every 10 seconds, active in all difficulties 11. evaluated once every 10 seconds, active in all difficulties can anyone give me advice on what's causing this lag?

Posted by: Firion Corodix - Wednesday, June 7, 2006 12:52:17 PM
how does it run if you remove the scripts? also does it have alot of objects and trees?

Posted by: Flip1299 - Wednesday, June 7, 2006 1:09:13 PM
i knew i forget something... it runs fine without the scripts, but generals challenge maps have many more of them. it has quite a few objects, 60 toxin general buildings, about 20 civilian buildings, about 20 trees and 40 or so units that start on the map. but, my PC does run at full speed with 3 hard armies and they build many more buildings and units than this (the AI also uses many more scripts).

Posted by: Phe0n1x - Wednesday, June 7, 2006 1:16:11 PM
hmm, yes i think the more objects you have the more the engine will lag. i know this was the case for BFME/BFME2 i havent tried putting many objects in my generals maps. BUT it also depends on how much RAM you have and how good your video card is too.

Posted by: fleetatks - Wednesday, June 7, 2006 3:57:16 PM
having alot of different textures can lag the game too, see the official EA tutorial on 3 way blending if you put alot of textures

Posted by: Flip1299 - Thursday, June 8, 2006 4:33:31 AM
i found the problem, it was just a matter of excluding every possibility. scripts - AI has more - couldn't be them map size - generals challenge has bigger - couldn't be this textures - only 2 - couldn't be this units - 140, less than 4 hard armies would build - possible but unlikely river - have been known to cause lag - We have a winner! i removed the river and used some water that runs under the entire map to make it. the lag stopped. now i can finish it and find someone to rate it. EDIT: BTW thanks for all the help everyone!

Posted by: krit - Thursday, June 8, 2006 5:12:22 AM
Another cause of lag: AI trying to bring it's units to unreachable areas...