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 starte. Keeped from level to level.
  
Blood Omnicide gametime constants:
+
== Blood Omnicide constants ==
 
* Kain starts a game at day 0 ~8 PM
 
* Kain starts a game at day 0 ~8 PM
 
* When Kain is being ressurected as vampire, gametime: day 4 ~8 PM
 
* When Kain is being ressurected as vampire, gametime: day 4 ~8 PM
Line 11: Line 11:
 
* moon cycle origin - day 9, 12 AM
 
* moon cycle origin - day 9, 12 AM
  
== Representation ==
+
In gamecode, gametime is represented by vector:
 
+
Generally gametime is represented by vector:
+
 
* x - minutes
 
* x - minutes
 
* y - hours
 
* y - hours
Line 39: Line 37:
 
=== Moon time ===
 
=== Moon time ===
  
Current moon cycle fraction:
+
Moon phases (0-100%):
 +
* 0% - new
 +
* 0-50% - raise
 +
* 50% - full
 +
* 50-100% - fall
 +
 
 +
Moon time is represented by float moon cycles + cycle fraction.
 
  // day 5, 21 hour 31 minutes
 
  // day 5, 21 hour 31 minutes
 
  0.5499
 
  0.5499
  
Moon time as phases:
+
== Console commands (debug only) ==
* 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 gametime''' - show current time
{{cmd|cmd gametime|show current time}}
+
* '''timeflow''' ''X'' - set time flow speed
{{cmd|timeflow speed|show current time}}
+
* '''timetest''' ''X'' - start a level with certain gametime string
{{cmd|timetest "gametime"|start a level with certain gametime string ('''restart''' required)}}
+
  
 
[[Category:Glossary]]
 
[[Category:Glossary]]
{{finished}}
+
 
 
__NOTOC__
 
__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