quick question about cloth

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
Commander_Fett
High General
High General
Posts: 847
Joined: Fri Oct 17, 2008 9:59 pm
Projects :: No Mod project currently.

quick question about cloth

Post by Commander_Fett »

I added capes to all the units in a map, and I noticed it was laging a lot. I'm guessing I need to add in something like

Code: Select all

    SetMemoryPoolSize ("ClothData",20)
to stop the lag, but what exactly would I put for the number? Is it the number of units with cloth on the field, or something else?
User avatar
YTGTangerine
Command Sergeant Major
Command Sergeant Major
Posts: 270
Joined: Sat Aug 16, 2008 7:53 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: Aw man I can't think of anything creative...

Re: quick question about cloth

Post by YTGTangerine »

In your error log, look for where it says ClothData, raise count to at least X. Take X and multiply it by 1.15, and round up. The result is what you should raise the count to.
Post Reply