![]() | |
| | #1 |
![]() Join Date: Mar 2008
Posts: 33
![]() | any way to make map less laggy? hello my map lags after playing it for a while any chance to fix that? |
| | |
| | #2 |
![]() Join Date: Dec 2006
Posts: 2,992
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: any way to make map less laggy? The main thing would be to remove memory leaks. If your map becomes laggy over time then it is probably memory leaks. Do you use custom scripts on your map like RemoveLocation(udg_Point) or DestroyGroup(udg_UnitGroup)? |
| | |
| | #3 |
![]() Join Date: Mar 2008
Posts: 33
![]() | Re: any way to make map less laggy? nope i dont i dont know how to either :O |
| | |
| | #4 |
![]() Join Date: Dec 2006
Posts: 2,992
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: any way to make map less laggy? Well you can always google for a formal tutorial but it's pretty much there are some left-over data after you use triggers. And they add up over time. What you do is you make variables and use those variables. And then get rid of them after the trigger ended. So instead of Code: Create Unit at Point Code: Set Point_Variable=Point Create Unit at Point_Variable RemoveLocation(udg_Point_Variable) For Region Variable you use DestroyRect(udg_NAME_OF_REGION_VARIABLE) For Unit Group Variable you use DestoryGroup(udg_GROUP_VARIABLE) For PlayerGroup you use DestroyForce(udg_FORCE_VARIABLE) Unfortunately it's very hard to tell someone in just one post. It's something where you have to read tutorials on it and then experience it yourself. |
| | |
| | #5 |
![]() Join Date: Mar 2008 Location: Bay Area
Posts: 18
![]() | Re: any way to make map less laggy? how could the memory leek from it, cause i was thinking about making a game with panther and some other map makers but do the starting stuff myself first |
| | |
| | #6 |
![]() Join Date: Dec 2006
Posts: 2,992
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: any way to make map less laggy? First, panther's skill is not very impressive, even to people who are new to the World Editor. And he is also very controlling. He would never let you run the shots. He would make you think you were but in the end, the map would probably be his own map with your name on the side. Second, memory leak is a misleading name. A better name would be "Left over data that builds over time" |
| | |
| | #7 |
![]() Join Date: Mar 2008 Location: Bay Area
Posts: 18
![]() | Re: any way to make map less laggy? well who is good at map making then and how does it build up over time |
| | |
| | #8 |
![]() Join Date: Dec 2006
Posts: 2,992
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: any way to make map less laggy? Anyone else who knows that when you install Warcraft III, the World Editor comes with it, a moron, a monkey, etc. It builds up from triggers. You may think variables are just a waste of time at this point or you might now even know what they are. Variables stores data that you can use in a map. But the point of variables are more then just that. Every time a trigger is activated. If you don't get rid of the left over data. They will pile up. |
| | |
| | #9 |
![]() Join Date: Mar 2008 Location: Bay Area
Posts: 18
![]() | Re: any way to make map less laggy? and how could you get rid of the pile up |
| | |
| | #10 |
![]() Join Date: Dec 2006
Posts: 2,992
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: any way to make map less laggy? During trigger functions. Use variables that stored the data and then after the trigger served its purpose. Delete the data on the variables. This prevents them from gathering. You delete them by using custom scripts like the ones I wrote a few posts above. |
| | |
| | #11 |
![]() Join Date: Mar 2008 Location: Bay Area
Posts: 18
![]() | Re: any way to make map less laggy? o i see, thanks but who else thats good at making maps can i talk with |
| | |
| | #12 |
![]() Join Date: Apr 2007
Posts: 2,436
![]() ![]() ![]() | Re: any way to make map less laggy? if you want to work on mapping, open editor and start messing around with it...sadly there really isn't any quick way learn, once you have specific questions, post them in the forum |
| | |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||||
| Thread | Thread Starter | Forum | Replies | Last Post | ||
| [Tutorial] King's General Guide to (spawn-based) Map-Making. | King_Leopold | Submit a Tutorial [World Editor] | 4 | 08-10-2008 01:14 AM | ||
| CRAZY-PENGUIN | World Editor Help | 3 | 05-27-2008 02:01 PM | ||
General Companion Map, Arena,...!?! | glassoctopus | Submissions Board | 14 | 02-03-2008 12:18 AM | ||
| Becoming a Friendly Mapper (Polish and Organization) | MrApples | Tutorials | 7 | 08-10-2007 05:31 PM | ||
| [Tutorial] Map Protection/Optimization | tylord | Submit a Tutorial [World Editor] | 6 | 06-13-2007 09:24 PM | ||