Universal Display Allies (zan3.2 open beta)

Maps, modifications, add-ons, projects, and other releases for Zandronum. Also includes announcers.
Post Reply
User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Universal Display Allies (zan3.2 open beta)

#1

Post by penguin » Sun May 31, 2020 4:22 pm

Updated v8_hotfix (06/05/22)
Zan3.2 Open Beta (10/03/22)

With Universal Display Allies, all mods will be able to see their allies through a wall.
You can switch the display to a name with uda_name of the additional CVar.
It is possible to switch display/hide by uda_enable of the additional CVar.

Test video
phpBB [media]


Screenshots (google drive)
https://drive.google.com/drive/folders/ ... sp=sharing
Spoiler: Changelog (Open)
v8_hotfix
  • Fixed spectator mode.
v8
  • Removed dependence on TID for non spy camera processing.
  • Removed unnecessary variables.
  • Fixed multiplayer emulation and bots.
v7.1
  • Added 1000 to id to prevent conflict.
  • A TID independent version was created. (However, the Spy camera will break)
v7
  • Used another algorithm instead of loop unrolling to improve performance and readability.
  • Supported use during spectator mode.
  • The distance to allies can now be displayed. (Thanks Vampy)
  • The color of the numerical value changes depending on the distance. (Thanks Arkore)
v6_hotfix
  • Fixed an issue where mods wouldn't work.
https://github.com/PenguinDOOM/Universa ... 728b00823e

v6
  • Removed the script that synchronizes variables to optimize network traffic.
  • Unroll loops to reduce loops.
  • Display the name by default.
v5_beta
  • Support multiplayer emulation.
  • Added credits file.

v4_beta
  • MIT license.
  • Added some cvars.
  • Use BCSUtils to display allies in a smarter and more accurate way.
  • Changed tid sync method to improve reliability.
  • It now works with coop spy.
  • Many other bug fixes.

v3_beta
  • Fixed a bug that causes incorrect behavior after the third person.

v2_beta
  • Added enable/disable switch. (Additional CVar uda_enable)
  • Changed the for loops in the Enter and Respawn scripts to separate methods.
  • Changed some codes.

v1_beta
  • First public beta.
Download link
Normal version
https://allfearthesentinel.net/zandronu ... hotfix.pk3
Non TID version
https://allfearthesentinel.net/zandronu ... on_tid.pk3

Source code
https://github.com/PenguinDOOM/Universal-Display-Allies

