Question About Lights;

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
The Nasal Abyss
1st Lieutenant
1st Lieutenant
Posts: 428
Joined: Sun Sep 14, 2008 12:55 pm
Projects :: Currently Working on an Indie Game
Games I'm Playing :: Splatoon 2
xbox live or psn: Stm: Tight Verbage

Question About Lights;

Post by The Nasal Abyss »

(Questions at bottom)

If you need to know what I'm doing, I'll sum it up real quick; I'm basically Mega Texturing (TM) my map. Mega Texturing was a method of texturing invented by the all powerful John Carmack (you must bow now that I have mentioned the all powerful Programming God) ALL of my objects will be custom made, and every single polygon will be given unique UV space.

What this means is that I will be able to bake all of my lighting, which means being able to do complex things that the Battlefront engine could only dream of. Of course, none of this lighting will effect the players and soldiers, so I will just use Zero engine for that.

But I don't want any of this lighting to effect my objects, because that would leave everything looking very muddy and bad.

Question 1: Is there anything I can put in my mesh option files, or is there anything I can do to the lights to make them not effect objects?

Question 2: Custom ODF lights. Is there a function that I can write in that makes the light not effect objects, but only players?

Bonus Question: What is the max texture size that I can use in Battlefront without causing problems? 2048x2048? Mind you, these textures will be spread out over a big area, so drawing very small details won't play into the performance of the map.

Thanks ahead of time.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Question About Lights;

Post by Fiodis »

I can tell you right away now that too many high-size textures will overload the game's memory. 4096x4096 works, but crashes ZE. 2048x2048 works.
User avatar
The Nasal Abyss
1st Lieutenant
1st Lieutenant
Posts: 428
Joined: Sun Sep 14, 2008 12:55 pm
Projects :: Currently Working on an Indie Game
Games I'm Playing :: Splatoon 2
xbox live or psn: Stm: Tight Verbage

Re: Question About Lights;

Post by The Nasal Abyss »

Fiodis wrote:I can tell you right away now that too many high-size textures will overload the game's memory. 4096x4096 works, but crashes ZE. 2048x2048 works.
I needed to ask this question because the Zero Engine is very delicate when it comes to textures. Thanks for the answer, I'll keep memory in mind when making all of my textures and UV's.

Edit: I most likely won't be using any 2048x anyway, I was just inquiring.
Post Reply