Layer Galv's script problem

I have a strange problem 😮
I use this @Galv script:


https://galvs-scripts.com/galvs-layer-graphics/


I add a layer graphic in PS, like this:


View attachment 57173


(I not use the parallax map, the map is created directly in RPG Maker)


What happens is this.
The library should have the picture above, but instead not appears:


View attachment 57174


In other points of the map instead the picture is displayed:


In PS:


View attachment 57175


In game:


View attachment 57176


Any suggestion?
Up 😀
Try to look into the z value. If it is 0 it will be displayed as ground. Try a higher value...


Hope it helps
But if I insert the z value > 0, the picture will not be seen on top the character?
No, because Z= 0  means the ground. For it to be shown above the character it needs to be higher. 


In the script it says


z value    - what level the layer is displayed at (ground is 0)
No, because Z= 0  means the ground. For it to be shown above the character it needs to be higher. 


In the script it says


z value    - what level the layer is displayed at (ground is 0)

I've tried to modify the script call, but not function:

Code:
layer(18,2,["map18-ground",0,0,255,
10,0,0,0])
refresh_layers
Try like this:


layer (18,2,["map18-ground", 0,0,255,700,0,0,0])


This will make the layer above the char
The layer is ground, so it must not stand above the character... but above the tileset..


As I have already explained, in the images at certain points of the map, the image files are displayed, while elsewhere in the map, no:


Senza titolo-4.pngSenza titolo-3.png


Senza titolo-1.png


Senza titolo-2.png


For example, in the mobile is not displayed..
I do not know if this can depend on the terrain number of the library.
Oh ok I completely misunderstood! Sorry about that. Try 50 as Z value. usually its bellow char and above everything else, at least with other scripts. 


Try that one. If it doesn't work keep trying z values.
Oh ok I completely misunderstood! Sorry about that. Try 50 as Z value. usually its bellow char and above everything else, at least with other scripts. 


Try that one. If it doesn't work keep trying z values.

I have carried out some tests, and does not work if the number ground tag is greater than 0 D=
If you wish send me the project and I will look into it.


[email hidden]

Original thread: https://forums.rpgmakerweb.com/threads/layer-galvs-script-problem.74159/