Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Topic started by: Filipsons on December 31, 2013, 05:02:03 am

Title: C-Enviroment
Post by: Filipsons on December 31, 2013, 05:02:03 am
Hello,

I set some enviroment colors in Machinima tools

(http://img545.imageshack.us/img545/9428/2ota.png)

(https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-frc3/1506366_709247775774397_42481189_o.jpg)

and I want use this setting in Game. Please how DBC I need for this job? (and what rows to edit)

thanks,
Phil
Title: Re: C-Enviroment
Post by: Steff on January 01, 2014, 01:24:24 am
viewtopic.php?f=64&t=673&p=4340 (http://modcraft.io/viewtopic.php?f=64&t=673&p=4340" onclick="window.open(this.href);return false;)
Title: Re: C-Enviroment
Post by: Skarn on February 09, 2014, 08:41:10 pm
Hello, Filipsons. Maybe it's too late and you have already done it but you can easily do it with SharpWoW. It saves lighting colours and stuff without any bugs. I've recently created a fully custom lighting for my zone using SharpWoW. The lighting changes according to the time, so it's Blizzlike.
Examples: (still not finished, I have some problems with the fog render distance).

(http://s017.radikal.ru/i408/1402/d9/c2eb875613ac.jpg)

(http://s019.radikal.ru/i612/1402/3b/7fa1dde06956.jpg)

(http://s003.radikal.ru/i204/1402/b6/3a4f19c11b43.jpg)

Thanks Cromon for this usefull editor. I hope it will help you.

P.S. Screenshots are showing only custom lighting and nothing else. The zone itself is an early alpha. So, no tips or opinions please  ;)
Title: Re: C-Enviroment
Post by: Filipsons on February 09, 2014, 08:53:57 pm
Hello, thanks It looks very interesting, but this program do not open my custom ADTs.
Title: Re: C-Enviroment
Post by: stoneharry on February 09, 2014, 09:20:37 pm
Quote from: "Filipsons"
Hello, thanks It looks very interesting, but this program do not open my custom ADTs.

Why not? What error message are you getting? Can ask Cromon to update it if there is a bug.
Title: Re: C-Enviroment
Post by: Skarn on February 09, 2014, 11:04:55 pm
This tool won't open your custom adts. So, just deactivate custom patches and add the ligthing to the needed point. Then you can take your DBCs and activate patches again.

Stoneharry, the reason is pretty simple. It doesn't work with adts saved in Noggit because they don't have blizzlike structure.
Title: Re: C-Enviroment
Post by: Laduguer on February 10, 2014, 12:19:32 am
Quote
This tool won't open your custom adts. So, just deactivate custom patches and add the ligthing to the needed point. Then you can take your DBCs and activate patches again.

Stoneharry, the reason is pretty simple. It doesn't work with adts saved in Noggit because they don't have blizzlike structure.


That's a shame; so I guess that means it's more difficult to use SharpWoW with ADTs edited in Noggit that pertain to entirely custom maps?
Title: Re: C-Enviroment
Post by: Milly on February 10, 2014, 01:11:22 am
I didn't even know you could use SharpWoW for lights. I do all my stuff manually through the dbc files and it works great. Probably one of the more complex modding techniques though. LightIntBand.dbc is very confusing at first.
Title: Re: C-Enviroment
Post by: Skarn on February 10, 2014, 01:37:49 pm
Milly, could you help me with increasing fog render distance? It's not supported by SharpWoW, but I really need to modify it. I just don't understand where is that value and how is it stored there.
Title: Re: C-Enviroment
Post by: Milly on February 10, 2014, 02:16:16 pm
Yikes... Uh, you're talking about LightFloatBand.dbc which is pretty much uncharted territory. Here's what I know:

You'll need to use lightmapper to find the Light.dbc entry for your zone. Then find the value in column 8 and multiply it by 6.

So for example, Stranglethorn Vale says 26 in Column 8. Do 26 x 6 and you'll get 156. Now subtract 5, and you'll get 151. This means your range in LightFloatBand.dbc is 151-156. I found that if you go to the second line (in this case, line 152) and modify the values in columns 19-23 you can control fog distance. Put in 0 for no fog and 1 for nothing but fog.
Title: Re: C-Enviroment
Post by: Skarn on February 10, 2014, 02:19:33 pm
I have all the entrys of my zone with the number 2. And I don't know which of these strings controls fog.
Title: Re: C-Enviroment
Post by: Milly on February 10, 2014, 02:21:19 pm
Do you have Skype? It'd be better if we talked there or through private messages. My Skype is ----------