Soldat Interface Mods & Mod Making > Modding Help
Integer Stuff
(1/1)
PitchBlackCommando:
I'm trying to mod weapon to make it shoot 25 rounds per minute. But value "2.5" cannot be converted into integer.
Can I write something that would make gun shoot 25 rounds per minute and is integerable?
Oh, and also, how can I convert semi-auto into full auto, and vice-versa?
Savage:
FireInterval=144
PitchBlackCommando:
Oh wait, I meant 25 rounds per second! I always mess up with minutes and seconds.
Savage:
In Soldat 1 second can be divided only on 60 pieces (ticks) so u have to choose between 2(30 rounds per second) or 3(20 rounds per second) ticks
PitchBlackCommando:
Well, okay. The same with firing mode, I assume?
Navigation
[0] Message Index
Go to full version