Comments (3)
Hi @NathanS-8500 ,
thanks for the flowers. To your feature request: Can you tell me the benefit you have by reading the currentDay
value from the evironment.xml of your save?
I just started a new save and the value is currentDay=6
.
What i can tell:
FS22 use this value to calculate the current day + current month. By a new save game, it starts with 6
means (1 day per month settings)
- Mar=1,
- Apr=2,
- May=3
- Jun=4,
- Jul=5,
- Aug=6
- Sep=7
- Oct=8
- Nov=9
- Dec=10
- Jan=11
- Feb=12
Every new save starts with August. If you switch the daysPerPeriod=2 and fast forward to the next month, the new currentDay
switches to 14.
That means
roundOff(14 / 2) = 7 = Sep ((14 modulo 2) + 1) = Sep 1
one day ahead, the current day is 15, stands for:
roundOff(15 / 2) = 7 = Sep ((15 modulo 2) + 1) = Sep 2
another day ahead, the current day is 16, stands for:
roundOff(16 / 2) = 8 = Oct ((16 modulo 2) + 1) = Oct 1
Edit: Even the currentYear is just calculated by the currentDay
value. There is no currentYear
on the environment.xml.
from fs22_extendedgameinfodisplay.
Peppie84, from what I've seen of the currentDay value in my games, it has nothing to do with seasons whether the seasons are turned on or off. Throughout my gameplay and checking this value out, this currentDay value will continue to climb beyond 16 if the player plays more than 16 currentDays. I’ve seen that value toward 50 or more already and it only means how many days in-game have passed. Every time midnight hits, that currentDay value goes up a digit to reflect the next career day. My only benefit from this would be to see how many days have passed in game without having to look at the environment.xml file manually. Having this HUD implemented would allow for the mod to get, read, and display that value on the HUD in game for us players that are interested in seeing how many days have passed in-game. It would also allow for players with seasons to check that and see when the next month will display on the HUD depending on the season settings. In short, a HUD to display the currentDay value it reads and gets from environment.xml.
from fs22_extendedgameinfodisplay.
Hi @NathanS-8500 ,
thanks for your request but i think it has currently no value for this mod.
Edit: As a workaround, you can calculate the value by this formula: ((currentYear-1)*12 + MonthInNumberFromTheListAbove)
if you play with 1 DayPerMonth otherwise use the formula above i showed you.
For this example: (5-1)*12 + 4 (for Jun)
=52
from fs22_extendedgameinfodisplay.
Related Issues (11)
- Textelement für min/max Temperatur verkleinern HOT 1
- Error: Running LUA method 'update'. HOT 5
- Only reports celsius - needs Fahrenheit when the user has it set that way HOT 1
- Question / Improvement - wind infos HOT 1
- Fahrenheit HOT 1
- Jahreswechsel HOT 2
- temperature translations HOT 7
- Improvement - Add unit selection. HOT 4
- Über Settings Gui-Elemente ein/ausblenden HOT 1
- Frage zum angezeigten Jahr HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fs22_extendedgameinfodisplay.