RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Tile Table's Values [SOLVED]

Started by da good king, November 17, 2009, 05:29:11 AM

0 Members and 1 Guest are viewing this topic.

da good king

At the moment, I am trying to add terrain tags to my game,(without using the huge tile extension script, because my goal is to script this game by myself. So, i.e, I actually want to learn how to use RMVX tile tables.) I was looking around Game_Map to figure out how the tilemap works, and I realize that the current tiles within each map are in a three-dimensional table. I was printed a few tiles to check their tile IDs, but obviously the game uses some hex value for it that I don't quite understand.

I simply want to relate Tile ID to a terrain_tag array, so what I'm wondering is just how RMVX stores their tile_IDs. I.e., I need to get from tile_id = game_map[1,1,0] = 2048 to tile ID = 1.

I see....So for tiles in the tilesets B .. E the IDs actually are from 1 - 767. Unfortunately, I could care less about the terrain of a staircase as compared to the terrain of a forest.


Nevermind :P, it seems I've got it down. Thanks for being my cardboard programmer, though ;)

I might as well list the values I found for the offsets later. (I'm not quite done, and I'm about to call it a night.)