Editing Gametime
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 | + | Time spent since game was started and keeped from level to level. |
− | Blood Omnicide | + | == 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 | + | * When Kain is being ressurected as vampire, gametime day 4 ~8 PM |
* 1 game minute per real second | * 1 game minute per real second | ||
* 60 minutes per hour | * 60 minutes per hour | ||
* 24 hours per day | * 24 hours per day | ||
− | * | + | * 265 days per year |
* 28 days per moon cycle | * 28 days per moon cycle | ||
* moon cycle origin - day 9, 12 AM | * moon cycle origin - day 9, 12 AM | ||
− | + | In gamecode, gametime is represented by vector: | |
− | + | ||
− | + | ||
* x - minutes | * x - minutes | ||
* y - hours | * y - hours | ||
Line 20: | Line 18: | ||
But in scripts, gametime may be represented in different ways. | But in scripts, gametime may be represented in different ways. | ||
− | === | + | === String gametime === |
+ | String vector: | ||
// day 5, 21 hour 31 minutes | // day 5, 21 hour 31 minutes | ||
'32 21 5' | '32 21 5' | ||
Line 37: | Line 36: | ||
0.0161549 | 0.0161549 | ||
− | === Moon time === | + | === Moon time float === |
+ | |||
+ | 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 | ||
− | + | == Console commands (debug only) == | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | * '''cmd gametime''' - show current time | |
− | + | * '''timeflow''' ''X'' - set time flow speed | |
− | + | * '''timetest''' ''X'' - start a level with certain gametime string | |
− | + | ||
[[Category:Glossary]] | [[Category:Glossary]] | ||
− | + | ||
__NOTOC__ | __NOTOC__ |