Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Hi! I made those two light params. They share t...

[DiscordArchive] Hi! I made those two light params. They share t...

[DiscordArchive] Hi! I made those two light params. They share t...

rektbyfaith
Administrator
0
03-28-2025, 09:04 AM
#1
Archived author: Needle • Posted: 2025-03-28T09:04:40.143000+00:00
Original source

rektbyfaith
03-28-2025, 09:04 AM #1

Archived author: Needle • Posted: 2025-03-28T09:04:40.143000+00:00
Original source

rektbyfaith
Administrator
0
03-28-2025, 09:04 AM
#2
Archived author: Needle • Posted: 2025-03-28T09:04:40.644000+00:00
Original source

Thread automatically created by Vel in <#415944535718494208>
rektbyfaith
03-28-2025, 09:04 AM #2

Archived author: Needle • Posted: 2025-03-28T09:04:40.644000+00:00
Original source

Thread automatically created by Vel in <#415944535718494208>

rektbyfaith
Administrator
0
03-28-2025, 11:15 PM
#3
Archived author: Xahnder • Posted: 2025-03-28T23:15:38.396000+00:00
Original source

I don't think you'll be able to get fog closer than that. For fog distance in general, you'll hit a hard near limit in outdoor areas in that the near fog will 'stop' wherever your view distance slider has impact. To restate a bit: You can't really force fog to be 'closer' than (roughly) the furthest the in-game option "View Distance" allows. This is approx a distance of 25f I think. If you set it extremely low, it will 'snap' to a very low setting that will make the fog only a few feet in front of you, but it's meant for things like going out of bounds in Culling of Strathholme, and is basically unplayable.

For LightIntBand, you need to make sure that you have 18 rows per time slice (18 for Lightdbc.ParamsClear, 18 for Lightdbc.ParamsStorm, etc times the number of unique 'time of day' that you want to have). That's probably your issue.

I don't know if this will help you or if you can read C#, but if so take a look at this: https://github.com/NathanHandley/EQWOWCo...ettings.cs
In this code, I set the data that ultimately goes into the various light dbc tables. The data in this class would represent a single light.dbc record **and** related LightIntBand and LightFloatBand records. You can see how they map into LightIntBand records here: https://github.com/NathanHandley/EQWOWCo...BandDBC.cs
rektbyfaith
03-28-2025, 11:15 PM #3

Archived author: Xahnder • Posted: 2025-03-28T23:15:38.396000+00:00
Original source

I don't think you'll be able to get fog closer than that. For fog distance in general, you'll hit a hard near limit in outdoor areas in that the near fog will 'stop' wherever your view distance slider has impact. To restate a bit: You can't really force fog to be 'closer' than (roughly) the furthest the in-game option "View Distance" allows. This is approx a distance of 25f I think. If you set it extremely low, it will 'snap' to a very low setting that will make the fog only a few feet in front of you, but it's meant for things like going out of bounds in Culling of Strathholme, and is basically unplayable.

For LightIntBand, you need to make sure that you have 18 rows per time slice (18 for Lightdbc.ParamsClear, 18 for Lightdbc.ParamsStorm, etc times the number of unique 'time of day' that you want to have). That's probably your issue.

I don't know if this will help you or if you can read C#, but if so take a look at this: https://github.com/NathanHandley/EQWOWCo...ettings.cs
In this code, I set the data that ultimately goes into the various light dbc tables. The data in this class would represent a single light.dbc record **and** related LightIntBand and LightFloatBand records. You can see how they map into LightIntBand records here: https://github.com/NathanHandley/EQWOWCo...BandDBC.cs

rektbyfaith
Administrator
0
03-28-2025, 11:18 PM
#4
Archived author: Xahnder • Posted: 2025-03-28T23:18:39.369000+00:00
Original source

In the "ZoneEnvironmentSettings.cs", I use 6 distinct time slices (midnight, 3am, 6pm, noon, 9pm, 10pm). See them defined starting on row 129 as an example for clear weather.
rektbyfaith
03-28-2025, 11:18 PM #4

Archived author: Xahnder • Posted: 2025-03-28T23:18:39.369000+00:00
Original source

In the "ZoneEnvironmentSettings.cs", I use 6 distinct time slices (midnight, 3am, 6pm, noon, 9pm, 10pm). See them defined starting on row 129 as an example for clear weather.

rektbyfaith
Administrator
0
03-30-2025, 06:42 AM
#5
Archived author: Vel • Posted: 2025-03-30T06:42:26.293000+00:00
Original source

I’ll check on this soon! I managed to do what I needed in the end by exiting the first intband. Tho I am interested in anything that will make my work with lights easier because the way it works is just so messy…
rektbyfaith
03-30-2025, 06:42 AM #5

Archived author: Vel • Posted: 2025-03-30T06:42:26.293000+00:00
Original source

I’ll check on this soon! I managed to do what I needed in the end by exiting the first intband. Tho I am interested in anything that will make my work with lights easier because the way it works is just so messy…

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)