| 03-27-2005, 11:15 PM | #1 |
as everyone knows, WE Unlimited has a lot of cool features such as Advanced Triggers and Advanced Abilities however, both of these features take up a lot of space and most maps use only 10% of each features therefore, about 90% of the space added to the map is wasted (increasing load time, map size, and game lag) (there are 347,047 characters of code and about 400 variables added to a map for Advanced Triggers and Advanced Abilities!) Example: someone makes a map using Advanced Triggers, but only needs about 4 of the triggers now his map size has nearly doubled when it should only be increased by about 10% so I think that it would be a good idea for someone to make a map optimizer which would eliminate all of the unused code, abilities, etc created by the WEU when using Advanced Triggers, Advanced Abilites, etc i know that this would be difficult, but it should be very helpful for everyone who usesWEU |
| 03-29-2005, 02:12 PM | #2 |
JASSParse can optimize the map script in the described way that it removes unused functions and variables. You can find it in the dl section. To pull this off you'll have to extract the map script from your map and parse it with JASSParse, then reimport the new script into the map again. Do this after you have finished your map. (also delete war3map.wtg and war3map.wct then, but other optimization tools will probably do this anyway) |
