Tachograph AETR v0.2a [plugin]
Description about « Tachograph AETR v0.2a [plugin] »
AETR tachograph v0.2a
Log message example 0.2:
00:00:42.745 : TACHOGRAPH INFO (we 23:52): short rest stop in 04:30 / daily rest stop in 09:00 (+0 x 10:00 drive; +1 x 9:00 rest) / weekly rest stop in 18:02
(we 23:52) - current game time and weekday
+0 x 10:00 drive - how many days when you can drive 10 hours left
+1 x 9:00 rest - how many days when you can rest 9 hours left
Added full control of daily rest duration (according to AETR rules)
Added full control of 10-hours driving days (according to AETR rules)
Added full control of driving hours during every 1 & 2 weeks (according to AETR rules)
Control of weekly rest duration is under construction.
Added sound for yellow & red messages (short sound once per game minute)
files tac1.wav, tac2.wav
You can adjust appearance time of red & yellow messages by adding
this section to ini-file
[settings]
warning_time1=60
warning_time2=30
(current default values are listed).
Still not fixed.
After a short driving time (<1 game minute), if you will go to long rest too fast
(by pressing Enter in a rest places on map, or typing g_set_time command too fast)
this rest time may mark as a driving time. To pass it, wait 1-2 game minutes until
pressing Enter or typing g_set_time.
AETR tachograph v0.1a
First small step to drive by AETR regulations in game.
The only way to get feedback from plugins to player is game.log.txt messages.
This plugin puts there a messages every game minute:
00:58:01.403 : <WARNING> TACHOGRAPH INFO: short rest stop in 00:19 / daily rest stop in 01:50 / weekly rest stop in 00:00
For getting theese messages right in the game, you must start the game with a consoles enabled. Edit in tthe main game's config.cfg values:
uset g_developer "1"
uset g_minicon "1"
uset g_console "1"
Miniconsole will show tacho messages, main console will give you ability to rest by
g_set_time <hh> <mm>
command.
Turn off fatigue simulation in game.
"Driving time" is time when truck
- moves forward/backward faster than 1 m/s
or
- engine is on and parking brake is off (for rest with working engine, but i don't sure it's correct).
This base v0.1a controls only short rest stops (45 or 15+30 minutes in 4.5 hrs of driving) and daily rest stops (11 or 3+9 hrs of rest after 9 hrs of daily driving).
Other rules will be added later. Weekly rest stop is always 0:00 in 0.1a, just ignore it.
Plugin doesn't shows how many time you have to rest, it shows how many time you can drive. If you don't sure about how you have to rest, move time forward step-by-step (1 hr, for example) and soon you'll see increased values of allowed driving hours.
Be careful with stored info. Plugin doesn't work with different profiles (there is no values in telemetry library for getting current profile name). Thus if you want drive on another profile, you have to save somewhere telemetry_tac.ini for old profile. New profiles can delete info from old profile's telemetry_tac.ini because of lower absolute current game time.
Plugin works stable if you will load save made a not long ago from current moment. Older saves will delete stored tachograph info.
Installation:
Put plugin & wav files to
"..\Euro Truck Simulator 2\bin\win_x86\plugins\" for 32-bit game version
"..\Euro Truck Simulator 2\bin\win_x64\plugins\" for 64-bit game version
if Plugins folder doesn't exists - create it.
If plugin file located correctly - you will see a warning message when starting the game.
Required:
MS VC++ Redistributable 2012 (exactly this version!) x86/x64.
Feedback & bugreporting are welcome! :wink_mini:
Related Mods:
Leave a comment
Did u tried this mod? We offer you to share your feedback from what you tested! Your review will be useful to viewers who are just about to download and to try this new mod.