increasing memory pools...

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Bantha55
2nd Lieutenant
2nd Lieutenant
Posts: 407
Joined: Sun Jun 10, 2007 1:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

increasing memory pools...

Post 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?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: increasing memory pools...

Post 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)
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: increasing memory pools...

Post 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.
User avatar
Bantha55
2nd Lieutenant
2nd Lieutenant
Posts: 407
Joined: Sun Jun 10, 2007 1:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Re: increasing memory pools...

Post by Bantha55 »

I have the walker lines and they aren´t my problem. the log says increase memory pool size...
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: increasing memory pools...

Post by Aman/Pinguin »

Whats the exact error?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: increasing memory pools...

Post by Teancum »

AddWalkerType(0, [number]) IS increasing the memory pool for Droidekas.
Post Reply