SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Is it possible to change sun altitude for different times?

Results 1 to 5 of 5
  1. #1
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Homeless, Valve hates me.
    Posts
    3,677

    Is it possible to change sun altitude for different times?

    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

  2. #2
    It would be possible with by modifying the UI
    PHP Code:
    watch="TimeOfDay"
    ontrigger="Set('scene_sunAzimuth',<azimuth>); Set('scene_sunAltitude',<altitude>);" 
    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)

    edit: if you don't know what to do with this I guess I can make an example map with this for you

  3. #3
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Homeless, Valve hates me.
    Posts
    3,677
    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

  4. #4
    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

  5. #5
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Homeless, Valve hates me.
    Posts
    3,677
    Thanx will have a look at it.
    Nightmarish
    Custom Zombie Survival Map for HoN

    http://forums.heroesofnewerth.com/sh...9#post15049429

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •