HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Speeding Up Gameplay

02-01-2006, 12:16 AM#1
Lucavixp
Hey, I'm starting a map that's Epic sized, and my laptop isn't the best, so I was wondering what methods I could use to get the map to run faster in the WC3 engine. I don't mean WE, but actual gameplay.

Also, with turning triggers off when they're un-needed speed it up? I figured that it wouldn'thave to be checked every loop for the conditions so the map might run faster. Thanks.
02-01-2006, 12:21 AM#2
Immoralis
Avoid mass periodic events, avoid haveing a lot of units at a time.
02-01-2006, 01:52 AM#3
Murder1833
Yeah only pre-place base units, the others just create w/ triggers
and using simplified triggers is easier too
E.X.

Map Initilization

Add <This Unit> to <This Unit Group>
Add <This Unit of the same type as the other 1> to <the same unit group>
ect.
Instead use somethin like

Add <all units of this type/owned by player/in region> to <This Unit Group>

Tho I hope u already new this.
02-01-2006, 02:49 AM#4
Immoralis
simplifying triggers dont matter much
02-01-2006, 04:44 AM#5
Jacek
Make sure you don't have memory leaks
02-01-2006, 09:43 AM#6
Rao Dao Zao
Destroy triggers rather than switching them off when they're done. That alone has cleaned up one of my RPGs incredibly.
02-05-2006, 12:03 AM#7
Lucavixp
Thanks all! Though, I'd rather deactivate triggers that I might recall later :P
02-05-2006, 07:41 AM#8
Captain Griffen
I believe large waits might cause lag, as the trigger's progress has to be held in memory. Also short waits, but that would be insignificant.