implement Episode 3 lobby banners

This commit is contained in:
Martin Michelsen
2023-09-07 22:34:07 -07:00
parent bd6102a894
commit cfa4e3b8b0
8 changed files with 236 additions and 0 deletions
+45
View File
@@ -382,6 +382,51 @@
"Thread +": [800, 8],
},
// Episode 3 lobby banners. Currently only images are supported.
// Banners are specified as lists of [type, which, filename]. Files are
// expected to be BMP or PPM files in the system/ep3/banners directory. type
// should be 1 for image files. which is a bitmask specifying where in the
// lobby the banner should appear; the bits are:
// 00000001: South above-counter banner (facing away from teleporters)
// 00000002: West above-counter banner
// 00000004: North above-counter banner (facing toward jukebox)
// 00000008: East above-counter banner
// 00000010: Banner above west (left) teleporter
// 00000020: Banner above east (right) teleporter
// 00000040: Banner at south end of lobby (opposite the jukebox)
// 00000080: Immediately left of 00000040
// 00000100: Immediately right of 00000040
// 00000200: Same as 00000080, but further left and at a slight inward angle
// 00000400: Same as 00000100, but further right and at a slight inward angle
// 00000800: Banner at north end of lobby, above the jukebox
// 00001000: Immediately right of 00000800
// 00002000: Immediately left of 00000800
// 00004000: Same as 00001000, but further right and at a slight inward angle
// 00008000: Same as 00002000, but further left and at a slight inward angle
// 00010000: Banners at west AND east ends of lobby, next to battle tables
// 00020000: Immediately left of 00001000 (2 banners)
// 00040000: Immediately right of 00001000 (2 banners)
// 00080000: Banners on southwest AND southeast ends of the lobby
// 00100000: Banners on south-southwest AND south-southeast ends of the lobby
// 00200000: Floor banners in front of the counter (4 banners)
// 00400000: Banners on both small walls in front of the battle tables
// 00800000: On southern platform
// 01000000: In front of jukebox
// 02000000: In western battle table corner (next to 4-player tables)
// 04000000: In eastern battle table corner (next to 2-player tables)
// 08000000: In southeastern battle table corner (next to 2-player tables)
// 10000000: In southwestern battle table corner (next to 4-player tables)
// 20000000: Just north-northwest of the counter
// 40000000: In front of the small wall in front of the 2-player battle tables
// 80000000: Inside the lobby counter, facing southeast
// So, to make the image system/ep3/banners/test-image.bmp appear in the lobby
// above both the left and right teleporters, you would set
// Episode3LobbyBanners like so:
// "Episode3LobbyBanners": [
// [1, 0x00000030, "test-image.bmp"],
// ],
"Episode3LobbyBanners": [],
// Quest category configuration. See README.md for information on how quest
// files should be named. This list specifies the quest category names and
// descriptions. (We don't use a map here because the category order