How to shade my map?

Discussion in 'RPG Maker MV' started by Ym7884nr, Aug 1, 2018.

  1. Ym7884nr

    Ym7884nr Villager Member

    Messages:
    26
    Likes Received:
    5
    First Language:
    english
    Primarily Uses:
    RMMV
    I'm making a "woods' map, and want to have it appear as sunlight can't get through, similar to the woods in Link to the Past. Am I missing that option somewhere or do I need a plug-in for that? thanks for steering me in the right direction.
     
    #1
  2. JGreene

    JGreene Veteran Veteran

    Messages:
    375
    Likes Received:
    286
    First Language:
    English
    Primarily Uses:
    RMMV
    #2
  3. Ym7884nr

    Ym7884nr Villager Member

    Messages:
    26
    Likes Received:
    5
    First Language:
    english
    Primarily Uses:
    RMMV
    Thanks. Looking through this now, does the image for the img/layers folder I'll make have to be a certain size? Can I just use a black square of a certain size and adjust the opacity for shade? Thanks again for the quick response.
     
    #3
  4. JGreene

    JGreene Veteran Veteran

    Messages:
    375
    Likes Received:
    286
    First Language:
    English
    Primarily Uses:
    RMMV
    If you don't want it to look distorted, I would make the layer the same resolution as your game screen.
     
    #4
  5. Ym7884nr

    Ym7884nr Villager Member

    Messages:
    26
    Likes Received:
    5
    First Language:
    english
    Primarily Uses:
    RMMV
    So I have a black square 816x624 px in the image/layers folder I created, have an event on the map with following plugin commands (LAYER 59 1 fog 0 0 100 5 0 0 0) set to run parallel, but still am not getting the image to show at all. Any idea what I'm missing? Sorry to be a bother but I feel like I'm close.

    59 in the map ID of the map the event is on, and 1 refers to this being the first layer on the map. Am I doing that correctly?

    EDIT:
    Well I got it work, but only after I leave then re-enter the map. Any idea why that is?

    EDIT 2:
    Nevermind, I got it working. Just moved that event into a map you pass on the way, and once I move into the map I wanted shaded, it was working perfectly. Thanks for your help!
     
    Last edited: Aug 1, 2018
    #5
  6. Rubescen

    Rubescen Veteran Veteran

    Messages:
    75
    Likes Received:
    59
    First Language:
    English
    Primarily Uses:
    RMMV
    That is one solution.

    However, for reference you can also just add the Layer information to the note section of map properties and it will auto load when you enter the map.

    Per Galv's plugin instructions:
    "In addition to using the plugin calls, you can setup layers on each map in
    the NOTE section of the map settings. Do this in the same way as the plugin
    call except do not add the map ID.
    LAYER ID GRAPHIC XSPEED YSPEED OPACITY Z XSHIFT YSHIFT BLEND
    LAYER_S ID GRAPHIC X Y OPACITY Z BLEND XANCHOR YANCHOR CHAR ROTATE
    These layers can be changed as normal with plugin commands."

    e.g. upload_2018-7-31_22-0-40.png
     
    #6
  7. Ym7884nr

    Ym7884nr Villager Member

    Messages:
    26
    Likes Received:
    5
    First Language:
    english
    Primarily Uses:
    RMMV
    you guys are awesome. Not sure how I missed that on his instructions.
    I had taken some time off using this, but the quick help from the community definitely helps me chug along. Thanks again.
     
    #7
  8. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,640
    Likes Received:
    2,966
    Location:
    Philippines
    First Language:
    Tagalog
    You can also opt to just try the Map Tint event command in case you don't need super complicated overlays
     
    #8
  9. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,970
    Likes Received:
    10,663
    First Language:
    English
    Primarily Uses:
    RMVXA
    Or use the 'Show Picture' command, as a parallel process, ending with 'Erase Event', so that it is in place when the map loads, stops running while you're on the map and reloads every time you enter the map.

    To make it more visually varied, you could use a low opacity eraser in some areas to give it darker and lighter shade patches.
     
    #9

Share This Page