Jump to content
  • 0

NEVER accurate weapons?


forgettable pyromaniac

Question

Okay, so I want the pistol to be always accurate, so just never have a refire check, but what if I want to have the chaingun to be the inverse and NEVER be accurate? Would it be as simple as having a refire check frame before the shots are fired, or would it be more complicated than that?

 

Assume we're using DeHackEd for this question, not ZDoom or something where this is easy to do in decorate.

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 3

You can do this in dehacked. Have the idle frame cycle between weaponready and refire with the refire frame at 0 tics. When you fire it should never have the perfect shot.

Edited by Btyb88

Share this post


Link to post
  • 0

Your suggestion won't work because the A_ReFire codepointer jumps to back to the first attack frame if the fire button is being held down, which in your case would just make it go through the check again, essentially only looping the attack frames before it.

 

Afaik you can't make the chaingun perfectly inaccurate. An alternate approach is to do what antares did in Antaresian Reliquary, which is to add a wind down animation that prevents quick tap firing, making the weapon practically useless for sniping. But if you do use a wind down (or wind up, or both), I suggest you also amp up the fire rate to compensate for it.

Share this post


Link to post
  • 0
8 hours ago, Btyb88 said:

You can do this in dehacked. Have the idle frame cycle between weaponready and refire with the refire frame at 0 tics. When you fire it should never have the perfect shot.

Damn, that works amazingly.

 

 

11 hours ago, Aurelius said:

Your suggestion won't work because the A_ReFire codepointer jumps to back to the first attack frame if the fire button is being held down, which in your case would just make it go through the check again, essentially only looping the attack frames before it.

 

Afaik you can't make the chaingun perfectly inaccurate. An alternate approach is to do what antares did in Antaresian Reliquary, which is to add a wind down animation that prevents quick tap firing, making the weapon practically useless for sniping. But if you do use a wind down (or wind up, or both), I suggest you also amp up the fire rate to compensate for it.

I've done the wind down thing before but I wanted to try a perfectly inaccurate weapon and that seems to do it, so I dunno (torn).

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...