Battlezone Universe

Battlezone Universe => Battlezone 2 => Topic started by: TheJamsh on November 06, 2009, 11:03:11 AM

Title: Running at high TPS
Post by: TheJamsh on November 06, 2009, 11:03:11 AM
Does anyone on the boards run at higher TPS than 10? I tried running at 20 just to see the difference, and well there doesnt seem to be much really. Aside from the fact my weapons with a 0.05 fire rate fire at regular intervals now...

GSH seems to think there will probably be a few high-TPS bugs that appear, but what actually qualifies as high? At what point am i drowning my CPU in digits?

Title: Re: Running at high TPS
Post by: AHadley on November 06, 2009, 04:31:58 PM
TPS?
Title: Re: Running at high TPS
Post by: TheJamsh on November 06, 2009, 04:50:36 PM
Turns Per Second. BZ2 runs at 10TPS default (i.e., all the code is executed 10 times a second).
Title: Re: Running at high TPS
Post by: AHadley on November 06, 2009, 04:58:21 PM
Ah yes. It sounded familiar. Didn't know it was possible to change though, which is probably what threw me off.
Title: Re: Running at high TPS
Post by: mrtwosheds on November 06, 2009, 05:21:32 PM
QuoteAside from the fact my weapons with a 0.05 fire rate fire at regular intervals now...
This setup seems to work ok to me.
[CannonClass]
OnlyOneSound = true
shotDelay = 0.1
salvoCount = 2
salvoDelay = 0.05
shotVariance = 0.01

I have not tested in mp yet though.
Title: Re: Running at high TPS
Post by: TheJamsh on November 06, 2009, 07:06:46 PM
curiously, salvo's seem to work better with ridiculously high firerates at 10TPS (like the resin for example), but machine guns can get... odd if its too low.
Title: Re: Running at high TPS
Post by: Nielk1 on November 06, 2009, 09:56:21 PM
Thumpers not only simulate at simulation rate but render at simulation rate. That means they are choppy unless you use a higher TPS.
Title: Re: Running at high TPS
Post by: Commando on November 07, 2009, 06:27:45 PM
The main difference I notice is the fact that audio files seem to play faster at higher tps settings.
Title: Re: Running at high TPS
Post by: TheJamsh on November 07, 2009, 10:16:18 PM
to change the TPS, you just add something like this to the shortcut right?

/tps 50

i didnt notice any difference, but it felt a LOT smoother at 50 TPS.
Title: Re: Running at high TPS
Post by: Nielk1 on November 07, 2009, 10:22:02 PM
Um... Valid values are 10, 15, 20, and 30.
Title: Re: Running at high TPS
Post by: TheJamsh on November 07, 2009, 10:55:35 PM
must have just been my imagination running off on one then. Or that i tested on a blank map and was averaging about 500fps...
Title: Re: Running at high TPS
Post by: Nielk1 on November 08, 2009, 12:07:10 AM
fps are on a different loop than tps.
Title: Re: Running at high TPS
Post by: Commando on November 09, 2009, 06:13:34 PM
To play in multiplayer with higher tps, that commandline switch does not work.  You have to add TPS = 30 to gameprefs.ini, then you have to enter /allowhightps to your shortcut.  Your method only works in singleplayer as far as I know.