How to change the shadow color (BF2)

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
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

How to change the shadow color (BF2)

Post by modmaster13 »

Hey is there any way to change the shadow color?
Last edited by modmaster13 on Tue Mar 15, 2011 7:59 pm, edited 1 time in total.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Shadow Color?

Post by DarthD.U.C.K. »

modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Shadow Color?

Post by modmaster13 »

How 'bout in BF2?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Shadow Color?

Post by DarthD.U.C.K. »

the same otherwise i wouldnt have posted it.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Shadow Color?

Post by modmaster13 »

So I change it in the sky file?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Shadow Color?

Post by DarthD.U.C.K. »

yes
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: Shadow Color?

Post by The Nasal Abyss »

I was also curious about this; how would the passage look in the file? Would it look like this?

SunInfo()
{

ShadowColor(255.0, 255.0, 255.0);

}
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Shadow Color?

Post by modmaster13 »

Hey! I finally found out how to do it. Make an .fx file in your world1 folder and put this code inside of it:
Hidden/Spoiler:
Effect("Shadow")

{

Enable(1)
BlurEnable(0)
Intensity(0.0)

}
If you want to make it brighter/darker change "Intensity."
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: How to change the shadow color (BF2)

Post by The Nasal Abyss »

I know it's a weird topic to bump, but I have been messing with Sun Info values and none of them work in BFII. I'd love to use these to my advantage getting more out of the lighting, but none of them are working. How would I put them in my sky file?

I'm talking about the SunInfo() options posted in This thread.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: How to change the shadow color (BF2)

Post by AQT »

I'm absolutely sure that SunInfo() is obsolete in SWBF2. Lighting was originally controlled all in the .sky file in SWBF1. With SWBF2, it's all done in the .lgt file, which can be edited in ZE, of course.
Post Reply