Yami's Overlay Mapping Not Working Properly PLEASE HELP.

Status
Not open for further replies.

Zerphoon

Veteran
Veteran
Joined
Jul 30, 2012
Messages
31
Reaction score
4
First Language
English
Primarily Uses
For starters, I have looked at various tutorials. I appear to be doing the same thing they are, however for the life of me I cannot get a simple parallax layer to show up.

  • The ground layer and Parallax layer ARE NOT showing up.
  • The map layer is set to all transparent tiles (with O being valid for walking, and X being invalid)
  • There is no shadow layer, but there is a light layer for testing purposes (which shows up)
  • The par file is stored in the Overlay folder under Graphics as par14.png (014 being the Map ID)
  • Switches 1-4 are assigned as well as the Variables as specified in the script
  • The map is 1280 x 800

My scripts I'm using so far are: Yami's Basic Module, Yami's Overlay Mapping, Yanfly Party System, Galvs Menu Layout, Galvs Shop Upgrade 2.7 (Add On/Update) Galvs Shop Upgrade 2.6.

HERE ARE SCREENSHOTS OF WHAT I HAVE FOR SCRIPTS MY SETUP AND THE "MAP" THATS NOT WORKING.







P.S IF A MOD COULD PUT THESE IN A SPOILER THAT WOULD BE GREAT I FORGOT HOW TO MAKE ONE.

I can not get ground3-1.png to show up with Yami's script. Neither will the par3-1.png. HOWEVER THE light3-1.jpg shows up just fine.

So what am I doing wrong to not make the 2 basic visual layers not show up with Yami's script (My guess is I'm either overlooking something, or it's a piece of "common" knowlege, that isn't quite as common to a newb as others might think (it took me several tutorials before someone pointed out where to get the MAP ID from), much less just getting the paralax layer to show?

Thanks much in advance!

For references I used both:



(for non ACE) and


(for ACE)


LINKS TO THE SCRIPTS I USED!
Yami's Overlay Mapping - http://yamiworld.wordpress.com/yami-engine/image-display/overlay-mapping/
Yami's Core Engine - http://yamiworld.wordpress.com/yami-engine/basic-module/
Yanflys Party System - http://yanflychannel.wordpress.com/rmvxa/core-scripts/party-system/
Galvs Menu Layout - http://galvs-scripts.com/galvs-menu-layout/
Galvs Shop Upgrade - http://galvs-scripts.com/galvs-shopkeeper-graphics/

IF ANYONE CAN HELP ME THAT WOULD BE GREAT! THANKS!
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


The contents of the script should actually show the customization options, not the documentation. Can you copy lines 53-94 from the overlay script and paste them here?


Is the file called ground3-1.png or ground003-1.png? Is it saved in the Overlay folder?


When you play and decide it's not working, can you go into debug (F9) and check the value of the first 4 switches? Are they all ON?


Are you playing a new game, or are you continuing a game that was saved prior to adding the script?
 
Last edited by a moderator:

Zerphoon

Veteran
Veteran
Joined
Jul 30, 2012
Messages
31
Reaction score
4
First Language
English
Primarily Uses
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

The contents of the script should actually show the customization options, not the documentation. Can you copy lines 53-94 from the overlay script and paste them here?

Is the file called ground3-1.png or ground003-1.png? Is it saved in the Overlay folder?

When you play and decide it's not working, can you go into debug (F9) and check the value of the first 4 switches? Are they all ON?

Are you playing a new game, or are you continuing a game that was saved prior to adding the script?
 # Default: ON

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    LIGHT_SWITCH = 1        # Turn on/off light layer

    SHADOW_SWITCH = 2       # Turn on/off shadow layer

    PARALLAX_SWITCH = 3     # Turn on/off parallax layer

    GROUND_SWITCH = 4       # Turn on/off ground layer

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    # - Overlay Variables -

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    # A map can have more than one image per layer, that means you can have a

    # different light/shadow for day and night, or have a different ground when

    # an event occured.

    #--------------------------------------------------------------------------

    # Default: 1

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    LIGHT_VARIABLE = 2      # Switch to another light

    SHADOW_VARIABLE = 2     # Switch to another shadow

    PARALLAX_VARIABLE = 1   # Switch to another parallax

    GROUND_VARIABLE = 1     # Switch to another ground

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    # - Filename Prefix -

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    # This will make this script automatic, it will check if there are layers in

    # overlay folder

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    LIGHT = "light"         # Light layer's filename prefix

    SHADOW = "shadow"       # Shadow layer's filename prefix

    PARALLAX = "par"        # Parallax layer's filename prefix

    GROUND = "ground"       # Ground layer's filename prefix

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    # - Overlay Opacity -

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    # This will make this script automatic, it will check if there are layers in

    # overlay folder

    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    GROUND_OPACITY = 255

    PARALLAX_OPACITY = 255

    LIGHT_OPACITY = 128

    SHADOW_OPACITY = 96

