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
How to eliminate SoldierAnimation memory pool errors
Moderator: Moderators
-
YaNkFaN
- Field Commander

- Posts: 943
- Joined: Sat Dec 13, 2008 8:17 am
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: How to never have soldier animation problems ever again
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.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
-
YaNkFaN
- Field Commander

- Posts: 943
- Joined: Sat Dec 13, 2008 8:17 am
Re: How to never have soldier animation problems ever again
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
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: How to never have soldier animation problems ever again
But...this one isn't either.
