OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Baphomet on 02 Oct 2002, 16:29:49

Title: reloadtime: a brief question
Post by: Baphomet on 02 Oct 2002, 16:29:49
     In what units of time is the variable "reloadtime" measured in?  Does one single integer represent a second? It would be good to know, since it would be much easier to accurately model a weapon's rof.
Title: Re:reloadtime: a brief question
Post by: Lucknow on 02 Oct 2002, 16:53:31
Example:

Assault rifle with a ROF of 600 rounds per minute...

60(seconds) / 600 (rpm) = 0.1 which is what the number in the 'ReloadTime' command represents.

Note however that for the most part (except in burst mode)only the player or 100% skill soldiers fire at this ROF, which is also influenced by the 'aiRateOfFire' command.
Title: Re:reloadtime: a brief question
Post by: Baphomet on 03 Oct 2002, 02:05:17
   

   I thought so. Heh, thanks for clearing that up for me.

Cheers.