RPG Maker Times

Smile Game Builder and RPG Maker Tutorials, Plugins, Resources, Windowskins

Basic Map Location Script

This basic script allows the map location to be displayed on the Status Menu. In other words, whatever the name of the map is will be shown there.

The map information is stored in “DataInfos” (located in the Data folder). The script is the same, but the extensions are different for RMXP (rxdata) and RMVX (rvdata).

So, to insert the location in a new window, the following is used:

RMXP

map_name = load_data(“Data/MapInfos.rxdata”)
self.contents.draw_text (0, 0, self.contents.width, 32, data[$game_map.map_id].name, 2)

RMVX

map_name = load_data(“Data/MapInfos.rvdata”)[$game_map.map_id].name
contents.draw_text(x, y, self.contents.width, WLH, map_name, 2)

2 thoughts on “Basic Map Location Script

Categories

Archives

Hi-Tex House Pack Vol. 1

For Smile Game Builder

The Hi-Tex House Pack Vol. 1 contains 297 assets: 284 house wall terrains and 13 models. Get your copy for only $5!

Sponsored Ad

Sponsored Ad


Follow me on Twitter

© 2008-2018, Companion Wulf. All Rights Reserved.