Kek Posted December 22, 2019 Let's say that I wanted to implement a gunbutt melee into my mod. That is to say, you press "F" and you give a snappy little lovetap to whatever's in melee range with the stock of your weapon. How would I make that happen? 0 Quote Share this post Link to post
0 Hitscanning_scumbag Posted December 27, 2019 (edited) The easiest way is to use altfire in decorate and to set f as your altfire key, as far as I know. Ex: Fire: Tnt1 A 0 Goto ready Altfire: TNT1 A 0 A_Punch Goto ready Edited December 27, 2019 by zaszthedestroyer 1 Quote Share this post Link to post
0 Mengo Posted January 2, 2020 You could use KEYCONF to make a button that executes an ACS script that gives you an item, and use a jump action to do the gun butt if it's in your inventory. Example of decorate code for the weapons: ... Ready: PIST E 1 A_Weaponready TNT1 A 0 A_jumpifinventory("Domelee","Bash") loop Bash: TNT1 A 0 A_takeinventory("Domelee",1) (Just put whatever the melee thing you do is here) goto ready 1 Quote Share this post Link to post
Question
Kek
Let's say that I wanted to implement a gunbutt melee into my mod. That is to say, you press "F" and you give a snappy little lovetap to whatever's in melee range with the stock of your weapon.
How would I make that happen?
Share this post
Link to post
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.