RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Tile Table's Values [SOLVED]

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 87
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.)



« Last Edit: November 17, 2009, 06:43:26 AM by da good king »