slow game aka day lenght
Posted: 12 Jun 2018 12:40
one of the frustrating things in game is that later one things speed up in introduction of new engines and you really do nto have time to enjoy playign with an engine and you are constant upgrade
even the monorail is so little use by the time i finish the upgrade i have to go to mangle !!!!!
and i know this is developed by the community so i said okey lets dig in and try to fix it.
i know visual basic and some languages for the internet but nto c++ so it will be a huge leap forward for me but lets see what will happen
apart from learning c++ i have to learn about git since i never used it before and find and learn to use a compiler for c++
the last one will be tricky since i have a laptop with windows 7 but not service pack 1 and i can not install the servise pack r
so by watching the forum and reading the online slaughter about the day length and the problems
what is the goal of my patch
1. do not break any mechanic of ottd and everything work as it is now
2. only change will be that year, day, moth will last longer and thus vehicles will introduce later
so in order to achieve both of this
i introduce a second clock and the concept of 2 days 2 months 2 years
a normal day, month ,year as we know it and a slower day, month year
there is a slow factor which will be able to be chosen by user choosing 1 will make game run normal speed
thus in effect day and slow day will last the same
since the mechanics of the game are based in day and 20day(month) cycle this remain the same
the patch s by adding days , months year in the game, with the slow factor you choose
for now i put a value of 2 since i am in test phase
so what works now?/
check that was done in 74 ticks aka 1 day will be done again at that time
check that was done in 30 days will be done again at that time
difference is that some things done in yearly base was moved to the new slow year
and some were left there
the date in the game is running slower in the surface since you will see the same day in the game for the duration of the slow factor
later on the date display will add an hour indicator where in effect you will see the normal days pass as hours
here is the file i change with the changed code
any thoughts??
even the monorail is so little use by the time i finish the upgrade i have to go to mangle !!!!!
and i know this is developed by the community so i said okey lets dig in and try to fix it.
i know visual basic and some languages for the internet but nto c++ so it will be a huge leap forward for me but lets see what will happen
apart from learning c++ i have to learn about git since i never used it before and find and learn to use a compiler for c++
the last one will be tricky since i have a laptop with windows 7 but not service pack 1 and i can not install the servise pack r
so by watching the forum and reading the online slaughter about the day length and the problems
what is the goal of my patch
1. do not break any mechanic of ottd and everything work as it is now
2. only change will be that year, day, moth will last longer and thus vehicles will introduce later
so in order to achieve both of this
i introduce a second clock and the concept of 2 days 2 months 2 years
a normal day, month ,year as we know it and a slower day, month year
there is a slow factor which will be able to be chosen by user choosing 1 will make game run normal speed
thus in effect day and slow day will last the same
since the mechanics of the game are based in day and 20day(month) cycle this remain the same
the patch s by adding days , months year in the game, with the slow factor you choose
for now i put a value of 2 since i am in test phase
so what works now?/
check that was done in 74 ticks aka 1 day will be done again at that time
check that was done in 30 days will be done again at that time
difference is that some things done in yearly base was moved to the new slow year
and some were left there
the date in the game is running slower in the surface since you will see the same day in the game for the duration of the slow factor
later on the date display will add an hour indicator where in effect you will see the normal days pass as hours
here is the file i change with the changed code
any thoughts??