Viewable Weapons (Now compatible with PerK's smooth anims)

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 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.
User avatar
Kostov
 
 
Posts: 2020
Joined: Thu Dec 26, 2013 3:26 pm
Location: Sweden
Contact:

Viewable Weapons (Now compatible with PerK's smooth anims)

Post by Kostov »

Yes.

Image

A mod with complex functions to create a simple idea - your player sprite will change weapons when you change weapons. This will only function if you play with an unmodified player class/unmodified weapons from the original game or Smooth Doom with the Smooth Doom compatible version of this mod below.

Download vanilla version

Download version compatible with PerK's smooth animations/Smooth Doom

To play with PerK's smooth anims, you need to load ViewablePkWeapons.wad after pk_anim1.wad or pk_anim2.wad. To play with Smooth Doom, load ViewablePkWeapons.wad after SmoothDoom.pk3.

All the included sprites come from here.

Credits:

Sergeant_Mark_IV's Brutal Doom, which uses the same method as Viewable Weapons does to change the sprite of the player when switching weapons. It is the base of this mod's idea.
Ghastly_dragon for helping me with the code, and giving me a line that would stop Doom from crashing unpredictably with this mod loaded.
A part of the people that made the sprites of Marine Skins. To be precise:
Fist Marine - Sprite by: Mark Quinn
Chainsaw Marine - Sprite by: Mark Quinn and Xenaero
Pistol Marine - Sprite by: Mark Quinn and Grimm
Shotgun Marine - Sprite by: Mark Quinn
Super Shotgun Marine - Sprite by: Xim, Xenaero and The Skulltag Team
Chaingun Marine - Sprite by: Anthony Cole
Rocket Marine - Sprite by: Xim
Plasma Marine - Sprite by: CaptainToenail
BFG9000 Marine - Sprite by: Toke
mallo for adjusting offsets of all the sprites.
Last edited by Kostov on Tue Nov 18, 2014 2:33 am, edited 8 times in total.
User avatar
Rustygold
Posts: 145
Joined: Tue Dec 17, 2013 9:28 pm
Location: Yes

Re: [Released] Viewable Weapons

Post by Rustygold »

Thanks! I really needed something like this for my mod of another mod!
User avatar
Kostov
 
 
Posts: 2020
Joined: Thu Dec 26, 2013 3:26 pm
Location: Sweden
Contact:

Re: [Released] Viewable Weapons

Post by Kostov »

Happy to help.
Onslaught Six
Posts: 572
Joined: Sun Dec 11, 2005 9:17 pm
Location: Hell.
Contact:

Re: [Released] Viewable Weapons

Post by Onslaught Six »

Does this work in multiplayer/Zandronum? I'm curious.
User avatar
TheMightyHeracross
Posts: 2100
Joined: Sun Aug 18, 2013 9:41 am
Location: Philadelphia, PA

Re: [Released] Viewable Weapons

Post by TheMightyHeracross »

There are wads out for Zandronum already for that- they have a Weapon.PreferredSkin property or something like that, so they have it easy.
User avatar
TehRealSalt
Posts: 142
Joined: Thu Apr 03, 2014 10:25 am
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: [Released] Viewable Weapons

Post by TehRealSalt »

Besides, the Weapon.PreferredSkin property is a lot less hacky than the implementation used here, so even if it worked in Zandronum, you shouldn't bother.
User avatar
Kostov
 
 
Posts: 2020
Joined: Thu Dec 26, 2013 3:26 pm
Location: Sweden
Contact:

Re: [Released] Viewable Weapons

Post by Kostov »

I did this because ZDoom doesn't have a few features Zandronum does, such as a simple line to change weapons.
User avatar
Kostov
 
 
Posts: 2020
Joined: Thu Dec 26, 2013 3:26 pm
Location: Sweden
Contact:

Re: [Released] Viewable Weapons

Post by Kostov »

Bumping once, since this seems to have been unnoticed at release, and because a version compatible with PerK smooth animations has been released.
niculinux
Posts: 138
Joined: Sun Jul 08, 2012 11:52 am
Location: Italy

Re: Viewable Weapons (Now compatible with PerK's smooth anim

Post by niculinux »

What doom shoul had since 1993! I wonder why not..execcively hurry to relase the game?
User avatar
xenoxols
Posts: 2128
Joined: Mon Mar 18, 2013 6:08 pm
Preferred Pronouns: She/Her
Location: Behind you

Re: Viewable Weapons (Now compatible with PerK's smooth anim

Post by xenoxols »

Probably floppy disk size limitations.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Viewable Weapons (Now compatible with PerK's smooth anim

Post by wildweasel »

Maybe, back in 1993, they didn't think that players would be in much of a hurry to look at which weapon another player is carrying.
User avatar
mamaluigisbagel
Posts: 509
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: Viewable Weapons (Now compatible with PerK's smooth anim

Post by mamaluigisbagel »

if this is ok for a first post, I'd like to point two things out with this mod, but before that, let me say that I've been looking for a mod like this forever, so thanks for making it!

1) Using pk_anim2.wad does not use the black gloves, but this is very minor.

2) Smooth Doom apparently uses pk_animations so the pk_anim compatible version is compatible with Smooth Doom as well! At least, as far as I've tested
User avatar
Kostov
 
 
Posts: 2020
Joined: Thu Dec 26, 2013 3:26 pm
Location: Sweden
Contact:

Re: Viewable Weapons (Now compatible with PerK's smooth anim

Post by Kostov »

I thought pk_anim2 worked properly. Can you do a second check with only pk_anim2 and ViewablePkWeapons?
User avatar
mamaluigisbagel
Posts: 509
Joined: Wed Jul 09, 2014 7:25 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: Viewable Weapons (Now compatible with PerK's smooth anim

Post by mamaluigisbagel »

ok now it works properly when I do that. tbh I don't even know why it didn't work for me since Smooth Doom was off. Well nvm about that, so flawless so far :D
User avatar
Devianteist
Posts: 945
Joined: Wed Sep 24, 2014 4:07 pm
Location: Creating a SPACE HULK conversion!
Contact:

Re: Viewable Weapons (Now compatible with PerK's smooth anim

Post by Devianteist »

This will only function if you play with an unmodified player class/unmodified weapons from the original game.
Ironic, considering this won't load because of an error stating "No player classes defined."

Does anyone know why this might be? (I'm also using Smooth DOOM, smooth textures, and pkdoomSFX)?
Post Reply

Return to “Graphic/Audio Patches”