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,578
Reaction score
545
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: 1, Guests: 1)

Latest Threads

Latest Profile Posts

Hey, guys! Do you want to hear a riddle? If so, go to this link!
Omg, 'Marsha' took over the RPGWeb twitter for a bit and its the most adorable thing ever! :LZSblush: I like it

"Gennady" Gen na Dee reptiloid scientist
I wonder how well Procedural Map generation would work in RPG Maker MZ... Well, only one way to find out! Hehe!

Forum statistics

Threads
104,634
Messages
1,007,748
Members
136,122
Latest member
math_lomba
Top