This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Dark nights in Warcraft?  (Read 5425 times)

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
[QUESTION] Dark nights in Warcraft?
« on: January 04, 2012, 03:38:39 pm »
Hey,

the most people still know from the beta of WoW, the dark nights. I mean nights which was dark and not this bright night what we have today. My Question: Is it possible to change the (Patch 3.X.X) nights, from light to dark? I think it is possible, but where is that definied? (DBCs, Server, Other Patch Data)
« Last Edit: December 07, 2013, 01:46:49 pm by Admin »

Calibur

  • Registred Member
  • Race Changer
  • *****
  • Posts: 28
    • View Profile
Re: [QUESTION] Dark Nights in Warcraft?
« Reply #1 on: January 04, 2012, 03:54:49 pm »
It is possible. But I am not sure if the dark night is contained within 3.3.5, it probably is though. It is anyhow set by the dbcs, and the actual weather is located in a patch.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
If somebody asks me if god exist I tell them that the question itself makes no sense. It\'s like asking for directions to the edge of the earth. The earth is a sphere, it doesn\'t have an edge. - Stephen Hawking

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
Re: [QUESTION] Dark Nights in Warcraft?
« Reply #2 on: January 04, 2012, 03:59:11 pm »
Mhm i dont mean 3.3.5a, i mean 3.2.2a :D

But, thank you for your information, its a beginning :) I wait for some other posts and then i try to change the nights.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
Re: [QUESTION] Dark Nights in Warcraft?
« Reply #4 on: January 04, 2012, 06:32:51 pm »
Thank you, but the theory from FoxtropQ is not fully explained. He says which dbc are responsible for the night, but his explanation is very difficult to understand... For example: The dbc structur is difficulat, i do not understand which row has what for a effect. What i must change for general dark night (like the Nights in the Beta and Release from World of Warcraft)?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
Re: [QUESTION] Dark Nights in Warcraft?
« Reply #5 on: June 10, 2013, 04:41:44 pm »
Does nobody has an answere?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Dark Nights in Warcraft?
« Reply #6 on: June 10, 2013, 05:09:57 pm »
Quote from: "Nic"
Does nobody has an answere?

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.

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.

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.wowdev.wiki/index.php ... atBand.dbc

I tried to read this thread as "Dark Knights" for the first 3 times for some reason. @_@
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Corvus

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [QUESTION] Dark Nights in Warcraft?
« Reply #7 on: June 10, 2013, 05:34:33 pm »
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).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
Re: [QUESTION] Dark nights in Warcraft?
« Reply #8 on: December 07, 2013, 01:53:30 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Rangorn

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 291
    • View Profile
Re: [QUESTION] Dark nights in Warcraft?
« Reply #9 on: December 07, 2013, 03:37:26 pm »
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.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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »