Duke4.net Forums: Handgun Attack Speed - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Handgun Attack Speed

#1

How to decrease the attack speed of the pistol?
0

User is offline   Danukem 

  • Duke Plus Developer

#2

I think the simplest way is to re-declare the variable that EDuke32 uses to set the total time it takes for the pistol to fire. The default is 5 tics (6 shots per second). If you wanted to make it 8 tics (3.75 shots per second) you could add this line to USER.CON:

gamevar WEAPON1_TOTALTIME 8 1

For more information see this wiki page: https://wiki.eduke32...efined_gamevars

Also, look at weapons.sample.con inside the samples folder which comes with EDuke32.
4

User is offline   Mark 

  • you think those sunglasses make you look cool or somethin'

#3

Wow, thats great being able to control certain things with a simple gamevar line. I found immediate use for 2 things weapon releated and possible use for some others.
0

#4

View PostDanukem, on 29 July 2020 - 10:03 PM, said:

I think the simplest way is to re-declare the variable that EDuke32 uses to set the total time it takes for the pistol to fire. The default is 5 tics (6 shots per second). If you wanted to make it 8 tics (3.75 shots per second) you could add this line to USER.CON:

gamevar WEAPON1_TOTALTIME 8 1

For more information see this wiki page: https://wiki.eduke32...efined_gamevars

Also, look at weapons.sample.con inside the samples folder which comes with EDuke32.


Thanks, worked.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options