Universal display allies testing server list (I don't currently host)
https://allfearthesentinel.net/zandronu ... ?user=2904
Spoiler: Cvars (Open)
server noarchive int UDA_SetTIDTics = 70; //The time to change the tid (tic)

user bool UDA_Enable = true; //Mod switch.
user bool UDA_Name = true; //Switching between marks and fonts.
user float UDA_Height = 56.0; //Mark and font height.
user int UDA_Fonts = 1; //Fonts to display.
user bool UDA_Distance_Scale = false; //Vary the scale with distance.(not recommended)
user bool UDA_Distance = true; //Distance from allies.
user bool UDA_Meter = true; //Set the distance in meters.

server noarchive int UDA_TID = 0;

/*
UDA_Fonts = 0 CONFONT
UDA_Fonts = 1 SMALLFONT
UDA_Fonts = 2 SMALLFONT2
UDA_Fonts = 3 BIGFONT
*/
Spoiler: Known bugs (Open)
  • Not compatible with mods where players use the same tid.(For example, Complex Doom Invasion)
  • Multiplayer emulation is broken.(Fixed?)
  • Menu isn't in v5 because I didn't save MENUDEF.
Spoiler: Credits (Open)
Code: Penguin
Sprites: Skulltag
Sprite Edits: Penguin (Used GIMP)
BCS: Positron / Sean Baggaley / Alex Qyoun-ae / Caio Santana Magalhães
BCSUtils: Alexander Korshun / DjSkaarj / Monsterovich / Sergio Jiménez Herena
ACS-X: Ben Moir
Idea: Penguin / Vampy / Arkore
Spoiler: License (Open)
--------------------------------------------------------------------------------
UDA License
--------------------------------------------------------------------------------

MIT License

Copyright (c) 2020-2022 Penguin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

--------------------------------------------------------------------------------
BCSUtils License
--------------------------------------------------------------------------------

MIT License

Copyright (c) 2016-2017 Alexander Korshun and the ACSUtils contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

ACSUtils uses code from ACS-X:

Copyright Ben Moir 2016
Distributed under the Boost Software License, Version 1.0.

Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

--------------------------------------------------------------------------------
Good dooming!
Last edited by penguin on Wed Oct 05, 2022 2:59 am, edited 22 times in total.

Lollipop
Zandrone
Posts: 1123
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

Re: Universal Display Allies

#2

Post by Lollipop » Sun May 31, 2020 5:04 pm

Nice. I can imagine that this could be useful for gamemodes like AOW.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies

#3

Post by penguin » Mon Jun 01, 2020 5:16 pm

Lollipop wrote:
Sun May 31, 2020 5:04 pm
Nice. I can imagine that this could be useful for gamemodes like AOW.
I've prepared a server.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies (v5_beta)

#4

Post by penguin » Mon Aug 10, 2020 1:42 am

Updated v5_beta (08/06/20)
Last edited by penguin on Wed Oct 05, 2022 2:59 am, edited 1 time in total.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies (v6)

#5

Post by penguin » Tue May 17, 2022 11:09 am

Updated v6 (05/17/22)
Spoiler: v6 changelog (Open)
v6
--------------------------------------------------------------------------------
* Removed the script that synchronizes variables to optimize network traffic.
* Unroll loops to reduce loops.
* Display the name by default.
Download (TSPG)

Download (GitHub)
Last edited by penguin on Wed Oct 05, 2022 3:00 am, edited 1 time in total.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies (v6)

#6

Post by penguin » Tue May 17, 2022 3:53 pm

Updated v6_hotfix (05/17/22)
Spoiler: v6_hotfix changelog (Open)
v6_hotfix
--------------------------------------------------------------------------------
* Fixed an issue where mods wouldn't work.
https://github.com/PenguinDOOM/Universa ... 728b00823e
Download (TSPG)

Download (GitHub)
Last edited by penguin on Wed Oct 05, 2022 3:00 am, edited 1 time in total.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies (v7)

#7

Post by penguin » Sat May 28, 2022 5:16 pm

Updated v7 (05/29/22)
Spoiler: v7 changelog (Open)
v7
--------------------------------------------------------------------------------
* Used another algorithm instead of loop unrolling to improve performance and readability.
* Supported use during spectator mode.
* The distance to allies can now be displayed. (Thanks Vampy)
* The color of the numerical value changes depending on the distance. (Thanks Arkore)
Download (TSPG)

Download (GitHub)
Last edited by penguin on Wed Oct 05, 2022 3:00 am, edited 2 times in total.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies (v7.1)

#8

Post by penguin » Sun May 29, 2022 8:45 am

Updated v7.1 (05/29/22)
Spoiler: v7.1 changelog (Open)
v7.1
--------------------------------------------------------------------------------
* Added 1000 to id to prevent conflict.
* A TID independent version was created. (However, the Spy camera will break)

Download Normal version (TSPG)
Download Non TID version (TSPG)

Download (GitHub)
Last edited by penguin on Wed Oct 05, 2022 3:01 am, edited 1 time in total.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies (v8)

#9

Post by penguin » Sat Jun 04, 2022 6:25 pm

Updated v8 (06/05/22)
Spoiler: v8 changelog (Open)
v8
--------------------------------------------------------------------------------
* Removed dependence on TID for non spy camera processing.
* Removed unnecessary variables.
* Fixed multiplayer emulation and bots.

Download Normal version (TSPG)
Download Non TID version (TSPG)

Download (GitHub)

Already available on TSPG, DUD and Euroboros.
Last edited by penguin on Wed Oct 05, 2022 3:01 am, edited 1 time in total.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies (v8_hotfix)

#10

Post by penguin » Sun Jun 05, 2022 1:49 pm

Updated v8_hotfix (06/05/22)
Spoiler: v8_hotfix changelog (Open)
v8_hotfix
--------------------------------------------------------------------------------
* Fixed spectator mode.

Download Normal version (TSPG)
There are no non TID version updates.


Download (GitHub)

Already available on TSPG, DUD and Euroboros.

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

Re: Universal Display Allies (zan3.2 open beta)

#11

Post by penguin » Wed Oct 05, 2022 3:09 am

Zan3.2 Open Beta (10/03/22)

Required Zandronum 3.2 Alpha
Spoiler: zan3.2 changelog (Open)
universal_display_allies_zan_3_2.pk3
--------------------------------------------------------------------------------
* Removed TID dependency using AAPTR_PLAYER_GETCAMERA.
* Display using target height instead of CVAR.

Download (TSPG)

Source code (GitHub)

Already available on TSPG, DUD and Euroboros.

Post Reply