I know there are programs to optimize some things in your map. But what can I, the map maker, do to help my map run more smoothly/less loading time/smaller file size etc.
Couple of things come to mind:
- Better to use multiple triggers or 1 big trigger, for things with the same event?
- Better to use a few Integer variables or 1 Integer Array?
- I read something about cliff heights?
- I see blizzard maps or maps like dota make all their heroes by editing existing ones. I tried this and found the map size increased. What are the reasons they do this?
- Is it beneificial to turn off triggers that wont be used again? Or triggers that are for spells that may not be used for whatever reasons?
- Creating units in WE then removing them in map initialization to remove the initial lag for when they enter the map, but sometimes this doesnt work for me, any ideas why?
- Other things like using points rather then using say 'center of region' or making a variable i.e. TempPlayer rather then using (Triggering Player) throughout.
My reasons for asking is my map is quite large and may have a lot of units at once, not extreme amounts but I'd like it to run as smoothly as possible. Also Ive created a save-load code for my map which needs some of these points addressed.
Thanks.
Couple of things come to mind:
- Better to use multiple triggers or 1 big trigger, for things with the same event?
- Better to use a few Integer variables or 1 Integer Array?
- I read something about cliff heights?
- I see blizzard maps or maps like dota make all their heroes by editing existing ones. I tried this and found the map size increased. What are the reasons they do this?
- Is it beneificial to turn off triggers that wont be used again? Or triggers that are for spells that may not be used for whatever reasons?
- Creating units in WE then removing them in map initialization to remove the initial lag for when they enter the map, but sometimes this doesnt work for me, any ideas why?
- Other things like using points rather then using say 'center of region' or making a variable i.e. TempPlayer rather then using (Triggering Player) throughout.
My reasons for asking is my map is quite large and may have a lot of units at once, not extreme amounts but I'd like it to run as smoothly as possible. Also Ive created a save-load code for my map which needs some of these points addressed.
Thanks.