Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Requests • [code request] Make this pistol have a suppressor function when altfire?

$
0
0
Hello, I was wondering if someone would be able to edit this existing code to make it when you altfire it goes into an animation where the player attaches a suppressor to it and the weapon is suppressed and is reversed when you altfire again back to its unsuppressed state. I'd prefer it being one weapon if possible, I already made the sprites for it and looks really good. (I am pretty much looking for my pistol code to be altered so it can be suppressed and unsuppressed when the player presses the right mouse button or the 'altfire' key) I have tried to do it myself but I can't for the life of me figure it out on my own.

/////Code Here/////
Spoiler:

Statistics: Posted by Graaicko — Thu May 23, 2024 3:33 pm



Viewing all articles
Browse latest Browse all 3391

Trending Articles