User Tools

Site Tools


modding:xml:game_seconds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
modding:xml:game_seconds [2012/09/02 06:27] rpcmodding:xml:game_seconds [2012/09/02 07:00] – It only didn't work in that case because there was a random ' ' and not an empty line star_weaver
Line 1: Line 1:
 +FIXME --- //So, how are ticks and game seconds used in modding again?//
  
 +//Most of the time, I think always in script functions, time is expressed in ticks. Just to be annoying, there are some device attributes like shield regen that are specified in game seconds or 'per 180 ticks' instead...//
 +
 +Also, note that some events like <OnUpdate> don't mention how many ticks pass before they are called again. For <OnUpdate>, it's usually 30 ticks, and <OnUpdate> on overlays is 20 ticks IIRC.
 +
 +//Overlays is 15, I only remember because i've made realtime countdowns with them, and it's slower on items on npcs (or there's a seperate onnpcupdate, I forget...)//
 +
 +In Transcendence, a **game second** is a unit of time measurement. An actual second is equivalent to 30 ticks, which in turn is equivalent to 60 game seconds.
modding/xml/game_seconds.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1