[DIY] Show Opponent's Weapon

Moderator: GZDoom Developers

Show Opponent's Weapon

Postby StroggVorbis » Fri Apr 23, 2021 3:04 am

In Duke Nukem 3D/the Build engine, there is a nifty feature for Multiplayer where the pickup sprite from the currently equipped weapon of other players is shown above their head.

It'd be awesome if this could be added to GZDoom aswell for Deathmatch and Coop, this avoids having to make multiple player sprites or skins for each type of weapon in a mod.
User avatar
StroggVorbis
Donut eat me pls!
 
Joined: 08 Nov 2017
Location: Germany
Discord: StroggVorbis#2466
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Show Opponent's Weapon

Postby m8f » Fri Apr 23, 2021 8:01 am

Just a note, this is doable mod-side. Also, if such feature is implemented, wouldn't it give advantage to players who use it? Then everybody will have to use it to be on an equal footing.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit

Re: Show Opponent's Weapon

Postby Nash » Fri Apr 23, 2021 1:39 pm

The most "fair" way to do it would be to physically spawn the weapon icon into the world as an actual actor (attached to their respective players), this way the game would desync if not everyone has this mod loaded.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Show Opponent's Weapon

Postby Caligari87 » Fri Apr 23, 2021 9:23 pm

Josh771's "Hideous Action Bubbles" does this, actually! It floats your current weapon or selected inventory item in front of your player sprite and adds "sight lines" so you can see what other players are using and where they're aiming.

Player with "weaponless" player sprite skin "holding" a ZM7 Liberator rifle with underbarrel grenade launcher.


Players prepping to breach a door. The crouching one is holding a ZM66+UGL, the standing one is holding a pump shotgun.


Spoiler: "Videos"


Unfortunately this particular mod was designed specifically for Hideous Destructor's weapons and items, but the concept could be generalized to work elsewhere.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: Show Opponent's Weapon

Postby StroggVorbis » Sat Apr 24, 2021 8:56 am

@m8f

Good question
Now that you mention it, I never played Duke 3D multiplayer (AFAIK EDuke32's main branch's MP has been broken for quite some time due to an unfinished refactoring, but there is an OldMP fork)
So I don't actually know if it's handled client- or serverside.
But yeah, for fairness it should only be settable by the arbitrator.

@Caligari87
Wow, didn't know this existed. Truth be told, I never played HD before, but I'm aware that I'm missing out big time! Indeed, a universal version of that addon would be perfect
User avatar
StroggVorbis
Donut eat me pls!
 
Joined: 08 Nov 2017
Location: Germany
Discord: StroggVorbis#2466
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Show Opponent's Weapon

Postby Apeirogon » Sun Apr 25, 2021 3:22 am

m8f wrote:Also, if such feature is implemented, wouldn't it give advantage to players who use it?

From all my experience in Quake3 and CS 1.6, and Im sure this applies to all 'online' shooters in general, it didnt matter what weapon you opponent currently holding.
What really matter is opponent skill.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: Show Opponent's Weapon

Postby Nash » Sun Apr 25, 2021 3:32 am

Yeah, true; normally things would be moving WAY too fast for me to even notice what the weapon the player model is showing LOL.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Show Opponent's Weapon

Postby Matt » Tue Apr 27, 2021 4:22 pm

I remember in UT my main way of recognizing where someone was facing and what weapon they had was from the stream of projectiles coming out of them.

Recognizing weapons felt a lot more useful in Red Eclipse, though, since RE's weapons had reload delays and tended to require more precision which meant less shooting overall - and also weapon limits on top of that, which meant that knowing what weapons someone already had made a much bigger difference since it implied they didn't have something else.

But the biggest difference was always in Killing Floor since (on top of all the stuff about RE) each weapon had such drastically different strengths and weaknesses against the different zed types and pure skill could only make up for so much... and, like HD and unlike RE, you spent a lot more time actually close enough to the other players to see anything.
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests