MZ Player sprite offset plugin: does it exist for MZ?

Long story short, I'm considering using TileD to make maps, with grid size 24*24. because of this, I'm likely concerned there will be player clipping.

MV had this plugin http://www.yanfly.moe/wiki/Event_Sprite_Offset_(YEP) to offset sprite position. I'm wondering if something like this already exists for MZ, or if someone would be so kind to make it.
Hi!
You can do this using my plugin:

Using note tags:
1642288572779.png


Or plugin commands:
1642288599320.png
why thank you so much! and it works for every event, as in, is it possible to "batch it" or to apply it to every map event?
why thank you so much! and it works for every event, as in, is it possible to "batch it" or to apply it to every map event?
Yes, it is possible, I can think of two ways:

1 - Using the following script call(like put an autorun event on the beggining of every map, and after the script call, erase the event):

JavaScript:
for(const event of $gameMap.events()){
    event.setCoordOffset(X, Y)
}

This will set the offset coordinates X and Y to all events on the map.

2 - Editing the plugin itself:

Open the plugin with any text editor, and go to line 783:
1642289357929.png


Change the numbers to the offset you want, and they will be the default ones ^^

[[[EDIT]]]
About option 2, it will be applied to all map characters: Events, Player, Followers, and events.
To apply it to only events, put the EventOffset.js file below my plugin. And then you can edit it to suit your needs.
Thank you so much, I'll try it as soon as I wake up as it's late now.
About option 2, it will be applied to all map characters: Events, Player, Followers, and events.
I think that's the one I need, look how they look here
I think that's the one I need, look how they look here
Didn't get it, so, it works the way you expected?
Didn't get it, so, it works the way you expected?
no but it's probably my fault, today I've had to multitask a LOT and probably failed at everything haha
no but it's probably my fault, today I've had to multitask a LOT and probably failed at everything haha
I get it. I believe maybe you misunderstood what the plugin does.
As I can see, it indeed shifted a number of pixels on horizontal and vertical.
Maybe you can explain a little better what you want it to do?
I get it. I believe maybe you misunderstood what the plugin does.
As I can see, it indeed shifted a number of pixels on horizontal and vertical.
Maybe you can explain a little better what you want it to do?
I want to offset all the events and PC so that they don't look too out of place in maps built on a 24*24 tile size, to avoid clipping.
I want to offset all the events and PC so that they don't look too out of place in maps built on a 24*24 tile size, to avoid clipping.
Well, my plugin indeed does that offset. But I don't think that will work as you intended it to work.
Maybe if you set
OffsetX = -24
OffsetY = -24

But that only offset the sprite Image, not the collision.

Maybe you need to find a plugin that changes the RPG Maker tile size instead.

But I don't know how that will work using the TileD.
If you are just importing the TileD maps as parallax in RPG Maker, I guess you could try using this plugin.
Well, my plugin indeed does that offset. But I don't think that will work as you intended it to work.
Maybe if you set
OffsetX = -24
OffsetY = -24

But that only offset the sprite Image, not the collision.

Maybe you need to find a plugin that changes the RPG Maker tile size instead.

But I don't know how that will work using the TileD.
If you are just importing the TileD maps as parallax in RPG Maker, I guess you could try using this plugin.
I'm not heheh I'm using the VS plugin.

I'll have another look as soon as TileD plugin is updated, thank you so much for your help.

Original thread: https://forums.rpgmakerweb.com/threads/player-sprite-offset-plugin-does-it-exist-for-mz.143995/