What fireRate= means
Posted: Sun Feb 01, 2015 10:07 pm
The fireRate parameter in <Weapon> or <autoDefenseDevice> refers the delay between consecutively fired shots in units of ingame seconds. As there are 2 ingame seconds per tick, this implies all odd fireRates are meaningless. In fact, they are rounded up to the next even number.
To convert from fireRate to shots per second, use the following formula:
shots per second = 60 / fireRate if fireRate is even
shots per second = 60 / (fireRate + 1) if fireRate is odd
To convert from shots per second to fireRate, use the following formula:
fireRate = 60 / shots per second
Ex. If fireRate="2", then shots per second = 60 / firerate
= 60 / 2
= 30 shots per second
Ex2. If fireRate="15", then shots per second = 60 / (fireRate + 1)
= 60 / (15 + 1)
= 60 / (16)
= 3.75
= 3.8 shots per second when rounded to nearest tenths
To convert from fireRate to shots per second, use the following formula:
shots per second = 60 / fireRate if fireRate is even
shots per second = 60 / (fireRate + 1) if fireRate is odd
To convert from shots per second to fireRate, use the following formula:
fireRate = 60 / shots per second
Ex. If fireRate="2", then shots per second = 60 / firerate
= 60 / 2
= 30 shots per second
Ex2. If fireRate="15", then shots per second = 60 / (fireRate + 1)
= 60 / (15 + 1)
= 60 / (16)
= 3.75
= 3.8 shots per second when rounded to nearest tenths
Code: Select all
Table of fireRate to shots per second:
fireRate = shots per second
1 = 30
2 = 30
3 = 15
4 = 15
5 = 10
6 = 10
7 = 7.5
8 = 7.5
9 = 6
10 = 6
11 = 5
12 = 5
13 = 4.3
14 = 4.3
15 = 3.8
16 = 3.8
17 = 3.3
18 = 3.3
19 = 3
20 = 3
21 = 2.7
22 = 2.7
23 = 2.5
24 = 2.5
25 = 2.3
26 = 2.3
27 = 2.1
28 = 2.1
29 = 2
30 = 2
31 = 1.9
32 = 1.9
33 = 1.8
34 = 1.8
35 = 1.7
36 = 1.7
37 = 1.6
38 = 1.6
39 = 1.5
40 = 1.5
41 = 1.4
42 = 1.4
43 = 1.4
44 = 1.4
45 = 1.3
46 = 1.3
47 = 1.3
48 = 1.3
49 = 1.2
50 = 1.2
51 = 1.2
52 = 1.2
53 = 1.1
54 = 1.1
55 = 1.1
56 = 1.1
57 = 1
58 = 1
59 = 1
60 = 1
61 = 1
62 = 1
63 = 0.9
64 = 0.9
65 = 0.9
66 = 0.9
67 = 0.9
68 = 0.9
69 = 0.9
70 = 0.9
71 = 0.8
72 = 0.8
73 = 0.8
74 = 0.8
75 = 0.8
76 = 0.8
77 = 0.8
78 = 0.8
79 = 0.8
80 = 0.8
81 = 0.7
82 = 0.7
83 = 0.7
84 = 0.7
85 = 0.7
86 = 0.7
87 = 0.7
88 = 0.7
89 = 0.7
90 = 0.7
91 = 0.7
92 = 0.7
93 = 0.6
94 = 0.6
95 = 0.6
96 = 0.6
97 = 0.6
98 = 0.6
99 = 0.6
100 = 0.6
101 = 0.6
102 = 0.6
103 = 0.6
104 = 0.6
105 = 0.6
106 = 0.6
107 = 0.6
108 = 0.6
109 = 0.5
110 = 0.5
111 = 0.5
112 = 0.5
113 = 0.5
114 = 0.5
115 = 0.5
116 = 0.5
117 = 0.5
118 = 0.5
119 = 0.5
120 = 0.5
121 = 0.5
122 = 0.5
123 = 0.5
124 = 0.5
125 = 0.5
126 = 0.5
127 = 0.5
128 = 0.5
129 = 0.5
130 = 0.5
131 = 0.5
132 = 0.5
133 = 0.4
134 = 0.4
135 = 0.4
136 = 0.4
137 = 0.4
138 = 0.4
139 = 0.4
140 = 0.4
141 = 0.4
142 = 0.4
143 = 0.4
144 = 0.4
145 = 0.4
146 = 0.4
147 = 0.4
148 = 0.4
149 = 0.4
150 = 0.4
151 = 0.4
152 = 0.4
153 = 0.4
154 = 0.4
155 = 0.4
156 = 0.4
157 = 0.4
158 = 0.4
159 = 0.4
160 = 0.4
161 = 0.4
162 = 0.4
163 = 0.4
164 = 0.4
165 = 0.4
166 = 0.4
167 = 0.4
168 = 0.4
169 = 0.4
170 = 0.4
171 = 0.3
172 = 0.3
173 = 0.3
174 = 0.3
175 = 0.3
176 = 0.3
177 = 0.3
178 = 0.3
179 = 0.3
180 = 0.3