Force player to quit after a specific map

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
saturian1
Posts: 1
Joined: Sat Dec 02, 2023 11:19 am

Force player to quit after a specific map

Post by saturian1 »

Some WADs have only for example 20 maps and it loads default Doom 2's map 21 without any proper ending or info, leaving player confused.

I was thinking if it's possible to "force" a player to stop playing after a specific map, like putting him in blank black room with no way to move or exit? Or just display some message and not load next level at all?

Is there anything like this in ZDoom possible or do I have to just open up SLADE and create dummy empty maps myself?
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Force player to quit after a specific map

Post by ramon.dexter »

You can always override this behavior by duplicating said maps with empty maps and properly ending game thought mapinfo.

So, your wad has 20 playable levels and 10 blank ones to disable playing default maps. The game in properly ended in map20, and since the other maps are replaced, they dont start.
User avatar
InsanityBringer
Posts: 3392
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Re: Force player to quit after a specific map

Post by InsanityBringer »

I mean, this is what MAPINFO is for. Even if the mapset in question is designed for vanilla you can still put in a mapinfo lump to make it end after level 20. In fact you can do that with UMAPINFO these days which work in many extant ports.

Return to “General”