Page 1 of 1

[CTF HUD] ZDFlagsHUD (1a)

Posted: Mon Nov 09, 2015 8:46 pm
by Xsnake
I made a version of ZDaemon's CTF HUD using the new "Event" script type.

● Everything is clientsided, so no impact on the server's bandwidth or whatever.
● The HUD gets automatically scaled according to your "Text Scaling" options.
● When a flag is dropped, the remaining time (in seconds) before it gets automatically returned is displayed.
Spoiler: Screenshots (Open)
Image
Image
Image
Image

Note that the sources are included in the pk3 file.

It is recommended to set this file as optional on servers, so only those who want to use it can use it.

Questions to devs :
● Is there a way (Cvar or whatever) to disable/hide Zandronum's hardcoded CTF HUD ? I haven't been able to find anything.
● Right know, there is no Event when a flag is dropped (correct me if I am wrong). To make this HUD work, I had to keep track of the flag takers IDs and check them in a Death script. It works as it is, but is it something that might be added in the future ?

Download (10Ko)

Comments, remarks, bugs ? Post them here.

RE: [CTF HUD] ZDFlagsHUD (1a)

Posted: Mon Nov 09, 2015 11:22 pm
by Fsn76
Very usefull for competition/scrim/priv/pub. This should be host on all ctf server. Thx a lot mon ami.

RE: [CTF HUD] ZDFlagsHUD (1a)

Posted: Tue Nov 10, 2015 1:12 am
by Combinebobnt
Nice, too bad the fat squares of st flags are still on the left.

RE: [CTF HUD] ZDFlagsHUD (1a)

Posted: Tue Nov 10, 2015 2:14 am
by Kara Kurt
Not sure if it's removable since it's hard coded but I think we might be able to replace them.

RE: [CTF HUD] ZDFlagsHUD (1a)

Posted: Tue Nov 10, 2015 5:10 am
by Gordon228
i will take a look at it and see what i think tho i am not much of anything when it comes to this but i can figure things out.

Edit: must be hard coded.

RE: [CTF HUD] ZDFlagsHUD (1a)

Posted: Tue Nov 10, 2015 6:08 am
by Kara Kurt
Oh well good luck. Anyway, to locate hud-related stuff you need to open zandronum.pk3 with something like Slade 3, it's in one of the folders inside it.
I've also been discussing with Blzut3 about it, so I hope this can help you:
http://pastebin.com/58VBAyjp

RE: [CTF HUD] ZDFlagsHUD (1a)

Posted: Sat Dec 05, 2015 3:35 pm
by Torr Samaho
Xsnake wrote: ● Right know, there is no Event when a flag is dropped (correct me if I am wrong). To make this HUD work, I had to keep track of the flag takers IDs and check them in a Death script. It works as it is, but is it something that might be added in the future ?
If there is demand for a "flag dropped" event, I can easily add that. Just open a tracker ticket for this.