I use Mike's (Storebror's) game time acceleration/deceleration mod, which allows to reduce the rate of time deyond the stock 1/4 rate, including 1/8, 1/16 and 1/32.
Well, recently I was testing out effects and while firing the Tiny Tim rockets at a time reduction of less than 1/4 I got a divide by zero error. In Controls.update() I've added an additional time check for 1/8 speed. If I wanted to use time rates slower than this I would add appropriate checks, as for 1/16 and 1/32. I've decided that slower than 1/8 is kind of useless because in track playback objects stop moving. And in the [Mod] section in conf.ini I have set the time divider value to 8, so that I cannot reduce the time rate to slower than 1/8 during play (or track playback).
from Controls.update():
long l1 = weaponReleaseDelay;
if((double)Time.speed() == 0.5D) //1/2 speed
l1 *= 2L;
else
if((double)Time.speed() == 0.25D) //1/4 speed; in stock game this is the slowest
l1 *= 4L;
else //NEW! for extended time slowing (best to limit max time divider in conf.ini [Mods] section to 8!)
if((double)Time.speed() == 0.125D) //1/8 speed
l1 *= 8L;
else
l1 /= (long)Time.speed(); //can generate a divide by zero error when time multiplier is less than 0.25!!