Forum > Level Design

[QUESTION] Is it possible?

(1/2) > >>

bjarki2330:
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. : (

TheBuG:
There's no problem in asking for help, but there's no 100% guarantee that anyone will (be able to) help you.

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.pxr.dk/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.pxr.dk/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

bjarki2330:

--- 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.pxr.dk/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.pxr.dk/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 :)


--- End quote ---

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? :(

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

Navigation

[0] Message Index

[#] Next page

Go to full version