Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Twisted Bean

Can you make a melee weapon that only fires per mouse click (with randomized fire states)?

Recommended Posts

Posted (edited)

I'm trying to create a sword type weapon, similar to the one's from the latest Shadow Warrior games with the sword movement being randomized while standing or directed with movement, with special attacks and everything, but i'm struggling to figure out the best way to make it re fire by mashing the mouse button instead of endlessly looping by holding it, without holding or charging attack. 

Untitled.gif

Edited by Twisted Bean

Share this post


Link to post

This should be in Editing Questions.

To make the weapon fire per mouse click, simply don't add the A_ReFire function to weapon's state.

To make the weapon go to randomized states, use the A_Jump action with 255 chance, to ensure it will always be randomized.

Share this post


Link to post
Posted (edited)
12 minutes ago, Kut said:

This should be in Editing Questions.

To make the weapon fire per mouse click, simply don't add the A_ReFire function to weapon's state.

To make the weapon go to randomized states, use the A_Jump action with 255 chance, to ensure it will always be randomized.

 

Don't have A_ReFire function, if i did id look like even more of a fool than i do now.

Share this post


Link to post

How do i delete this now? I haven't been on this site for so long, i'm so confused, i need my oldman medicine 

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
×