It is saved as ground3-1.png

Just checked and yes they are all on.

Yes I am starting a new game NOT continuing.

EDIT:

Yes it is saved in the Overlay folder
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Are you able to zip up your project so I can take a look? If so, load it up somewhere so I can grab it - somewhere that's not 4shared and where I don't have to register in order to download (like dropbox, maybe)
 

Zerphoon

Veteran
Veteran
Joined
Jul 30, 2012
Messages
31
Reaction score
4
First Language
English
Primarily Uses
Are you able to zip up your project so I can take a look? If so, load it up somewhere so I can grab it - somewhere that's not 4shared and where I don't have to register in order to download (like dropbox, maybe)
Never heard of dropbox before this so I hope this works right, I also added the Yanfly Parallax Locking script in the scripts section because without that it was making the parallax I had to show up in editor of whats suppose to appear not allign with the player or events.

https://www.dropbox.com/s/rqd7nrys4cqjnbr/ZerphoonsProblem.zip
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
I can not get ground3-1.png to show up with Yami's script. Neither will the par3-1.png. HOWEVER THE light3-1.jpg shows up just fine.
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


    # - Overlay Variables -


    #--------------------------------------------------------------------------


    # Default: 1


    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


    LIGHT_VARIABLE = 2      # Switch to another light


    SHADOW_VARIABLE = 2     # Switch to another shadow


    PARALLAX_VARIABLE = 1   # Switch to another parallax


    GROUND_VARIABLE = 1     # Switch to another ground
light3-1 (which is set by variable #2) works, but par3-1 and ground3-1 (which are both set by variable #1) do not work?
Looks like something changed the value in variable #1 to something other than 1.


Please check what other events on the map might have changed Variable #1, and make sure that nothing else changes variables #1 and #2 as you have configured them for this script to use.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Yep, Galv's Shop Upgrade also uses variable 1.


When you install a script, you NEED to check what variable and switch ids have to be customized, and customize them! Create new variables and switches, name them, and then put their numbers into the script. Do NOT assume you can go with the defaults, because other scripts that let you customize will also likely use those same numbers as the defaults.
 

Zerphoon

Veteran
Veteran
Joined
Jul 30, 2012
Messages
31
Reaction score
4
First Language
English
Primarily Uses
Yep, Galv's Shop Upgrade also uses variable 1.

When you install a script, you NEED to check what variable and switch ids have to be customized, and customize them! Create new variables and switches, name them, and then put their numbers into the script. Do NOT assume you can go with the defaults, because other scripts that let you customize will also likely use those same numbers as the defaults.
 I think why I didn't catch that is when I typed in the script editor text search box I typed "Variable" which gave no results but when I typed it lower case it popped up a bunch of different ones x.x

How should I go about changing the variable usage?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You go to the overlay script, and where it says PARALLAX_VARIABLE = 1 and GROUND_VARIABLE = 1, change it to a variable id that isn't used. Then go into events and name that variable (or variables if you use different ones).


Also, when I tested your project without any changes, if I put the starting position on the map in question, it worked perfectly. If I put the starting position back to where it was and then talked to the NPC that took me to the parallax map, it also worked perfectly.


For you to have made it NOT work, you would have to have done OTHER stuff in your testing prior to going to that map. When you're testing something like this, you should JUST test THIS, and not half a dozen other things as well. Because going to the shop is what caused the problem, and you hadn't mentioned that you'd done that each time you tested it out. That would have been really helpful information and pointed us to the shop processing as a possible cause.
 

Zerphoon

Veteran
Veteran
Joined
Jul 30, 2012
Messages
31
Reaction score
4
First Language
English
Primarily Uses
You go to the overlay script, and where it says PARALLAX_VARIABLE = 1 and GROUND_VARIABLE = 1, change it to a variable id that isn't used. Then go into events and name that variable (or variables if you use different ones).

Also, when I tested your project without any changes, if I put the starting position on the map in question, it worked perfectly. If I put the starting position back to where it was and then talked to the NPC that took me to the parallax map, it also worked perfectly.

For you to have made it NOT work, you would have to have done OTHER stuff in your testing prior to going to that map. When you're testing something like this, you should JUST test THIS, and not half a dozen other things as well. Because going to the shop is what caused the problem, and you hadn't mentioned that you'd done that each time you tested it out. That would have been really helpful information and pointed us to the shop processing as a possible cause.
but all I did was as you mentioned :[ I started in the parallax map and I went from the original to the parallax.

I did however go into the shop upgrade script and changed "SALE_VAR = 1" to "SALE_VAR = 3" and it made everything work.

I really appreciate both of you stepping in and helping me it means a lot. Thank you so very much! I'll remember your advice too about looking over scripts and customizing them rather then simple plug n' play.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You started in the original and went to the parallax map without talking to anyone else first? I don't see how you could do that and have it NOT work. Unless you were playing a saved game where you'd previously done some shop processing.


Just make sure var 3 isn't used anywhere else.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top