Tips for Lag, Hang and Crash While Making Mission
Posted 21 July 2014 - 03:58 AM
Then, How I fix it? Simple actually. Let me write some informations before finishing this tutorial because, believe me, it is simple actually. So, when you make an actor, the memory of the PC will be taken, just a little amount of memory (bytes maybe). But, when you make an objective, the icon of that objective will be showed on the Radar (It's the circle at the bottom left of the screen with the map). Actually that's the annoying part when you make a mission. Because everytime you add actor or objective then the radar will be refreshed to show up the icons. Well, if you make like 25 objectives or more then when you make another objective your radar will be refreshed again and sometimes the icon on the world will disapear for awhile and will apear again shortly. Now, if you want to make your DYOM editor more faster when making mission then go to the option and Display Settings, and change Radar / map from Blips to become off. That solve the lag problem and even solve the crash when in-editing mode.
Now, how about hanging when in-editing mode? Actually that's just same with above. But, there are some factors that make your editing mode get hanged. For example if you add too many actors. As everybody said that the limit on DYOM is 100 for each of functions. So you can only make 100 Actors, 100 objectives, 100 Objects and also the actor's max routepoints is 100. Because when your routepoints is more than 100 then your gta will not responding.
If you ask me why there should be only 100 each max then I will answer it with simple sentence "I'm not the author of DYOM" but I don't think that this is the bug, I think it's the limitation for Memory Handling of GTA San Andreas as every engine is not perfect and has their own capability. Just the same as when your friendly actor didn't shoot enemy sometimes because it is GTA SA limitation for their AI (read: Artificial Intelligence).
So, when you want to make mission, just remember don't be gready with memory, make some space before spawning a huge number of actors and objects, make some timeout objective for mission handling and don't forget to design your mission properly.
Sorry for my English, I am Indonesian. But thanks for read my tutorial and let's make some missions!
- kk. likes this
Posted 21 July 2014 - 05:35 AM
I have a question. So let just say that spawning 20 actors at once make the game crash, how about we spawn 10 first, then make a 3 seconds timeout, then spawn 10 more, will that make the game crash?
Posted 21 July 2014 - 07:01 AM Edited by Syndrome, 21 July 2014 - 08:40 AM.
Posted 21 July 2014 - 08:24 AM
Great, once again!
That's one of the problems that bothered me the most, thanks a lot!
Posted 21 July 2014 - 08:57 AM
Yes, it's like what happening to me because you know, when I'm making a mission, I made a lot of actors, objectives and objects. It's like 80 objectives, 70 Actors, and 30 until 40 objects everytime. So yea, my game lags so hard and I don't know how to fix it.
Anyway, Thanks a lot for your tutorial!
Posted 21 July 2014 - 10:25 AM
@revolver1 that is what I do lately, because if you make first 10 actors we can debuging it by using waves method (programming phrase). So the first 10 is the first wave, 2 seconds cooldown, spawn 10 again and call it second waves. By using this you will get less chance of crash. Just remember that max of all is 100, so never make the eleventh wave if each wave is 10 actors.
@Syndrome, glad to hear that, thanks.
@Juice the Joos, Thanks, although I am late (really) to make tutorials.
@Blues2030, you looks like pro designer by using so many of the functions. Great, young spirit.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users