|
|
When it's Morning/Day I want the Sun to be at 90
When it's Evening/Night I want the Sun to be 0 (no shadows)
Any way to do this, currently it looks like a once off setting that affects all times of day.
Nightmarish
Custom Zombie Survival Map for HoN
http://forums.heroesofnewerth.com/sh...9#post15049429
It would be possible with by modifying the UI
where <azimuth> and <altitude> would be the desired azimuth/altitude which you would calculate from the param, which ranges from 0 to 1(0 is midnight, 0.5 is noon,etc)PHP Code:watch="TimeOfDay"
ontrigger="Set('scene_sunAzimuth',<azimuth>); Set('scene_sunAltitude',<altitude>);"
edit: if you don't know what to do with this I guess I can make an example map with this for you
Yeah that would be cool, no idea where I would need to put that.
Nightmarish
Custom Zombie Survival Map for HoN
http://forums.heroesofnewerth.com/sh...9#post15049429
Here you go:
www.minescape.ca/jonathan.s2z
note: the shadows only start moving at 0:00, + you have to look closely(recommend shadows at high)
i only added this
Set('scene_sunAzimuth',param*90); Set('scene_sunAltitude',param*90);
to game.interface(use search), so it wont be anything good but its just an example
Thanx will have a look at it.
Nightmarish
Custom Zombie Survival Map for HoN
http://forums.heroesofnewerth.com/sh...9#post15049429