Page 1 of 1

increasing memory pools...

Posted: Wed Jan 23, 2008 3:00 pm
by Bantha55
My mungelog says things like this:

Unable to build EntityDroideka--increase memory pool size in lua script

In the lua there are numbers in the memory pool section like this:

SetMemoryPoolSize("Aimer", 75)

Can i just increase them to a number i want or how can I increase memory pool sizes?

Re: increasing memory pools...

Posted: Wed Jan 23, 2008 3:07 pm
by Aman/Pinguin
Yes. But I'm sure everything has a limit and crashes if you increase to much...
But for your droideka add this in the walker section:

AddWalkerType(0, 5)

Re: increasing memory pools...

Posted: Wed Jan 23, 2008 3:59 pm
by Teancum
Just for your information:

AddWalkerType([pairs of legs], [number of walkers])

[pairs of legs]
0 == special instance, only used for Droidekas
1 == for any two legged walker (one pair of legs)
2 == for the spider droid and AT-AT (two pairs of legs)
3 == AT-TE (only vehicle with three pairs of legs)

I don't know if 4, 5, 6, etc work. We've never had a vehicle with that many pairs of legs.

Re: increasing memory pools...

Posted: Thu Jan 24, 2008 11:47 am
by Bantha55
I have the walker lines and they aren“t my problem. the log says increase memory pool size...

Re: increasing memory pools...

Posted: Thu Jan 24, 2008 1:39 pm
by Aman/Pinguin
Whats the exact error?

Re: increasing memory pools...

Posted: Thu Jan 24, 2008 2:37 pm
by Teancum
AddWalkerType(0, [number]) IS increasing the memory pool for Droidekas.