These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Ships & Modules

 
  • Topic is locked indefinitely.
 

Weapon Firing rates and Eve system tick

Author
Archare
Aliastra
Gallente Federation
#1 - 2012-04-06 15:52:44 UTC
A thought came to mind about eve. Do the firing rates of weapons coincide with the clock "ticks"? IE. My blasters fire every 4.5 seconds. Does the clock tick round that out essentially to every 5 seconds? or do i get a double damage tick every x seconds to even things out?
Exploited Engineer
Creatively Applied Violence Inc.
#2 - 2012-04-06 16:43:34 UTC  |  Edited by: Exploited Engineer
Archare wrote:
A thought came to mind about eve. Do the firing rates of weapons coincide with the clock "ticks"? IE. My blasters fire every 4.5 seconds. Does the clock tick round that out essentially to every 5 seconds? or do i get a double damage tick every x seconds to even things out?


If either of these occur, I would consider it very poor design.

More likely, it works like this:

Each "tick", the game engine adds a fixed number of "points" to the weapon firing counter.
Once the weapon firing counter exceeds a number that represents the delay between two shots, the weapon fires and that number is reduced by the delay.

Then the whole process starts over.

This ensures that even if the weapon firing delay is not an exact multiple of the tick duration, the weapon will, over a long period of time, still fire exactly the number of shots given by its ROF. It also minimizes the difference between actual ROF and theoretical ROF for short periods of time.

An example: Let's say each tick adds 10 to the counter, and the weapon firing threshold is 25, which means that the weapon should fire one shot every 2.5 ticks, or two shots per five ticks. The weapon firing counter WCF starts at 0.

Tick 1: WCF=10
Tick 2: WCF=20
Tick 3: WCF=30. Weapon fires. WCF=WCF-25=5
Tick 4: WCF=15
Tick 5: WCF=25. Weapon fires. WCF=WCF-25=0
Tick 6: WCF=10
Tick 7: WCF=20
Tick 8: WCF=30. Weapon fires. WCF=WCF-25=5
Tick 9: WCF=15
Tick 10: WCF=25. Weapon fires. WCF=WCF-25=0

As you can see, this results in two shots per five ticks, without any "double" or "missed" shots.