[Done] Master Levels Menu Interface

For Total Conversions and projects that don't otherwise fall under the other categories.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Re: [Done] Master Levels Menu Interface

Postby Gez » Fri Apr 16, 2021 1:49 am

You'd need to edit the library script, recompile it, and update the compiled object.

First, open the pk3 with SLADE. Look at the file named MasterLevelsLibrary.txt in the root folder.

It's got a .txt extension, so SLADE will treat it as a regular text file. Use the "Text Language:" drop box to tell it instead to treat it as ACS (ZDoom).

From lines 48 to 68, you have the level track association, so update that as appropriate. Then save and hit the "compile ACS" button.

Now go to the ACS folder. You'll see MSTRLVLL.o (the original compiled script) and MasterLevelsLibrary.o (the new compiled script).

(If you don't have MasterLevelsLibrary.o, it means you haven't configured SLADE to use ACC, so you should do that first and try compiling again. Download ACC, install it somewhere, then in SLADE go to Edit->Preferences->Scripting->ACS and set the path to ACC.)

Delete MSTRLVLL.o and rename MasterLevelsLibrary.o to MSTRLVLL.o. Save the archive after that. Now the "varied music" option should play Peter's music pack.
Gez
 
 
 
Joined: 06 Jul 2007

Previous

Return to TCs, Full Games, and Other Projects

Who is online

Users browsing this forum: TheSkyBug and 4 guests