How to eliminate SoldierAnimation memory pool errors
Posted: Sun Mar 29, 2009 12:18 pm
I've noticed that there are a lot of new modders who always forget to fill the soldier animation pools and then the map is buggy or crashes this tutorial is simple yet effective at getting rid of soldier animation pool problems forever
Step 1
go to C:\BF2_ModTools\TEMPLATE\Common\scripts\@#$
Step 2
open up all the files that have .lua as their extension
not .lua.bak
add this line
SetMemoryPoolSize("SoldierAnimation", 800)
to every .lua right above this line
SetMemoryPoolSize ("ClothData",20)
if you can't find that line just click ctrl+f and type it in.
Now every map you make will have those lines in the .lua and you will never have to worry about soldier animation pools ever again.
(side note) this method will work for any animation pool but I don't recommend it since most animation pools are map sensitive
Step 1
go to C:\BF2_ModTools\TEMPLATE\Common\scripts\@#$
Step 2
open up all the files that have .lua as their extension
not .lua.bak
add this line
SetMemoryPoolSize("SoldierAnimation", 800)
to every .lua right above this line
SetMemoryPoolSize ("ClothData",20)
if you can't find that line just click ctrl+f and type it in.
Now every map you make will have those lines in the .lua and you will never have to worry about soldier animation pools ever again.
(side note) this method will work for any animation pool but I don't recommend it since most animation pools are map sensitive