Editing Gametime

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
Time spent since game was started. Keeped from level to level.
+
Time spent since game was started and keeped from level to level.
  
Blood Omnicide gametime constants:
+
In Blood omnicide gametime is represented by vector:
* Kain starts a game at day 0 ~8 PM
+
* x - days since game started
* When Kain is being ressurected as vampire, gametime: day 4 ~8 PM
+
* y - day hours
* 1 game minute per real second
+
* z - hour minutes
* 60 minutes per hour
+
* 24 hours per day
+
* 365 days per year
+
* 28 days per moon cycle
+
* moon cycle origin - day 9, 12 AM
+
  
== Representation ==
+
== Representations ==
 +
=== String ===
  
Generally gametime is represented by vector:
+
Gametime is represented as string vector:
* x - minutes
+
* y - hours
+
* z - days since game started
+
 
+
But in scripts, gametime may be represented in different ways.
+
 
+
=== Vector string (gametime) ===
+
  
 +
Example:
 
  // day 5, 21 hour 31 minutes
 
  // day 5, 21 hour 31 minutes
  '32 21 5'
+
  '5 21 31'
  
 
=== Float (daytime) ===
 
=== Float (daytime) ===
  
Days spent since game start + day fraction:
+
Daytime float is days spent since game start + day fraction.
// day 5, 21 hour 31 minutes
+
5.8965
+
  
=== Float (yeartime) ===
+
Example:
 +
// 6 days 17 hours 4 minutes
 +
6.711
  
Year spent since game start + year fraction:
+
== Known constants ==
// day 5, 21 hour 31 minutes
+
* Kain starts a game at day 0 ~8 PM
0.0161549
+
* When Kain is being ressurected as vampire, gametime day 4 ~8 PM
 
+
=== Moon time ===
+
 
+
Current moon cycle fraction:
+
// day 5, 21 hour 31 minutes
+
0.5499
+
 
+
Moon time as phases:
+
* 0 to 0.04 - new moon
+
* 0.04 to 0.5 - raise
+
* 0.5 to 0.54 - full moon
+
* 0.54 to 1 - fall
+
 
+
==Console commands (debug only)==
+
{{cmd|cmd gametime|show current time}}
+
{{cmd|timeflow speed|show current time}}
+
{{cmd|timetest "gametime"|start a level with certain gametime string ('''restart''' required)}}
+
  
 
[[Category:Glossary]]
 
[[Category:Glossary]]
{{finished}}
 
__NOTOC__
 

Please note that all contributions to Blood Wiki are considered to be released under the Creative Commons Attribution Share Alike (see BloodWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

Templates used on this page:

This page is a member of 1 hidden category:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox