ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Display monsters' sprees and multikills in Survival

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Pending Requests
View previous topic :: View next topic  
Author Message
Caleb13
Posting Spree!


Joined: 05 Feb 2014

PostPosted: Thu Apr 03, 2014 10:33 pm    Post subject: Display monsters' sprees and multikills in Survival Reply with quote

In many Thursday Night Survival games, it happens that some lucky cyberdemon (or another strong monster) kills several players, sometimes in rapid succession. This is usually viewed as funny event by the players and spectators alike. So it would be nice if Zdaemon could display monsters' killing sprees and multikills as well. Thing number could be used instead of name, so the text would be something like "Cyberdemon [thing number] is on a killing spree!" or "Chaingunner [thing number] had multi kill!"

I guess it could find some use in Coop, too.
Back to top
View user's profile Send private message
Zedek
has entered the game!


Joined: 10 Mar 2013
Location: Tijuana, México

PostPosted: Thu Apr 03, 2014 11:04 pm    Post subject: Reply with quote

i think that it can be done via ACS, you should request this to TNS admins.
Back to top
View user's profile Send private message
Caleb13
Posting Spree!


Joined: 05 Feb 2014

PostPosted: Sat Apr 26, 2014 8:43 am    Post subject: Reply with quote

Okay, I looked at what could be done with ACS. Nothing too complicated - a 2x50 (or so) array which would store player kills by monsters and some identifier of said monsters. Unfortunately, ACS provides no way to identify which actor/monster killed a player. I guess there is a reason why obituaries are implemented directly in Zdoom/Zdaemon code...

I'm not saying it is completely impossible, though. I could conceivably write a script which would search (StrIcmp) the console for certain strings (such as "splattered by cyberdemon") and count them. I could even infer if the lucky monster was killed with the help of ThingCount to reset the counters. But this would obviously be very, very far from perfect: 1. without unique monster identifiers, there would be false positives. 2. It wouldn't work for custom monsters. 3. The scripts would be rather complex and their execution could slown down older computers needlessly.

Edit: Rhinoduck told me that Zdaemon doesn't support ACS string functions yet. Therefore, it is impossible to do at all.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Pending Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group