Skip to content
Snippets Groups Projects

Custom map names

Open Lactozilla requested to merge custom-map-names into next

Backwards compatible:

  • Levels 1 to 1035 are named MAP01 to MAPZZ

Backwards incompatible:

  • Do not use level 1100 in G_ExitLevel or G_SetCustomExitVars; use "SCENE_TITLE" instead.
  • Do not use level 1101 in G_ExitLevel or G_SetCustomExitVars; use "SCENE_EVALUATION" instead.
  • Do not use level 1102 in G_ExitLevel or G_SetCustomExitVars; use "SCENE_CREDITS" instead.
  • Do not use level 1103 in G_ExitLevel or G_SetCustomExitVars; use "SCENE_ENDING" instead.

New:

  • Updated to support map names:
    • map console command
    • Lua functions:
      • G_BuildMapName
      • G_BuildMapTitle
      • G_ExitLevel
      • G_SetCustomExitVars
    • SOC LEVEL:
      • Header line
      • NEXTLEVEL
    • SOC EMBLEM:
      • MAPNUM
    • SOC UNLOCKABLE:
      • VAR (if TYPE is WARP)
    • SOC CONDITION:
      • MAPVISITED, MAPBEATEN, MAPALLEMERALDS, MAPULTIMATE, MAPPERFECT
      • MAPSCORE, MAPTIME, MAPRINGS
      • NIGHTSSCORE, NIGHTSTIME, NIGHTSGRADE
    • SOC MAINCFG:
      • SPSTAGE_START
      • SPMARATHON_START
      • SSTAGE_START
      • SMPSTAGE_START
      • TITLEMAP
      • BOOTMAP
      • TUTORIALMAP
  • Added G_GetMapThumbnail and G_GetMapThumbnailWide to Lua
  • For named maps:
    • Use [MAPNAME]_PIC instead of MAPXXP
    • Use [MAPNAME]_WIDEPIC instead of MAPXXW
    • Use [MAPNAME]_METALREPLAY instead of MAPXXMS
    • The default map music name matches the map name (example: O_MP_JADEVALLEY instead of O_MAPJVM.)
  • Increased maximum music name length from 6 to 64

Example addon: mp_jadevalley.pk3

Edited by Lactozilla

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Logan Aerl Arias added 31 commits

    added 31 commits

    Compare with previous version

  • Lactozilla added 1 commit

    added 1 commit

    • c0a2fdfc - Fix M_GetFilenameFromPath to use PATHSEP

    Compare with previous version

  • Lactozilla resolved all threads

    resolved all threads

  • Lactozilla added 1 commit

    added 1 commit

    • 5609348c - Fix W_GetFolderLumpsPwad including the folder entry as a lump

    Compare with previous version

  • Lactozilla added 2 commits

    added 2 commits

    • a80dce97 - Use the gamemap's actual lumpnum to load it
    • 2707b869 - Delete SCANTHINGS

    Compare with previous version

  • Logan Aerl Arias requested review from @LoganAir

    requested review from @LoganAir

  • Lactozilla added 31 commits

    added 31 commits

    Compare with previous version

  • Lactozilla added 1 commit

    added 1 commit

    Compare with previous version

  • Lactozilla added 214 commits

    added 214 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading