All Clear Message (mini addon) (R3.5: Corner Completionist)

For high-res texture/sprite projects, sprite-fix patches, music add-ons, music randomizers, and other graphic/sound-only projects.
Forum rules
The Projects forums are only for 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.
User avatar
Spaceman333
Posts: 622
Joined: Thu Oct 13, 2016 8:40 pm

All Clear Message (mini addon) (R3.5: Corner Completionist)

Post by Spaceman333 »

Simple tiny addon I made for myself.
Displays a "All Clear" message when all monsters are dead.

Image

If you enjoy playing to get 100% monster kills, you may find this handy.
If new monsters appear via scripting or otherwise, the message will vanish and come back again when those are dead too.
AllClearMessage_S_Completionist_RightCorner.pk3
Spoiler: Completionist V2
AllClearMessage_S.pk3
AllClearMessage.pk3
Change Log:
24.06.2017 - Upgraded Completionist version. Now it appears in the top right corner and also displays a golden All OK when all 3 objectives are done.
18.06.2017 - Updated the Anon's Contribution edtion with new download links. Check out those rad webms below! (+ fixed issue with PB)
23.05.2017 - Added _S_Completionist version. Same as _S version, but this messages about Kills, Items and Secrets!
22.05.2017 - Added _S version. This one includes a tiny subtle beep beep sound for extra feedback and polish, otherwise its the same as its original soundless cousin.

____________________________________________________________

NEW: Big Font & Record Scratch/Mute Music Edition
An Anonymous user on /vr/ contributed their own specialized version of the mod, suitable for high resolutions!

WebM Previews:
https://s1.webmshare.com/yYj3B.webm
https://s1.webmshare.com/5xJAK.webm
https://s1.webmshare.com/vg0W0.webm
https://s1.webmshare.com/OyL4W.webm
https://s1.webmshare.com/QPGJr.webm
https://s1.webmshare.com/JGL47.webm

Download Links:
http://www.mediafire.com/file/xnhjm2xh1 ... _HLM_S.pk3
http://www.mediafire.com/file/yl9x6qsso ... ge_HLM.pk3
The former is just the allclear message with the recordscratch+droning, the latter also has the scoreboard music from Hotline Miami 1 (as D_DM2TTL) and 2 (as D_DM2INT), plus some other track from 2 (as D_READ_M).
http://s000.tinyupload.com/index.php?fi ... 3610446632 (old)

Features:
*Uses Big Font (Excellent for higher resolutions)
*Features a sound effect and music switch effect
(sort of like a computerized record scratch that stops the music and makes the atmosphere feel calm after the last kill)
*Will not display the message on maps with 0 monsters
____________________________________________________________

If you want to make your own versions of this mod and share it with others, I can post it on the first post too. Post it in this thread and I'll put it up.
You do not have the required permissions to view the files attached to this post.
Last edited by Spaceman333 on Sun Jun 25, 2017 5:46 pm, edited 11 times in total.
User avatar
Armaetus
Posts: 1252
Joined: Fri Mar 13, 2009 3:55 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: New York State

Re: All Clear Message (mini addon)

Post by Armaetus »

This is a pretty neat yet small mod.
User avatar
Enjay
 
 
Posts: 26439
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: All Clear Message (mini addon)

Post by Enjay »

What does it do on maps that restock the enemies via ACS?
User avatar
Mikk-
Posts: 2272
Joined: Tue Jun 30, 2009 1:31 pm
Location: Somewhere off Kanagawa

Re: All Clear Message (mini addon)

Post by Mikk- »

If new monsters appear via scripting or otherwise, the message will vanish and come back again when those are dead too.
User avatar
Enjay
 
 
Posts: 26439
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: All Clear Message (mini addon)

Post by Enjay »

Thanks. I'm having major reading comprehension failings today for some reason. :?
User avatar
Spaceman333
Posts: 622
Joined: Thu Oct 13, 2016 8:40 pm

Re: All Clear Message (mini addon) (+extra version)

Post by Spaceman333 »

Thank you, glad to see others are enjoy it too. :)

UPDATE:
Added a new extra tweaked version by Anonymous from /vr/, featuring a big font and sounds.See the first post for details.
I appreciate their contribution and if anyone else wants to make an enhanced version of this mod and share it, I can add it to the OP too.

UPDATE 2:
Inspired by the Anon's tweak, I updated the original mod with a tiny beep sound effect. It still uses the small font and doesn't cancel the music.
User avatar
Hexereticdoom
Posts: 618
Joined: Thu Aug 08, 2013 1:30 pm
Graphics Processor: nVidia with Vulkan support
Location: Spain

Re: All Clear Message (mini addon) (R2: Now with beep)

Post by Hexereticdoom »

Heh, this is a pretty nice addon! Good job man! :thumb:

One suggestion BTW: would it be possible to extend the functionality with items and secrets? That is, for showing 'ALL ITEMS COLLECTED UP' and/or 'ALL SECRETS DISCOVERED' or similar, like the defeating enemies action... If so, this addon would rock! :yup:
User avatar
Gollgagh
Posts: 205
Joined: Thu Apr 16, 2015 8:24 am

Re: All Clear Message (mini addon) (R2: Now with beep)

Post by Gollgagh »

Hexereticdoom wrote:One suggestion BTW: would it be possible to extend the functionality with items and secrets? That is, for showing 'ALL ITEMS COLLECTED UP' and/or 'ALL SECRETS DISCOVERED' or similar, like the defeating enemies action... If so, this addon would rock! :yup:
Should be, it's a simple variable check:

