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] Is it possible?  (Read 2980 times)

bjarki2330

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 18
    • View Profile
[QUESTION] Is it possible?
« on: April 28, 2012, 04:58:12 am »
Hey, guys.
I was just wondering. Am I allowed to ask for requests? Because I ain't getting nowhere with what I'm trying to do for me and my friends and our small roleplay server. We're trying to get rid of the fog in Culling of Stratholme. : (
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TheBuG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 469
    • View Profile
Re: [QUESTION] Is it possible?
« Reply #1 on: April 28, 2012, 10:51:50 pm »
There's no problem in asking for help, but there's no 100% guarantee that anyone will (be able to) help you.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: [QUESTION] Is it possible?
« Reply #2 on: April 29, 2012, 12:02:55 am »
Yes it is possible to remove fog in Stratholme CoT.
Here's how :

First of all, open your map.dbc in your favorite dbc editor, and find which ID StraCoT is.
It's 595.

Then, in light.dbc, find which lines match this map ID. There are quite a lot :
1607, 1673, 1838, 1839, 1840, 1841, 1849, 1850, 1851, 1852, 1853, 1854.

But from 1838 to 1854 they seem more or less identical.

You can use here Lightmapper ( viewtopic.php?f=59&t=783 ) to help a little bit to visualise... So indeed, the identical entries in light.dbc seem to be all the foggy skies around the map.

Next step is to get the right param value in light.dbc.
The wiki ( http://www.wowdev.wiki/index.php?title=Light.dbc ) says it's column col 7 for sky & fog.
720 seems to be the right value.

Tweaking fog is in lightfloatband.dbc
( http://www.wowdev.wiki/index.php ... atBand.dbc )

To get to the right set of lines there, it's : ([light.dbc col7 value] * 6 - 5).
So for 720, it's (720 * 6) - 5 = 4315.

So let's go there in lightfloatband.dbc.
Value there is on the first line (Number 0 : fog distance).
There's only one time value used, which saves us some changes.
There's 900.0, let's try 45000.0.
Save your dbc, patch.

Tested quickly ingame, it works :)

--------------

For complete tutorial on lighting dbcs :
http://www.ownedcore.com/forums/world-o ... ights.html
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

bjarki2330

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 18
    • View Profile
Re: [QUESTION] Is it possible?
« Reply #3 on: May 12, 2012, 06:20:13 am »
Quote from: "Mjollna"
Yes it is possible to remove fog in Stratholme CoT.
Here's how :

First of all, open your map.dbc in your favorite dbc editor, and find which ID StraCoT is.
It's 595.

Then, in light.dbc, find which lines match this map ID. There are quite a lot :
1607, 1673, 1838, 1839, 1840, 1841, 1849, 1850, 1851, 1852, 1853, 1854.

But from 1838 to 1854 they seem more or less identical.

You can use here Lightmapper ( viewtopic.php?f=59&t=783 ) to help a little bit to visualise... So indeed, the identical entries in light.dbc seem to be all the foggy skies around the map.

Next step is to get the right param value in light.dbc.
The wiki ( http://www.wowdev.wiki/index.php?title=Light.dbc ) says it's column col 7 for sky & fog.
720 seems to be the right value.

Tweaking fog is in lightfloatband.dbc
( http://www.wowdev.wiki/index.php ... atBand.dbc )

To get to the right set of lines there, it's : ([light.dbc col7 value] * 6 - 5).
So for 720, it's (720 * 6) - 5 = 4315.

So let's go there in lightfloatband.dbc.
Value there is on the first line (Number 0 : fog distance).
There's only one time value used, which saves us some changes.
There's 900.0, let's try 45000.0.
Save your dbc, patch.

Tested quickly ingame, it works :)


I'm trying to understand this. xD I can't see any 900.0 and I changed all the0's that were connected to 720 to 45000. :S And I changed all the 720 to 4315... what am I doing wrong? :(
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: [QUESTION] Is it possible?
« Reply #4 on: May 13, 2012, 03:30:52 am »
Ok.
Let's do a tl;dr version :)

- Open your lightfloatband.dbc
- Look for value 4315 in col #0.
- On that line, change col #18 (counting from 0) value 900.0 to 45000.0
- Close dbc, pack.

---------------------

The key is to understand that 720 in light.dbc points to 3 locations at the same time :
- 720 in lightparams
- (720 * 18 - 17) (iirc) in lightintband
- (720 * 6 - 5) in lightfloatband
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

bjarki2330

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 18
    • View Profile
Re: [QUESTION] Is it possible?
« Reply #5 on: May 13, 2012, 05:56:55 am »
Quote from: "Mjollna"
Ok.
Let's do a tl;dr version :)

- Open your lightfloatband.dbc
- Look for value 4315 in col #0.
- On that line, change col #18 (counting from 0) value 900.0 to 45000.0
- Close dbc, pack.

---------------------

The key is to understand that 720 in light.dbc points to 3 locations at the same time :
- 720 in lightparams
- (720 * 18 - 17) (iirc) in lightintband
- (720 * 6 - 5) in lightfloatband

I found col #18 and it had a 0 in it, so I changed that to 45000
What is this 'pack' thing? Sorry, I suck at this DBC thing. :S
And don't I edit the server DBC? And from my POV, I see no 900.0 either. xD
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: [QUESTION] Is it possible?
« Reply #6 on: May 13, 2012, 12:00:13 pm »
It's on the picture :



"pack" means "make a mpq containing your modified dbc", nothing fancy here <!-- s:) -->:)<!-- s:) -->

And it's not necessary to change server dbc here.
« Last Edit: February 20, 2019, 04:00:12 pm by Mjollna »

bjarki2330

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 18
    • View Profile
Re: [QUESTION] Is it possible?
« Reply #7 on: May 14, 2012, 01:51:30 am »
Quote from: "Mjollna"
It's on the picture : http://puu.sh/usJc

"pack" means "make a mpq containing your modified dbc", nothing fancy here :)

And it's not necessary to change server dbc here.

Ah, then I know what packing is. I've done that part many times before, just not familiar with the word. :P
Anyways. I put the DBC under DBFilesClient when I pack it, right?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »