https://www.icyphoenix.com/viewtopic.php?f=35&t=3344
-----------------------------------
mimoson999
Fri 28 Dec, 2007 20:16

Snow Fx
-----------------------------------
where I can change the snow script variables?

thanks


-----------------------------------
KugeLSichA
Sat 29 Dec, 2007 13:26

Re: Snow Fx
-----------------------------------
hey,

in the [b]snow_fx.js[/b]  which is located in templates/common/js/


-----------------------------------
mimoson999
Sat 29 Dec, 2007 13:55

Re: Snow Fx
-----------------------------------
but there you can change the algorythm I want to change vars like size, speed...


-----------------------------------
KugeLSichA
Sat 29 Dec, 2007 14:16

Re: Snow Fx
-----------------------------------
take a look at the first 30 lines of this file!

read and try to understand.


-----------------------------------
mimoson999
Sat 29 Dec, 2007 15:04

Re: Snow Fx
-----------------------------------
what I am trying to say it's that the vars

[code linenumbers=false]
var pictureWidth = 10;            //the width of the snowflakes
var pictureHeight = 12;           //the height of the snowflakes
var numFlakes = 20;               //the number of snowflakes
var downSpeed = 0.01;             //the falling speed of snowflakes (portion of screen per 100 ms)
var lrFlakes = 10;                //the speed that the snowflakes should swing from side to side
[/code]

are not defined in the file snow_fx.js, and I want to know where inside Icy phoenix are this vars defined and I can change them

Thanks for your time


-----------------------------------
KugeLSichA
Tue 01 Jan, 2008 19:06

Re: Snow Fx
-----------------------------------
hey... sorry for the late reply...

i just found the file   :mrviolet: 

please take a look into [b]templates/mg_themes/overall_include.tpl[/b]

and let me know


-----------------------------------
mimoson999
Tue 01 Jan, 2008 20:33

Re: Snow Fx
-----------------------------------
Ok, found it.

I don't have that file because of a older version but the vars are inside overall_header.tpl in my version 

thanks :mryellow:  :mryellow:


-----------------------------------
KugeLSichA
Tue 01 Jan, 2008 21:14

Re: Snow Fx
-----------------------------------
ahhh ok...

glad that you solved your problem


