Map Effects

77outlaw77

Warper
Member
Joined
Aug 7, 2018
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Ok, not sure about why Yami used several viewports but no need to edit his/her script, I've something in my script especially for that.

After Map Effects you should add this :

Code:
class Spriteset_Map  def update    zeus_map_effects_update    @map_effects ||= Spriteset_Map_Effects.new(@viewport1, @par_viewport, @shadow_viewport, @light_viewport)    @map_effects.update(@tilemap.oy)  endend
I'm having a similar problem in trying to make this script work with Yami's overlays scripts. I tried to apply this patch code, but I've obviously done it badly. How should one apply this code? Just copy/paste it straight into the script editor in an entry after the Map Effects script?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,332
Reaction score
482
First Language
English
Primarily Uses
RMVXA
Try this on a new line below the zeus map zoom script
Code:
class Spriteset_Map 
def update   
zeus_map_effects_update   
@map_effects ||= Spriteset_Map_Effects.new(@viewport1, @par_viewport, @shadow_viewport, @light_viewport)   
@map_effects.update(@tilemap.oy) 
end
end
 

77outlaw77

Warper
Member
Joined
Aug 7, 2018
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Try this on a new line below the zeus map zoom script
Code:
class Spriteset_Map
def update 
zeus_map_effects_update 
@map_effects ||= Spriteset_Map_Effects.new(@viewport1, @par_viewport, @shadow_viewport, @light_viewport) 
@map_effects.update(@tilemap.oy)
end
end
Gave it a run. It's now certainly different, but I think I need to work it a bit more.
Without putting on the map effects script (while still using Yami's script) I get this in my test room:
https://www.dropbox.com/s/y74lafvhlmobs30/Capture1.PNG?dl=0

After applying the map effects script, it's the same but completely empty and all sprites vanish.
With the map effects script and the suggested patch code, I get this:
https://www.dropbox.com/s/apujqjojxgvp4aj/Capture2.PNG
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Newest RPG Maker drops: hey fellas, get on the MZ train to somewhere

Me: Building my VX Ace lego tower, blissfully unaware of time moving forward
When you are trying to make progress in your game. But something is stopping your motivation. Like come on mind! Let me do what I want! :<
Tfw everyone is trying their hardest to brainstorm about unique ideas and game mechanics, here I am just going: "How am I gonna event conversations with busts" everyday. :kaoswt2:
Comedy is third person, tragedy is first person.
Man. A historic 130 year old church nearby had all of its windows broken out with bricks last night. Such a shame, it wasn't generic stained glass patterns either but had beautifully crafted murals depicting various parts of the gospels.

Forum statistics

Threads
99,320
Messages
964,136
Members
130,928
Latest member
LadyElselin
Top