じ☆ve冰风 发表于 2026-7-19 12:28:39

OcRam_Map_Editor (edit maps in-game!)

Introduction

Unlike my other plugins this plugin won't need OcRam_Core in order to work.

This plugin provides autotiling (and B-E tiling) in-game for your RPG Maker projects! Enable autosave/load for edited map data with 1 plugin parameter!

OR then just do it with custom logics and disable autosave/load. Save map data with $gameMap.saveData() and load it with $gameMap.loadData()

Edit tiles with $gameMap.setAutoTile(x, y, z, tile_idx, d4)
x = X coordinate to paint
y = Y coordinate to paint
z = Layer to paint (starts with 0)
tile_idx = Tile index from left-to-right (starts with 0)

Spoiler: Tile indexesIndexes 0 to 127 are autotiles. Indexes 128 to 255 will be processed as 'Normal tiles' even if used 'setAutoTile'.



And draw B-E tiles (or choose ANY shape from autotiles!)
$gameMap.setNormalTile(x, y, z, tile_id)
x = X coordinate to paint
y = Y coordinate to paint
tile_id = See spoiler

Spoiler: Tile id helpB = 0 to 255
C = 256 to 511
D = 512 to 767
E = 768 to 1023
A1 (Animations) = 2048 to 2815
A2 (Ground) = 2816 to 4351
A3 (Buildings) = 4352 to 5887
A4 (Walls) = 5887 to 8191
A5 = 1536 to 1663
I've tested this also in MV and seems to work same way as in MZ.

Terms of Use: Free to use with credits to 'OcRam'

This plugin has no overwrites at all, so it should be placed bottom of your plugin list.

Happy RPG Making!


本贴来自国际rpgmaker官方论坛作者:OcRam处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/ocram_map_editor-edit-maps-in-game.151717/
页: [1]
查看完整版本: OcRam_Map_Editor (edit maps in-game!)