|
Modding Tutorials Information and tutorials related to modding BF2. |
|
Thread Tools | Display Modes |
2010-01-07, 02:52 | #1 |
PR:BF2 Developer
|
How to Avoid A Lot of Editor Crashes When Working With Undergrowth
If you're familiar with mapping you will find the editor likes to frequently crash the moment you start working on undergrowth, even with a decent amount of RAM. Here are some tips that can help.
Tip 1 This is particularly relevent for anyone working on a large scale map (2km+). Its basically a way of setting up/making changes to your undergrowth outside of your main map, very useful if you want to edit one of your undergrowth types or set up some new ones. All you need to do is:
NOTE: Make sure that when you load your main map in the editor in the final step you re-save you undergrowth before you try to test your map in game otherwise it won't correctly update your undergrowth atlas. Tip 2 ALWAYS save your map before you do any work on your undergrowth, then save it regularly when your working on it and save it again before you work on anything else in the map. That way you minimise the risk of losing work. Tip 3 If you've forgotten to save your undergrowth and have made other changes to the map that need saving make sure that you deselect the undergrowth the first time you save. Once you have safely saved all of your other changes run the save again and save the undergrowth separately. I hope this helps! |
|
|
Last edited by [R-DEV]Dr Rank; 2010-01-07 at 21:43..
Reason: mini update
|
2010-01-31, 05:56 | #2 |
Retired PR Developer
Join Date: Sep 2007
Posts: 4,280
United States of America
Location: Denver, Colorado
|
Re: [Map Tip] How to avoid a lot of editor crashes when working with undergrowth
Great post Dr.Rank.
I have to agree that undergrowth is the worst culprit for crashes (I think the second is roads). There's one other hint I'd like to offer that seems to help when working with undergrowth. If making changes to the density or anything that would affect currently placed undergrowth, do the following:
It seems to minimize the number of crashes and memory errors. Hope others have the same experience. |
|
|
2010-05-31, 12:56 | #3 |
Retired PR Developer
|
Re: [Map Tip] How to avoid a lot of editor crashes when working with undergrowth
Here's something interesting I found out while running the editor and watching the memory usage in Task manager - every time I did something with UG, no matter what it was, the memory usage increased.
I was tweaking UG on a 1024x2 map which initially took up 1300 Mb and as said, no matter what I did, added new type/material, changed mesh/texture, even tweaking the numbers (scale, density) increased memory usage until it got to around 1700 Mb where I got a clear memory crash error. Tweaking UG again, this time on a 256x2 map, the initial mem usage was 200Mb and again each change increased the usage, even worse it seemed to have increased exponentially - from 10Mb increases at start to over 100Mb though with initial usage I had more time to tweak UG before I hit the memory limit. I'm not sure if this is an isolated case, so anyone reading this and working with UG; monitor your memory in Task manager while working with UG and see what happens. |
|
|
Last edited by [R-DEV]Outlawz7; 2010-05-31 at 13:11..
|
2010-07-12, 03:04 | #4 |
Join Date: Jul 2009
Posts: 212
United Kingdom
Location: Cwmbran, Wales
|
Re: [Map Tip] How to avoid a lot of editor crashes when working with undergrowth
Cheers. This is driving me bonkers.
|
Who is the happier man, he who has braved the storms of life and survived; or he who has stayed firmly attached to the shore and merely existed? Second Battalion, Royal Welsh Regiment, British Army. |
|
2010-07-12, 03:52 | #5 | |
Retired PR Developer
|
Re: [Map Tip] How to avoid a lot of editor crashes when working with undergrowth
Quote:
as I said to Andy, the editor works in mysterious ways, like an evil god. But this is a great method of working with UG, working with these kind of work arounds saves you ALOT of time making maps. | |
|
||
Tags |
avoid, crashes, editor, lot, map, tip, tiphow, undergrowth, working |
|
|