Forum > Level Design
[QUESTION] Dark nights in Warcraft?
<< < (2/2)
Nic:
Does nobody has an answere?
stoneharry:
--- Quote from: "Nic" ---Does nobody has an answere? --- End quote ---
I think he explains what you need to do here:
--- Quote ---LightFloatBand.dbc containes light intenses according to time for collums, see link But there are some missing things. For example I want to change params for light type 12 (normal light in azeroth) first multiply 12 by 6 that means 72. That means I will work with rows 67-72. The first row (67) is ambient/sollar intense, the scale is weird just try set it 22:00 - 4:00 (10 pm to 4am) on zero intense. That means for this time there will be no ambient/sollar lightning (absolute dark) You need to know that, if light is 20:00 (8pm) on 10000 it will be decreased lineary to 0 over 2 hours (that means in 21:00 (9pm) it will be 5000 etc. The second row (6 is around character light in relative (0-1) and time. That means if you dont set on 0 in night time there will be light around character and will illuminate everything near. --- End quote ---
Now experiment with that DBC with different values.
The thing I found very interesting was:
--- Quote ---That means if you dont set on 0 in night time there will be light around character and will illuminate everything near. --- End quote ---
This means you could create an effect similar to how Blizzard originally wanted Duskwood, so that you can't see very far and torches light up everything near by (sort of thing).
http://www.pxr.dk/wowdev/wiki/index.php ... atBand.dbc
I tried to read this thread as "Dark Knights" for the first 3 times for some reason. @_@
Corvus:
Hi. If you are french, check Mc-revolution's forum : Tutoriel > Divers > "Changer les couleurs du ciel et d'ambiance d'une zone" (im not allowed to post links for the moment sorry :D). Very detailed explanations. If you are not, you most know that ambient color can be changed in LightIntBand.dbc. Every entry in Light.dbc is associated with 18 LightIntBand.dbc entries :
Light ID x 18 - 17 = LightIntBand rows associated
Then, follow stoneharry's link (lightintband wow dev), you just have to change what you want, .
I dont know if that helps you, but it's a bit complicated to explain.
EDIT : The most important thing to change is row 0 Global diffuse light and row 1 Global ambient light in LightIntBand. You can set you own color, but you have to write the hexa number (dont know if we can call it that way in english).
Nic:
Sorry that i revive this old thread but i do not understand what i must change to get dark nights. I dont want darkness in azeroth but i want that the nights are a little bit darker. I know that all light spots are in the Light.dbc and the LightIntBand.dbc defines the ambience values, but i dont understand the dbc and so i dont know which columns i must change.
@Corvus Sorry iam not french, but i found your tutorial. I try to translate and understand it, but the author forgot screenshots at the end of his tutorial and so i dont understand the importent part.
Rangorn:
hey, i'm currently trying to do some dark mod on cataclysm.
I hope this will help you with LightIntBand.
You have 34 column. Column 1 : ID Colmun 2 : Number of hours Column 3-18 : Time 1, Time 2, Time 3......., Time 16 Column 19-34 : Value 1, Value 2, Value 3...... Value 16
Time 1 is for value 1 Time 12 is for value 12 Time 7 is for value 7 etc etc......
In column 2, you choose how many hours you want to set, In fact, it never goes above 6.
Time Values from 0 to 2880 where each number represents a half minute from midnight to midnight. For exemple : 0h00 => 0 3h00 => 360 ((360*30)/3600) 6h00 => 720 ((720*30)/3600) 12h00 => 1440
(If you choose 6, you have to edit time 1 2 3 4 5 6, values 1 2 3 4 5 6, don't give a fuck about other columns)
For Values now, these are the actual values that correspond with the time value and are a BGRX color value You should use some color hexa converter.
Now ! Lines.... Each line represents something different There is 18 rows corresponding to every ID so take the ID*18 to get the proper start ID to look at it and the next 17 rows after it go along with it as well
To get the right ID out from .Light.dbc (skyParam) you need to calculate it the following way: idLightIntBand = lightEntry.skyParam * 18 - 17
For example, i create a new light, with PARAMSID = 100 100*18 -17 = 1783 100*18 = 1800
1783 is the line 1 and 1800 is the line 18 http://www.pxr.dk/wowdev/wiki/index.php ... ntBand.dbc
Now i don't agree with the wiki, especially for the ambiant et diffuse light In my mind ambiant is the first line and diffuse is the second.
Now, somes explications : Line 1 : Ambiant Light Line 2 : Diffuse Light
The Main settings, this defines the light environment in your area I can't really explain this :s
Line 3 Sky color 0 (top) Line 4 Sky color 1 (middle) Line 5 Sky color 2 (middle to horizon) Line 6 Sky color 3 (above horizon) Line 7 Sky color 4 (horizon) Line 8 Fog color / background mountains color
This is sky color params, here a screenshoot : http://img4.hostingpics.net/pics/390523tutolight.jpg In my example : "Line 3 : White color (this is the very top color, you can't see it on my screenshoot) Line 4 : Red Color Line 5 : Blue color Line 6 : Teal Color Line 7 : Black color Line 8 : Yellow color"
Then...
Line 9 : ? Line 10 : Color halo sun Line 11 : Color clouds 1 Line 12 : Color clouds 2 Line 13 : Color clouds 3 Line 14 : ? Line 15 : ColorWaterSeaEdge Line 16 : ColorWaterSeaMid Line 17 : ColorWaterEdge Line 18 : ColorWaterMid
I don't fucking know what are line 9 and 14 Lines 12 and 13 are useless. Line 15 16 17 18 are some water params i don't know if they work or not.
Line 10 : Color sun halo, when you look up the sun, you can see halo, and modify color. Line 11 : Cloud colors, for clouds color.
Sorry for my english langage, i can easily (or not) explain technical langage in french, but in english it's a little bit difficult :o
Navigation
[0] Message Index
[*] Previous page
|