game time

General discussion about anything related to Transcendence.
Post Reply
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

How many ticks are in a second? This has most likely been answered before but there seems to be conflicting answers.
Crying is not a proper retort!
BloodEagle
Anarchist
Anarchist
Posts: 21
Joined: Wed Aug 06, 2008 7:27 pm

A tick is a variable unit of time measurement, if I recall correctly.
"Ignorance is the greatest weapon of tyranny, and old wounds open all too easily."
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

This is the data i have available.

1 second realtime is 60 seconds game-time.
at 30 FPS, 30 ticks == 1 realtime second.
Time is compressed 5 times under autopilot
I can not recall whether ticks are also compressed, but i don't think so (would not make sense)

.]
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

alterecco wrote:This is the data i have available.

1 second realtime is 60 seconds game-time.
at 30 FPS, 30 ticks == 1 realtime second.
Time is compressed 5 times under autopilot
I can not recall whether ticks are also compressed, but i don't think so (would not make sense)

.]
It would make sense to me. Everything in the game runs faster in autopilot, so it would seem like whatever ticks run should too.

What do ticks do anyway?
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

Ticks are not compressed. If they were autopilot wouldn't speed anything up.
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Atarlost wrote:Ticks are not compressed. If they were autopilot wouldn't speed anything up.
*is confused*
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5510
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

schilcote wrote:
Atarlost wrote:Ticks are not compressed. If they were autopilot wouldn't speed anything up.
*is confused*
The ticks can't be compressed, because if they were... ok, hmmm... Let's just say you see at the speed of the ticks. If the ticks are compressed, so is what you view, and thus you'd be seeing the exact same thing.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Wolfy wrote:
schilcote wrote:
Atarlost wrote:Ticks are not compressed. If they were autopilot wouldn't speed anything up.
*is confused*
The ticks can't be compressed, because if they were... ok, hmmm... Let's just say you see at the speed of the ticks. If the ticks are compressed, so is what you view, and thus you'd be seeing the exact same thing.
Aha. So they're the rate at which the screen is drawn?
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

alterecco wrote:This is the data i have available.

1 second realtime is 60 seconds game-time.
at 30 FPS, 30 ticks == 1 realtime second.
Time is compressed 5 times under autopilot
I can not recall whether ticks are also compressed, but i don't think so (would not make sense)

.]

Line 381 in CommonwealthMining.xml states:
"Time between missions (5400-8990 or 3-5 real minutes)"
so 30 ticks per sec is correct

I believe that ticks are compressed by autopilot as a recurring event with a delay of 9000 ticks (5 mins) will fire every 1800 ticks (1 min) with autopilot active.

Consider fps as "Real" time and ticks as "Game" time,
@ 30 fps and 30 ticks per sec you have 1 tick per frame
with autopilot that jumps to 5 ticks per frame and you get time compression in the game relative to real time.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Prophet wrote:
alterecco wrote:This is the data i have available.

1 second realtime is 60 seconds game-time.
at 30 FPS, 30 ticks == 1 realtime second.
Time is compressed 5 times under autopilot
I can not recall whether ticks are also compressed, but i don't think so (would not make sense)

.]

Line 381 in CommonwealthMining.xml states:
"Time between missions (5400-8990 or 3-5 real minutes)"
so 30 ticks per sec is correct

I believe that ticks are compressed by autopilot as a recurring event with a delay of 9000 ticks (5 mins) will fire every 1800 ticks (1 min) with autopilot active.

Consider fps as "Real" time and ticks as "Game" time,
@ 30 fps and 30 ticks per sec you have 1 tick per frame
with autopilot that jumps to 5 ticks per frame and you get time compression in the game relative to real time.
Exactly, that's what I thought. But according to everyone else, ticks are the same as frames...

I'm still confused.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
Post Reply