/
New MAPINFO variables and IDs.txt
29 lines (26 loc) · 2.3 KB
/
New MAPINFO variables and IDs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
New variables being added to the source code/MAPINFO/GetLevelInfo:
Variable LEVELINFO constant Description
|-------------------|---------------------------|-----------
|PartNum |LEVELINFO_PARTNUM |Level part number for multi-part levels, like levelnum, but for parts.
|SongID |LEVELINFO_MUSIC_ID |Which song to play from Magical Mary 1's list.
|FoliageColor |LEVELINFO_FOLIAGE_COLOR |Color used for leaf clusters and grass. 0: Normal, 1: Autumn, 2: Snowy, 3: Cherry Blossoms, 4: Cumulus Peaks?
|LevelType |LEVELINFO_TYPE |Level type - 0: Normal, 1: Special Stage, 2: Battle Arena, 3: Twisted Metal-like combat?
|TimeOfDay |LEVELINFO_TIMEOFDAY_ON |If not -1, indicates map supports the ToD system and will guarantee it uses the given time period ID (list below) if ToD is disabled by the user.
|ColorSet |LEVELINFO_TOD_COLORSET |Which set of light/fog colors this level will use. 0 is the default, generic set used by Peacewater.
|SkySet |LEVELINFO_TOD_SKYSET |Pairs of sky images used for different times of day if the time-of-day system is enabled. Default is 0, which are Peacewater's skies.
|RadioScreenLine |LEVELINFO_RADIO_LINE |First linedef ID used for the animated radio screen. On-screen cover art objects start with this same number as their thing ID.
|RadioSpeakerTID |LEVELINFO_SPEAKER_TID |Thing ID used by radio speakers in this level. If 0, the radio will use TID 99999, or the player's personal radio, if that's enabled.
|SpecialStageNumber |LEVELINFO_SPECSTG_NUMBER |Indicates that a level is a Special Stage by being non-zero, and also which Special Stage it is (used for star/time requirements).
TIME OF DAY REVIVAL?
The quickly-scrapped time-of-day system could be revived for new levels, minus those that use 3D skyboxes designed only for specific times of day (like the 3D river/Cumulus Peaks skies).
To make things more interesting, there should be more times implemented than just day, sunset, night, and sunrise... Here's the list.
(Also, to force a given time of day to be used, edit the time of day global variable then call "ToD_ForceUpdate".
0 Day
1 Early Sunset
2 Sunset
3 Late Sunset
4 Night
5 Early Sunrise
6 Sunrise
7 Late Sunrise
Just like when the time of day system was used, the cloudy sky and fog are special, and should probably be connected to the rain ambience's lightning flashes.