Tweaking Weather Effects

Discussion in 'RPG Maker VX Ace' started by ShinySlowqueen, Feb 1, 2017.

Thread Status:
Not open for further replies.
  1. ShinySlowqueen

    ShinySlowqueen Veteran Veteran

    Messages:
    47
    Likes Received:
    2
    Location:
    Texas
    First Language:
    English
    Primarily Uses:
    RMVXA
    It's a minor thing, but I'd like the screen to not get QUITE so dark when it's snowing.  


    I found this snippet within Spriteset_Weather:


    #--------------------------------------------------------------------------
    # * Get Dimness
    #--------------------------------------------------------------------------
    def dimness
    (@power * 6).to_i
    end


    But this seems like it would affect ALL weather types, and not just snow.
     
    #1
  2. ShinySlowqueen

    ShinySlowqueen Veteran Veteran

    Messages:
    47
    Likes Received:
    2
    Location:
    Texas
    First Language:
    English
    Primarily Uses:
    RMVXA
    Think I mighta fixed it.


    Changed that snippet to:


    #--------------------------------------------------------------------------
    # * Get Dimness
    #--------------------------------------------------------------------------
    def dimness
    if @weather_type = :snow
    (@power * 2).to_i
    else
    (@power * 6).to_i
    end
    end


    And I think it's working.  Anything I might not realize I have totally screwed up by doing this?
     
    #2
  3. Lord Vectra

    Lord Vectra Master Eventer Veteran

    Messages:
    187
    Likes Received:
    323
    Location:
    The Abyss
    First Language:
    English
    Primarily Uses:
    RMVXA
    I don't think so
     
    #3
  4. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,589
    Likes Received:
    10,507
    First Language:
    English
    Primarily Uses:
    RMVXA

    King Vectra, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.



    That question was asked over 6 months ago. I think we can assume it was okay.
     
    #4
Thread Status:
Not open for further replies.

Share This Page