Which Lua Value Do I Raise?

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
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Which Lua Value Do I Raise?

Post 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
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Witch Lua Value Do I Raise?

Post by JimmyAngler »

those are effects do you have them all attached to it?
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Witch Lua Value Do I Raise?

Post by Lorul1 »

Umm I think. I don't know what your referring to when you say "it" :?
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Witch Lua Value Do I Raise?

Post by JimmyAngler »

well "it" would be, ........um.....say, a grenade. did you attach a trail effect for the grenade?
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Witch Lua Value Do I Raise?

Post 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 ?
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Which Lua Value Do I Raise?

Post 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.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Which Lua Value Do I Raise?

Post 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.
mswf
Master Bounty Hunter
Master Bounty Hunter
Posts: 1674
Joined: Tue Mar 31, 2009 3:40 pm
Location: Twello, The Netherlands
Contact:

Re: Which Lua Value Do I Raise?

Post 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.
Post Reply