Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Norimar on July 27, 2012, 03:56:42 am

Title: [QUESTION] Lightning Effects
Post by: Norimar on July 27, 2012, 03:56:42 am
Hello guys, I played around the last hours and got the question: is it possible to het an bigger lighting radius through items?
For example I took a torch and show it ingame.. the lighting radius isn't really big - nearly useless. But is it possible to get a bigger range of this light?
(http://img.webme.com/pic/e/escaria-bdk/light.jpg)
Title: Re: [QUESTION] Lightning Effects
Post by: schlumpf on July 27, 2012, 08:06:32 am
Yes. AttenuationStart and AttenuationEnd.
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 27, 2012, 04:23:07 pm
I just looked around and found this: http://www.pxr.dk/wowdev/wiki/index.php ... tLK#Lights (http://www.pxr.dk/wowdev/wiki/index.php?title=M2/WotLK#Lights" onclick="window.open(this.href);return false;)
The problem is, the only work I ever did on an Model, was an school presentation. I have no idea, where I find the file to edit this : /
Title: Re: [QUESTION] Lightning Effects
Post by: Steff on July 28, 2012, 11:06:09 am
Hex editor. If you get 010 Edit you can even use the wow file templats.
viewtopic.php?f=59&t=828 (http://modcraft.io/viewtopic.php?f=59&t=828" onclick="window.open(this.href);return false;)
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 28, 2012, 12:18:55 pm
I know about this file but dont have the software to use it.
Title: Re: [QUESTION] Lightning Effects
Post by: schlumpf on July 28, 2012, 03:11:46 pm
Quote from: "Norimar"
I know about this file but dont have the software to use it.
Well, then get it?
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 28, 2012, 03:51:19 pm
Always the same with new programms... It takes a long time to understand this all without help...
I try around, maybe I get it out. Do I have to search for the torch m2 first to open this one with this 010 editor?
Title: Re: [QUESTION] Lightning Effects
Post by: schlumpf on July 28, 2012, 04:11:38 pm
Yes.
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 29, 2012, 10:02:16 am
(http://img.webme.com/pic/e/escaria-bdk/010m2temptorch.jpg)

And here should I type in the max-range?
Title: Re: [QUESTION] Lightning Effects
Post by: schlumpf on July 29, 2012, 10:13:15 am
Well, try?
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 29, 2012, 10:17:15 am
U are not really a friend of many words, or? :) I will try it.
Title: Re: [QUESTION] Lightning Effects
Post by: schlumpf on July 29, 2012, 10:19:14 am
I am not a friend of stating things that are obvious and might have been tried faster than even clicking on the reply button.

Entering a new value, saving, packing, starting. That does not take more than a minute. So why would one wait for a reply from someone else saying yes or no?
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 29, 2012, 11:03:09 am
Quote from: "Norimar"
U are not really a friend of many words, or? :) I will try it.


Started : 10:17
End : 10:55

Archieved: Nothing.
Changed:
(http://img.webme.com/pic/e/escaria-bdk/010m2temptorch2.jpg)
(Also float value whatever - tested all combinations in there)

Result:
(http://img.webme.com/pic/e/escaria-bdk/light2.jpg)

Maybe I do it totaly wrong, or the effect is so tiny to see a difference betwen those.



Edit: Tested freaky values:
(http://img.webme.com/pic/e/escaria-bdk/010m2temptorch4.jpg)

Can u see the difference?
(http://img.webme.com/pic/e/escaria-bdk/light3.jpg)
Title: Re: [QUESTION] Lightning Effects
Post by: Steff on July 29, 2012, 12:55:10 pm
Thats what wow modding is. Try and error. I sometimes try to get a thing work for around 21 hours and I dont get it till now.
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 29, 2012, 01:51:29 pm
Grml, to bad... would be a nice idea to play with Light-effects in a completly dark room :D
Title: Re: [QUESTION] Lightning Effects
Post by: schlumpf on July 29, 2012, 03:36:22 pm
Try changing the intensity and the type.
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 29, 2012, 06:37:29 pm
Yeah, I got it!

Changed:



struct ABlock_f diffuseambient  struct Values  struct SubAnimBlock_f substruct  float value  - from 3 to 30.

scruct ABlock_f attenuationstart + attenuationend (all 2. numbers of the high columns from 2 into 9 - for ecample: 1240h into 1940h.)

Result:


Without torch...


(http://img.webme.com/pic/e/escaria-bdk/wowscrnshot_072912_182530.jpg)

With torch...


(http://img.webme.com/pic/e/escaria-bdk/wowscrnshot_072912_182534.jpg)

Thanks for your help, guys :>
Title: Re: [QUESTION] Lightning Effects
Post by: Steff on July 29, 2012, 06:39:30 pm
Hey looks gond and now the download for your toaurch please ;)
Title: Re: [QUESTION] Lightning Effects
Post by: Norimar on July 29, 2012, 06:53:31 pm

If it is your wish:


[attachment=0:1m1yp9jn]Club_1H_Torch_A_01.m2[/attachment:1m1yp9jn]

One item [1172] inc. display ID [12313] :


(http://wowdata.getbuffed.com/tooltips/items/gif/1172.gif) (http://wowdata.getbuffed.com/?i=1172)
Title: Re: [QUESTION] Lightning Effects
Post by: Steff on July 30, 2012, 10:57:05 am
Danke ;)
Title: Re: [QUESTION] Lightning Effects
Post by: matija167 on July 30, 2012, 11:02:00 am
That looks nice :D
Title: Re: [QUESTION] Lightning Effects
Post by: Mjollna on July 30, 2012, 03:00:22 pm
Result looks really nice, gratz :)
It must give a special feeling to lighten the area as you walk.