Hubs - intermission tally screen and accumulated %

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
stevet1
Posts: 27
Joined: Thu Jan 28, 2021 5:30 am

Hubs - intermission tally screen and accumulated %

Post by stevet1 »

Hi, in a set of maps linked together in a hub I want to display the intermission screen when moving between maps - easy enough, set allowIntermission against the clusterdef. However what I also want is the tally of monsters to show the accumulated % of monsters killed in a map when leaving it (not the total for the whole cluster - just for this map). The default behaviour displays the % killed in this visit to that map. So for example, if I've a map with 10 monsters in, and I kill 9 on the first visit, then teleport to a new map, then teleport back and kill the remaining monster I want it to say 100% kills when I teleport again, but it will show 10% instead. Is there an easy way around this?
Thanks.
stevet1
Posts: 27
Joined: Thu Jan 28, 2021 5:30 am

Re: Hubs - intermission tally screen and accumulated %

Post by stevet1 »

Seems like I may be able to build my own intermission screen and use "GetLevelInfo" which gives me the stats that I want.

Return to “Mapping”