Code: Select all

if(GetLevelInfo (LEVELINFO_KILLED_MONSTERS) == GetLevelInfo (LEVELINFO_TOTAL_MONSTERS))
User avatar
Spaceman333
Posts: 622
Joined: Thu Oct 13, 2016 8:40 pm

Re: All Clear Message (mini addon) (R2: Now with beep)

Post by Spaceman333 »

Hexereticdoom wrote:Heh, this is a pretty nice addon! Good job man! :thumb:

One suggestion BTW: would it be possible to extend the functionality with items and secrets? That is, for showing 'ALL ITEMS COLLECTED UP' and/or 'ALL SECRETS DISCOVERED' or similar, like the defeating enemies action... If so, this addon would rock! :yup:
Eh why not, its easy enough. GetLevelInfo has these:
LEVELINFO_FOUND_SECRETS / LEVELINFO_TOTAL_SECRETS
LEVELINFO_FOUND_ITEMS / LEVELINFO_TOTAL_ITEMS

I have two things I'm a bit puzzled with and could use some advice on.
1. To keep the script performance conscious, should I change the while loop's Delay(1) to Delay(35)? Would that be a good idea?
2. How should I place and style the 3 messages on the screen? I'm thinking either just placing them top middle in 3 rows, or have a single row, but 3 columns?
User avatar
Gollgagh
Posts: 205
Joined: Thu Apr 16, 2015 8:24 am

Re: All Clear Message (mini addon) (R2: Now with beep)

Post by Gollgagh »

Code: Select all

script "AllClear" ENTER
{
	str string[8] = {"",					"-All Items-", "-All Secrets-",
					 "-All Secrets/Items-", "-All Kills-", "-All Kills/Items-",
					 "-All Kills/Secrets-", "-All Clear-"};
	int flags = 0;
	
	while(TRUE){
		if(GetLevelInfo(LEVELINFO_KILLED_MONSTERS) == GetLevelInfo(LEVELINFO_TOTAL_MONSTERS)){
			flags |= 4;
		} else {
			flags &= 3;
		}
		if(GetLevelInfo(LEVELINFO_FOUND_SECRETS)   == GetLevelInfo(LEVELINFO_TOTAL_SECRETS)){
			flags |= 2;
		} else {
			flags &= 5;
		}
		if(GetLevelInfo(LEVELINFO_FOUND_ITEMS)     == GetLevelInfo(LEVELINFO_TOTAL_ITEMS)){
			flags |= 1;
		} else {
			flags &= 6;
		}

		if(flags){
			HudMessage(s:string[flags]; HUDMSG_TYPEON, 0, CR_GREEN, 0.5, 0.02, 1.0, 0.02, 1.0);
		}
		Delay(35);
	}
}
User avatar
Spaceman333
Posts: 622
Joined: Thu Oct 13, 2016 8:40 pm

Re: All Clear Message (mini addon) (R2: Now with beep)

Post by Spaceman333 »

*Finishes making the new version*
*Tests it out thoroughly*
*So proud with my own amateur code work*
*Comes to the thread to release it*
*Sees Gollgagh's optimized and flexible sublime code work*

Ah man. This is akward.
I really like what you did there, that kind of code work is way beyond my ability, yet at the same time I feel torn as I already finished and fine-tuned the completionist version. Forgive me man. :oops:

UPDATE 3: Added completionist version that gives individual messages for 100% Kills, 100% Items and 100% Secrets. Uses the Beep version as a base.

Image
Last edited by Spaceman333 on Wed May 24, 2017 5:34 pm, edited 1 time in total.
User avatar
Gollgagh
Posts: 205
Joined: Thu Apr 16, 2015 8:24 am

Re: All Clear Message (mini addon) (R3: Completionist!)

Post by Gollgagh »

No problem man, that's what you get with a freshly graduated, unemployed computer science student living in his mom's attic: code wankery. :P
User avatar
Spaceman333
Posts: 622
Joined: Thu Oct 13, 2016 8:40 pm

Re: All Clear Message (mini addon) (R3: Completionist!)

Post by Spaceman333 »

Gollgagh wrote:No problem man, that's what you get with a freshly graduated, unemployed computer science student living in his mom's attic: code wankery. :P
That feels relieving to hear. :)
I always want to recognize effort when its given like that, so even though it didn't get included, I still appreciate the gesture. Thank you.
User avatar
Hexereticdoom
Posts: 618
Joined: Thu Aug 08, 2013 1:30 pm
Graphics Processor: nVidia with Vulkan support
Location: Spain

Re: All Clear Message (mini addon) (R3: Completionist!)

Post by Hexereticdoom »

Woah ha ha, fantástico, très bien, splendid work! :wub:

Thanks both for your effort @Spaceman333 and @Gollgagh! :cheers: :thumb:
User avatar
Spaceman333
Posts: 622
Joined: Thu Oct 13, 2016 8:40 pm

Re: All Clear Message (mini addon) (R3: Completionist!)

Post by Spaceman333 »

Hexereticdoom wrote:Woah ha ha, fantástico, très bien, splendid work! :wub:

Thanks both for your effort @Spaceman333 and @Gollgagh! :cheers: :thumb:
Thank you, I'm glad you like it! :D

Return to “Graphic/Audio Patches”