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 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.

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

Postby Spaceman333 » Wed May 17, 2017 3:49 pm

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
Upgraded completionist version. Now appears in the top right hand corner and also reports when all three objectives are 100%.
(2.44 KiB) Downloaded 341 times

Spoiler: Completionist V2

AllClearMessage_S.pk3
Release 2, Now with a sound effect. Otherwise the same as the original. Small font, no music cutting.
(2.21 KiB) Downloaded 211 times

AllClearMessage.pk3
Tiny mini addon mod. Compatible with literally everything. No Sounds.
(965 Bytes) Downloaded 175 times


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.
Last edited by Spaceman333 on Sun Jun 25, 2017 6:46 pm, edited 11 times in total.
User avatar
Spaceman333
 
Joined: 13 Oct 2016

Re: All Clear Message (mini addon)

Postby Armaetus » Sat May 20, 2017 5:31 pm

This is a pretty neat yet small mod.
User avatar
Armaetus
Maps of Chaos/RDND/DVV Overseer
 
Joined: 13 Mar 2009
Location: North Babylon, NY
Discord: Armaetus#8512
Github ID: GlaiceOldSchoolRTS
Operating System: Windows Vista/7 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: All Clear Message (mini addon)

Postby Enjay » Sat May 20, 2017 6:06 pm

What does it do on maps that restock the enemies via ACS?
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: All Clear Message (mini addon)

Postby Mikk- » Sat May 20, 2017 6:21 pm

If new monsters appear via scripting or otherwise, the message will vanish and come back again when those are dead too.
User avatar
Mikk-
yooooooooooo
 
Joined: 30 Jun 2009
Location: Somewhere off Kanagawa
Discord: Mikk0451#3922

Re: All Clear Message (mini addon)

Postby Enjay » Sat May 20, 2017 6:21 pm

Thanks. I'm having major reading comprehension failings today for some reason. :?
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

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

Postby Spaceman333 » Sun May 21, 2017 6:45 am

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
Spaceman333
 
Joined: 13 Oct 2016

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

Postby Hexereticdoom » Mon May 22, 2017 9:34 pm

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
Hexereticdoom
Don't make me angry or I'll bite you! Heheheee...
 
Joined: 08 Aug 2013
Location: Spain

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

Postby Gollgagh » Mon May 22, 2017 10:04 pm

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 allExpand view
if(GetLevelInfo (LEVELINFO_KILLED_MONSTERS) == GetLevelInfo (LEVELINFO_TOTAL_MONSTERS))
User avatar
Gollgagh
 
Joined: 16 Apr 2015

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

Postby Spaceman333 » Tue May 23, 2017 6:28 am

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
Spaceman333
 
Joined: 13 Oct 2016

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

Postby Gollgagh » Tue May 23, 2017 12:26 pm

Code: Select allExpand view
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
Gollgagh
 
Joined: 16 Apr 2015

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

Postby Spaceman333 » Tue May 23, 2017 12:47 pm

*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 6:34 pm, edited 1 time in total.
User avatar
Spaceman333
 
Joined: 13 Oct 2016

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

Postby Gollgagh » Tue May 23, 2017 1:02 pm

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
Gollgagh
 
Joined: 16 Apr 2015

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

Postby Spaceman333 » Tue May 23, 2017 1:34 pm

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
Spaceman333
 
Joined: 13 Oct 2016

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

Postby Hexereticdoom » Tue May 23, 2017 2:03 pm

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

Thanks both for your effort @Spaceman333 and @Gollgagh! :cheers: :thumb:
User avatar
Hexereticdoom
Don't make me angry or I'll bite you! Heheheee...
 
Joined: 08 Aug 2013
Location: Spain

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

Postby Spaceman333 » Wed May 24, 2017 6:34 pm

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
User avatar
Spaceman333
 
Joined: 13 Oct 2016

Next

Return to Graphic/Audio Patches

Who is online

Users browsing this forum: No registered users and 1 guest