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: [SOLVED] Specular Lightning  (Read 1894 times)

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
[SOLVED] Specular Lightning
« on: February 03, 2013, 05:14:27 pm »
So, I'm trying to change some values, e.g. reduce the specular lightning intensity in the Eastern Plaguelands. As it is right now, I've tested varieties within the Light.dbcs, so I came to the conclusion that this is somehow area-table related (moving from Undercity AreaID to Tirisfal AreaID changing in intensity brought me this conclusion, despite being on the same light id) or light id-related. Of course, I also looked within the ADTs themselves, but Mjol said in a different thread that the mtxf (also some sort of reflection) is not related to this. Anyone else confronted this particular topic already ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Specular Lightning
« Reply #1 on: February 04, 2013, 08:49:37 am »
ambient_multiplier in areatable
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] Specular Lightning
« Reply #2 on: February 04, 2013, 12:52:08 pm »
I remember having tinkered with that, but somehow, there are no changes to the light.

To emphrase it, here some documentation:



According to ambient_lightning, it has a 0.6f. Obviously, all the sub-zones linked to the main zone have no light value on their own, effectively disabling that option.

I set the main zone, testwise, to 0.0f and 0.3f. Also included server restarts, patch integration (creating a patch with containing it) and the md5 method (having the dbc within dbfilesclient while running the md5 exe). All of these showed no difference to the area.

Either I did something wrong or there is a different method to editing this.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Specular Lightning
« Reply #3 on: February 04, 2013, 01:18:35 pm »
So everything is nice, then you do nothing but changing the area id and suddenly specular lighting is like this? That's either ambient_multiplier or the light id in areatable.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [QUESTION] Specular Lightning
« Reply #4 on: February 28, 2013, 06:20:46 pm »
Quoting the old post
Quote
Actually, the other way around. Both is not, seemingly, called - or just doesn't apply for me. I'll see if it has to do with how I edit it.

Unfortunately, I haven't found the issue or made any progress yet. For one I looked if it might be related to the .maps created by TrinityCore, however they are not called within it (as far as I analysed) and thus this had no effect.

I tried to edit the value within AreaTable.dbc, overwrote my existing one with the md5 method (DBFilesClient in Wow folder) and as patch,

yet none of the options seemed valid here. I am at the end of my rope here. Anyone other ideas ?


EDIT 2:
Alright, so I did some... essential researchings. I have to say that I was so dumb, it's not even funny. I dearly apologize at that point.

Let me elaborate.
Specular Lightning itself doesn't change, but it is depending on the _s file. The opacity of the file sets the intensity of the reflection. I had the (weird) issue that some files were actually just copied from the original ones - they did not contain actual "reflections", which would lighten it's content on the groundtexture.

Basically, the specular lightning remains the same, no matter where or what you change. It's hardcoded in, so to speak.
The intensity can be altered with altering the _s file.
If you have a bad _s file, you gonna have a bad lightning.

Thread solved. Thanks anyway :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »