• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[RME] Replacing items.

Peonso

Godly Member
Joined
Jan 14, 2008
Messages
1,787
Solutions
30
Reaction score
1,592
I wanna replace map items from a script or xml file, something like code below (but bigger). And I want to apply it to a couple of maps, so going ctrl+shift+f is not an option. There is anyway to do so? Or have an option to setup how the map editor will handle conversion when doing it through to ctrl+p?
Code:
   6444->1267
   6445->1268
   6446->1267
   6447->1268
   9026-9042->101
   9043->4526
   9044->4527
   9045->4528
   9046->4529
   9047->4530
   9048->4531
   9049->4532
   9050->4533
   9051->4534
   9052->4535
   9053->4536
   9054->4537
   9055->4538
   9056->4539
   9057->4540
   9058->4541
   9067->405
   9224-9232->3139
 
Last edited:
I wanna replace map items from a script or xml file, something like code below (but bigger). And I want to apply it to a couple of maps, so going ctrl+shift+f is not an option. There is anyway to do so? Or have an option to setup how the map editor will handle conversion when doing it through to ctrl+p?

anyone knows some documentation on otb binary files structure? it can be done with a simple program but i have no time atm to reverse eng. into binaries or hacks mapeditor sources.
i think tfs only-read map file, so you cannot write your changes to it, im not sure tho, someone correct me if im wrong.
 
anyone knows some documentation on otb binary files structure? it can be done with a simple program but i have no time atm to reverse eng. into binaries or hacks mapeditor sources.
i think tfs only-read map file, so you cannot write your changes to it, im not sure tho, someone correct me if im wrong.

Hope this helps.
https://github.com/hjnilsson/rme/issues/106
https://github.com/shdpl/libotbm
https://github.com/edubart/otclient/blob/master/src/client/mapio.cpp

It would be good if it was possible to replace a combination of tile where 2 items are present for a single item, or the opposite, replace a single item for a combination.
 
Back
Top