Skip to content

Maps

The game world is made up of maps grouped into areas. An area is a collection of related maps, like all the rooms in Boo's Mansion. Most chapters have one or two areas.

Paper Mario's areas
FolderJapaneseEnglish
kmrクリむらGoomba Village
macまちToad Town
tikまちのちかToad Town Tunnels
kgrくじらのなかInside the Whale
kkjきのこ城Princess Peach's Castle
hos星ふる丘Shooting Star Summit
nokノコノコむらKoopa Village
trdとりでKoopa Bros. Fortress
iwa岩山Mt. Rugged
droカラカラタウンDry Dry Outpost
sbkカラカラ砂漠Dry Dry Desert
iskカラカラいせきDry Dry Ruins
mim迷いの森Forever Forest
obkテレサハウスBoo's Mansion
arnあれのGusty Gulch
dgbドガボンの城Tubba Blubba's Castle
omoヘイホーのおもちゃばこShy Guy's Toy Box
janジャングルJade Jungle
kzn火山Mt. Lavalava
floフラワーランドFlower Fields
samさむいさむい村Shiver City
praパラレルきゅうでんCrystal Palace
kpaクッパ城Bowser's Castle
osrきのこ城そとOutside Peach's Castle
endエンディングEnding
mgmミニゲームMinigames
gvゲームオーバーGame Over
tstテストマップTest Map

Paper Mario names each area with three letters, and starts each map's name with its area's name, such as the map kmr_20 in kmr. Your areas and maps don't have to follow this pattern.

Each map is a folder in its area's folder, such as world/area/kmr/kmr_02/. It holds:

  • The map: its models, collision, zones, markers, and settings, which you edit in the map editor.
  • main.c: the map's code, which controls what happens in the map. The game starts its EVS_Main EVT script when the player enters the map.
  • A header named after the map, such as kmr_02.h, which the map's code includes.

Creating the map

  1. In the Filesystem, right-click an area's folder in world/area, such as kmr, and select New > Map. To start a new area, right-click world/area and select New > Area instead. A new area comes with its first map.
  2. Enter a name for the map. Diorama64 suggests the area's name followed by the first free number. A map's name can use letters, numbers, and underscores, and no two maps can share one.
  3. Select OK.

Refer to the map's objects

Each model, collider, and zone in the map has a constant, such as MODEL_o101, COLLIDER_deilie, and ZONE_1, that the map's code can refer to.

Map settings

To change the map's settings, open the map and select nothing. The properties show the map's settings. In Star Rod without Diorama64, they're in the Options tab.

SettingWhat it sets
LocationWhere the pause menu's map shows the player, such as Toad Town. Keep the previous location keeps the location of the map the player came from.
TattleThe message the player's partner says when it tattles on the map, such as MapTattle_kmr_02. The list has the project's messages whose names start with MapTattle.
ReverbThe reverb on sound effects and ambient sounds. Small room adds a few short reflections. Each Echo repeats a sound after its delay, fading each time.
BackgroundThe image behind the map, or without one, the color the camera clears to.
CameraThe camera's field of view, how near and far it draws, and whether it leads the player by looking ahead of them.
World fog and Entity fogFog over the map's models, and over its NPCs and entities.
LightingWhether the map has sprite shading, the color of a sprite's unlit side, and how wide its lit edges are.

Some base-game maps also have Song variation, which plays the second version of six songs, such as the special battle theme and the new partner jingle, in place of the one a script asks for. The base game uses it in dungeons and dangerous areas. The map's settings only show it on maps that use it. To choose a version of a song yourself, give it to SetMusic.

The game sets up the location, camera, and fog as the map loads, before its EVS_Main starts, so the map's EVT scripts can change them, such as to move the camera in a scene.

If the tattle changes during the game, write a get_tattle function in the map's code that returns the message to use. It takes the place of Tattle.

s32 get_tattle(void) {
    if (evt_get_variable(nullptr, GF_KPA16_ShutOffLava)) {
        return MSG_MapTattle_kpa_15_after;
    }
    return MSG_MapTattle_kpa_15_before;
}

Testing the map

With the map's main.c or map.xml open, select Game > Play. The game starts in your map. If you last saved in that map, it starts where you saved. Otherwise, it starts at the map's first entry.