| Search this Thread |
|
|
"Lighting.txt" : How to rotate the outside shadows ??? #1 |
| Kabuto |
I would like to know which settings are use to set the outside shadows because I want rotate it for the morning and the evening ? Is it possible to expand the shadow like when the sun is down in the sky ? |
|
|
|
|
|
#2 |
|
niol
|
I'm unsure of how stable to alter the shadowing only thru the lighting.txt There're several data file with directional definitions of shadowing, the sunlight etc. Say, a single alteration on the material shader for the lighting and shadowing direction can even kill off your testing neighbourhood. defaul and custom Lot files and neighbourhood files also store directions infos. There can be more data files that may affect that, too The game exe file has been said also contain hard-coded source codes for that. Don't get discouraged tho, there may be some ways to alter them safely. To do it in a testing environment is a safer approach. Related thread linkage: lighting.txt mods: GunMod's Radiance Light System 2.1 GunMod http://www.modthesims2.com/showthread.php?t=101456 Gunmod's Radiance Light System 2.2 BETA RC1 Chocolate Pi http://www.modthesims2.com/showthread.php?t=133383 Gunmod's Radiance Light System for Seasons + half BV dDefinder @ MATY (More Awesome Than You) http://www.moreawesomethanyou.com/s....msg266720.html Lighting Mod spookymuffin @ InSIMenator.net http://www.insimenator.net/showthread.php?t=35370 Aaron's Ambiance Mod stargazer @ Gay Sims Club 2 (GCS2) http://www.gaysimsclub2.net/forums/...?showtopic=3053 lighting.txt modding threads: how to change the blue haze in nhood http://www.modthesims2.com/showthread.php?t=141616 "Lighting.txt" : How to change the sky color http://www.modthesims2.com/showthread.php?p=1718913 "Lighting.txt" : How to rotate the outside shadows http://www.modthesims2.com/showthread.php?p=1696618 night light leval http://www.modthesims2.com/showthread.php?p=1692725 |
|
|
Last edited by niol : 30th Sep 2007 at 06:05 AM.
|
|
|
#3 |
| Kabuto |
No problem, my system is slowly sinking, so that's why I can do any test I want before I reinstall all !!! My game is already fully saved ! So can you explain how set the "sunlight" parameter ? |
|
|
|
|
|
#4 |
|
niol
|
Sorry, I've to take some of the things I posted earlier back. "shadowing" does not belong to "lighting", so they're 2 different graphical components. Thus, it has nothing to do with the lighting.txt. However, the instance of neighbourhood material shader modding is valid that it can cause data corruption on the using neighbourhood files. But probably I chose some bad values . After all, I did no further experiment on that coz that wasn't the subject I was looking at.The neighbourhood files and lot files do store their own individualised orientation infos, and that's bad (Maxis should have made all those lighting and shadowing orientations for lots dependent on the lot's location in a particular neighbourhood.). For some infos about modding lot and neighbourhood file, may read here, hopefully some hints on the orientation things can be found. Yet, I suppose if the material shaders were modded, perhaps starting a new neighbourhood and new lots so that the new new files may adapt to the new settings. Anyway, here's a link to the shadowing shader here These're the areas I know of the shadowing, and there can be more. Good lucks. |
|
|
|
|
|
#5 |
| Kabuto |
Look the screenshots below ! First, it's the result of the evening settings from the Radiance Light System 2.1 by GunMod http://www.modthesims.info/download.php?t=101456 Second, it's the result of the day settings ! Third, it's the result of the morning settings from the Lighting Mod by spookymuffin http://www.moreawesomethanyou.com/s...p?topic=13778.0 So "Lighting.txt" can set the shadow orientation and size ! |
|
|
Last edited by Kabuto : 16th Jul 2010 at 10:25 PM.
|
|
|
#6 |
|
niol
|
Oh , I see.. the geometry is handled together. Gonna check them out after my medications. ![]() edited: Just realised I made fool out of myself, :embarassing: ...I opened a wrong lighting .txt to check earlier. The flu is killing me... ![]() If you want to seek out most of the shadow-related settings: 1. open the lighting.txt in a word processor like wordpad, notepad, o any other freeware text-editor. 2. press "ctrl" + "f" to get the find/search feature out. seek for keystrings like "shadow", "direction" or else. |
|
|
Last edited by niol : 3rd Jul 2007 at 10:03 AM.
|
|
|
#7 | ||
| Kabuto |
See the code of the morning settings from the Lighting Mod by spookymuffin
Code:
See the code of the evening settings from the Radiance Light System 2.1 by GunMod
Code:
|
||
|
|
|
|
|
#8 |
| Kabuto |
So iinside these settings, there are parameters which are able to change the shadow but I don't find the "shadow" and "direction" parameters that you tell me ! I try to ask some modders but GunMod is gone and spookymuffin didn't write the daybreak settings ! |
|
|
|
|
|
#9 |
|
niol
|
Kabuto, Lol, sorry I'll have to compare their scripts more to see if I can get any idea of how they modded the shadowing direction and strength. But, my present best guesses are light sky and light sun There could be (x,y,z) (R,G,B) Strength? just think of the shadow is the after-effect of the light sources. Altho they're 2 graphical components, it seems their directions and strengths have well been integrated together so that setting one will automatically set the another one. |
|
|
Last edited by niol : 10th Jul 2007 at 03:34 PM.
|
|
|
#10 |
| Kabuto |
THANK YOU VERY MUCH, you give me some helpful infos because I also want to change the sky color !!! Now I need to test it ! Again THANK YOU niol !!! |
|
|
|
|
|
#11 |
| Kabuto |
Well, about the shadow/light orientation, just by changing the x,y,z axis values ! So i set the 6am and 6pm shadow/light like this below (The EA day shadow/light looks like 4pm) : # Morning (East sunlight) light sun (-0.5, 0.05, 0.2) ... light sky (0.5, -0.05, 0.5) ... # Evening (West sunlight) light sun (0.5, -0.05, 0.2) ... light sky (-0.5, 0.05, 0.5) ... |
|
|
Last edited by Kabuto : 23rd Jul 2007 at 05:42 PM.
|
|
|
#12 |
|
niol
|
Thanks for your sharing your settings ![]() So, others interested can benefit from them, too.
|
|
|
|
|
|
#13 |
|
Night Racer
|
Im so sorry for such disgusting necro, but I figured why make a new topic when this one already exists. Im adjusting Radiance 2.4 Lighting txt to give maxis season lighting, and want to shorten the shadow length for Morning. Id like the shadows for morning to be as long as Evening, which are longer than normal day shadows, but for the life of me cant figure it out. For what I've gathered Im guessing "light sky' is shadows? But these numbers are RGB values arent they? How to I copy the shadow length from evening to morning? Here is light sky value for evening: light sky (2.8, 1.3, 2.5) (.95,.6,.5) .05 and here it is for morning: light sky (2, -1.5, .5) (.8,.6,.4) .54 #2:00 or is skylight shadows? Im so confused. |
|
|
|
![]() |

Have an opinion? Of course you do!

. After all, I did no further experiment on that coz that wasn't the subject I was looking at.

Twitter
del.icio.us
StumbleUpon
Google