Page 1 of 1

How to eliminate SoldierAnimation memory pool errors

Posted: Sun Mar 29, 2009 12:18 pm
by YaNkFaN
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

Re: How to never have soldier animation problems ever again

Posted: Sun Mar 29, 2009 2:02 pm
by RepSharpshooter
Looks like a clever solution to future memory problems. Only problem that if someone was starting out modding, they might not know that they need to do this.

How to fix BFront2.log "SoldierAnimation" errors permanently

Posted: Sun Mar 29, 2009 2:10 pm
by AceMastermind

Re: How to never have soldier animation problems ever again

Posted: Sun Mar 29, 2009 2:13 pm
by YaNkFaN
i know that there are plenty of topics out there covering this but there wasn't one in the everything you need to know thread actually addressing it

Re: How to never have soldier animation problems ever again

Posted: Sun Mar 29, 2009 2:28 pm
by Fiodis
But...this one isn't either.