Melee as a secondary

How would i go about adding the doom punch as a secondary for the pistol. I know i would have to edit the decorate file but can anyone give me an example on how to do this (or if its already done a link to a wad i can examine).
doesnt have to be specifically the pistol just wondering how to go about adding a melee as secondary.

Share this post


Link to post

A good example would be Hacx 2.0. All the weapons have the kick as an alt-fire, which is rather handy sometimes.

Share this post


Link to post

I've looked it over its a bit complex for me with the way its set up, im just looking for a simple decorate, thanks for the tip though!

Share this post


Link to post

Being interested in the answer as well and knowing nothing on the topic, the Hacx one is definitely intimidating; so instead I tried to have a go at it from scratch.

AltPistol

Merely copypasting the Fist fire states in AltFire seems to do the job. It's probably not the right way to do this, but as far as I could tell from quick testing this works as intended ingame.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now