Page 1 of 1

Which Lua Value Do I Raise?

Posted: Sun Jan 26, 2014 6:14 pm
by Lorul1
In my map, there are so many "light things" that not all of them cant be displayed.
I don't know the proper term for the "light things", but here are examples of some "light things" that wont show up in my game:
Hidden/Spoiler:
the red light around grenade
the green blast from the geonosian blasters
the lines that come from the back of my starfighters engines
the light from the starfighters engines
the light around missiles from manga guards, and blue light around clone missiles
the light around tank missile and star fighter missile
I think I need to raise some kind of value in my lua to make the lights show up but I don't know which one

May someone please tell me which lua value to raise

Re: Witch Lua Value Do I Raise?

Posted: Sun Jan 26, 2014 6:27 pm
by JimmyAngler
those are effects do you have them all attached to it?

Re: Witch Lua Value Do I Raise?

Posted: Sun Jan 26, 2014 7:19 pm
by Lorul1
Umm I think. I don't know what your referring to when you say "it" :?

Re: Witch Lua Value Do I Raise?

Posted: Sun Jan 26, 2014 7:36 pm
by JimmyAngler
well "it" would be, ........um.....say, a grenade. did you attach a trail effect for the grenade?

Re: Witch Lua Value Do I Raise?

Posted: Wed Jan 29, 2014 12:07 am
by Lorul1
Nope. It's the Grenade that came with mod tools. The Grenade has not been edited, Same gose for everything else.
Im guessing that there are just so many grenades being thrown, so many vehicles on fire, and so many lasers, some of the effects just won't show up? :sick: I'm guessing some type of Lua value I need to raise ?

Re: Which Lua Value Do I Raise?

Posted: Wed Jan 29, 2014 1:25 am
by Noobasaurus
If your map has a ton of different effects happening at once, it's a common error to see some of the effects disappear. This is seen often in Dann Boeing's maps.

I'm not sure you can fix this. You might want to tone down the number of things happening at once if that's the case.

Re: Which Lua Value Do I Raise?

Posted: Wed Jan 29, 2014 12:13 pm
by Anakin
i'm not sure, but it's possible there is a memorypool for effects. look in your bf log and search for memorypool things. if there is something about effects raise them and maybe this fix it.

Re: Which Lua Value Do I Raise?

Posted: Wed Jan 29, 2014 5:17 pm
by mswf
Yup, it seems like you're using more particles than that the default values account for. In your level .lua, try adding the following functions somewhere underneath the "level stats":

Code: Select all

-- Level Stats
[...]
SetMemoryPoolSize("ParticleEmitter", 512)
SetMemoryPoolSize("ParticleEmitterInfoData", 512)
And increasing those values.
Modern PC's should now be able to handle much more memory, but try not to go overboard with increasing the memory values because the game architecture might not be prepared for an overload of so much awesome content.