Actions

Documentation:roominfo

From LMHack

Author(s)

weirdboo

Description

Documentation on the jump table roominfo. This file defines various details about each room in each map.

roominfo can be edited with Jumpah.

Field Type Proper Values Description
name String Any string. Nintendo always set this string to "room", but it can be anything you want.
RoomNo Integer map0, map5, map6, map7, and map8: 0-3. The room number.
map1, map3, map4, map9, map10, map11, and map12: 0.
map2: 0-71.
Thunder Integer 0-3. The frequency that lightning/thunder should occur in the room. The higher the number, the more frequent.
VRbox Boolean 0 or 1. If set to 1, the room will use the skybox tied to the map. If set to 0, the room will use a black background instead of a skybox.
DustLv Integer 0-3. The level of dust for the room. The higher the number, the more dust Luigi will create when he walks around. Values beyond 4 will leave dust clouds that don't go away for a while.
LightColorR Integer 0-255. Red portion of the RGB color of a lit room. The color of a dark room can be edited with Roomah.
LightColorG Integer 0-255. Green portion of the RGB color of a lit room. The color of a dark room can be edited with Roomah.
LightColorB Integer 0-255. Blue portion of the RGB color of a lit room. The color of a dark room can be edited with Roomah.
Distance Integer Any positive integer. How far the light should spread out in a room. The higher the number, the farther the light will reach.
Lv Integer 0-4. Lv Colors
sound_echo_parameter Integer 0, 5, 10, 15, 20, or 25. The echo size of the room.
0 is used for outdoor rooms.
5 is used for both Washrooms and the Laundry Room.
10 is used for most normal rooms.
15 is used for longer rooms like the Ball Room and Conservatory.
20 is used for both Bathrooms, the Bottom of the Well, and the Training Room.
25 is used for boss arenas.
sound_room_code Integer If Foyer creaking noises, then 5. 5 will make the room play the Foyer creaking noises. Any other value will make the room play its default music.
If anything else, then any integer.
sound_room_size Integer If inside, then 0 or 1. If outside, then 2. The size of the room. 0 is used for small rooms and hallways, while 1 is used for normal rooms. 2 is used for outdoor rooms and adds a howling wind effect. If an incorrect size is used, no music will play.