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: Day Light and Night Lighe Problem  (Read 1947 times)

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Day Light and Night Lighe Problem
« on: November 14, 2011, 03:15:27 am »
Hello Fellas,

In the new versions of noggit (263 and 279) i think that i was implemented the load of skybox and enviroment lights.

However, in custom maps this doenst work well. It doenst load any skybox and it is always night time...
There are some zones that have a light poing (you can see a white dot in the continent map) but some of them doenst work well. In elwynn, for example, the day lights are orange...

Besides, in new custom maps, i think that the skybox and light arent loaded at all. This is because noggit first load the custom mpq and later load the locale mpq:

Quote
719 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/common.MPQ
735 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/common-2.MPQ
740 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/expansion.MPQ
746 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/lichking.MPQ
757 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/patch.MPQ
762 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/patch-2.MPQ
763 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/patch-3.MPQ
764 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/patch-a.MPQ
764 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/patch-b.MPQ
765 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/patch-c.MPQ
766 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/patch-g.MPQ
769 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/patch-z.MPQ
776 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/enGB/locale-enGB.MPQ
779 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/enGB/expansion-locale-enGB.MPQ
782 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/enGB/lichking-locale-enGB.MPQ
786 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/enGB/patch-enGB.MPQ
790 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/enGB/patch-enGB-2.MPQ
793 - (MPQ.cpp:47): [Debug] Opened archive E:World of WarcraftData/enGB/patch-enGB-3.MPQ
1761 - (MPQ.cpp:89): [Debug] Completed listfile loading.
1765 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientAreaTable.dbc"
1769 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientMap.dbc"
1769 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientLoadingScreens.dbc"
1770 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientLight.dbc"
1770 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientLightParams.dbc"
1770 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientLightSkybox.dbc"
1786 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientLightIntBand.dbc"
1794 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientLightFloatBand.dbc"
1794 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientGroundEffectDoodad.dbc"
1803 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientGroundEffectTexture.dbc"
1804 - (DBCFile.cpp:22): [Debug] Opening DBC "DBFilesClientLiquidType.dbc"

The patch a, b, c, g and z are customs mpqs. Then it loads the locale mpq, meaning that probably it loads the originals DBC files instead of the new ones... (however i am not sure about this)

Anyway, the main problem is that it is always night time and it sucks when you wanna texture something... it would be great if noggit set the day time for default like it always did

Regards
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Day Light and Night Lighe Problem
« Reply #1 on: November 14, 2011, 06:49:41 am »
Hmmm... then you have to add a skybox?
I develop noggit on my custom map and everything works fine.
If you do not turn on the light in a room you will not see anything :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: Day Light and Night Lighe Problem
« Reply #2 on: November 14, 2011, 03:49:59 pm »
Quote from: "Steff"
Hmmm... then you have to add a skybox?
I develop noggit on my custom map and everything works fine.
If you do not turn on the light in a room you will not see anything :)

The map have an skybox, i see it on game and everything. But i cant see this skybox in noggit.
Funny thing is, i have another custom map with a skybox and the red light of blood myst island. In noggit i can see the red lighting, but not the sky, plus is always night like in the other map. However in this map the night light is not a problem cuz the red lighting give me enough light for editting.. but in other maps the night light is very dark...

There's something else that you may consider:

I use the Spanish version of the game, esES, and all the DBC files that we modified are on this version. I understand that the dbc files structure or data may differ between language versions... and noggit for some reason always load the enGB files (cuz i can choose both languages on game).
It always load the enGB files and not esES files, even if i not use the noggit.config
Probably this cause some problem...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Day Light and Night Lighe Problem
« Reply #3 on: November 14, 2011, 05:47:27 pm »
There is no difference in the dbcs between languages. Noggit takes the first one it gets. Rename the engb folder to let Noggit use the different one.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: Day Light and Night Lighe Problem
« Reply #4 on: November 15, 2011, 02:47:31 pm »
Quote from: "schlumpf"
There is no difference in the dbcs between languages. Noggit takes the first one it gets. Rename the engb folder to let Noggit use the different one.

K, i tried that and noggit loads my dbc (because i can see the custom maps in the continent lists, meaning that it loaded the map.dbc), however the skybox is still missing and is stills always night time...

This problem is not only on my custom maps, but also in any map. Here are some examples:

Outland:

As you can see, is veery dark... the ground should be kinda red and not green
http://img10.imageshack.us/img10/3500/outlandl.jpg

Kalimdor:

In this picture, you can see day time when you are close of one of those white dot of the map (i think that those are light dots).
http://img64.imageshack.us/img64/6793/kalimdor1.jpg
http://img26.imageshack.us/img26/6936/kalimdor2.jpg


But if you move a little away from that dot, you lose the light:
http://img703.imageshack.us/img703/1853/kalimdor3.jpg
http://img812.imageshack.us/img812/851/kalimdor4.jpg

I dont know if the problem is my noggit, my setup or my dbcs... but is a pain in the ass do some modding with dark light in the map.

Here's my config file:

Code: [Select]
# This is a config file tamplate. To use it rename into noggit.conf and set your optiones
#Edit this to your WoWFile!!!
#Path = SET PATH TO WOW WITH  on the end !!! WITHOUT THE DATA FOLDER!!
Path = E:World of Warcraft
#Edit this to your Project-Directory and uncomment if you want to use it!
#ProjectPath =
#Set this to the file where you will impor models from (the modelviewer log for example :) )
#ImportFile  = Path to ModelViewer logfile
#The Far clipping value. Set to 2048, 3072, 4096 etc. for a further look. Higher values need more 3d power.
#1024 is the standart value and will be taken if you do not set this value.
FarZ=4096

Regards
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Day Light and Night Lighe Problem
« Reply #5 on: November 15, 2011, 03:33:25 pm »
As I said previously, lighting in Noggit is completely broken. You will end up with wrong colors, missing or completely fucked up skies. In Northrend, you won't have any light at all, as your log will tell you, it couldn't find the needed entries in the DBCs.

This is no error by you, nothing you can fix. Move along.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Day Light and Night Lighe Problem
« Reply #6 on: November 15, 2011, 05:50:43 pm »
Just add one bright skybox to pos 0 0 this will set this box to the complet map. Delete all other in your noggit DBC then you can work. Ingame you use your dbc with all the skyeboxes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: Day Light and Night Lighe Problem
« Reply #7 on: November 15, 2011, 08:22:47 pm »
Quote from: "Steff"
Just add one bright skybox to pos 0 0 this will set this box to the complet map. Delete all other in your noggit DBC then you can work. Ingame you use your dbc with all the skyeboxes.

K i will try that :) , thanks Steff
« Last Edit: January 01, 1970, 01:00:00 am by Admin »