Toto diskuzní fórum je „odborně – technické“ a je zaměřeno k diskuzi o navigačních programech IGO. V tomto diskuzním fóru nenajdete nelegální software či mapy, ani odkazy které by k nim směřovaly. |
|
a v tomto vlákně se řeší originál.SvoDa píše:hlášení názvu cíle a PB je již v originálu wiman na světě téměř měsíc viz viewtopic.php?p=88964#p88964
sc_wi_wReadOutDestinationInfo = function()
if MODEL.lua.pchangeWaitDest() == 1 then
local distance = MODEL.navigation.distance_to_destination()
local pk_destination = (MODEL.lua.pchangeINfo() == 3 or MODEL.lua.pchangeINfo() == 4 or MODEL.lua.pchangeINfo() == 5) and (translated_voice_format(m_i18n_voice("Destination")) .. MODEL.navigation.destination_name_short()) or L""
if MODEL.lua.pchangeINfo() == 0 or MODEL.lua.pchangeINfo() == 3 then
sc_wi_wsayspeech(pk_destination .. sc_wi_wReadOutDestinationInfo_GetTimeText(MODEL.navigation.eta_at_destination()) .. translated_voice_format(m_i18n_voice("Distance %s."), sc_wi_wVoiceFormat_search_distance(distance)),21,25)
elseif MODEL.lua.pchangeINfo() == 1 or MODEL.lua.pchangeINfo() == 4 then
sc_wi_wsayspeech(pk_destination .. sc_wi_wReadOutDestinationInfo_GetTimeText(MODEL.navigation.eta_at_destination()),21,25)
elseif MODEL.lua.pchangeINfo() == 2 or MODEL.lua.pchangeINfo() == 5 then
sc_wi_wsayspeech(pk_destination .. translated_voice_format(m_i18n_voice("Distance to destination %s."), sc_wi_wVoiceFormat_search_distance(distance)),21,25)
end
end
if MODEL.lua.pchangeWaitDest() == 0 then
local distance = MODEL.navigation.distance_to_waypoint()
local pk_waypoint = (MODEL.lua.pchangeINfo() == 3 or MODEL.lua.pchangeINfo() == 4 or MODEL.lua.pchangeINfo() == 5) and (translated_voice_format(m_i18n_voice("Waypoint")) .. MODEL.navigation.next_viapoint_name_short()) or L""
if MODEL.lua.pchangeINfo() == 0 or MODEL.lua.pchangeINfo() == 3 then
sc_wi_wsayspeech(pk_waypoint .. sc_wi_wi_wReadOutDestinationInfo_GetTimeText(MODEL.navigation.eta_at_waypoint()).. translated_voice_format(m_i18n_voice("Distance %s."), sc_wi_wVoiceFormat_search_distance(distance)),21,25)
elseif MODEL.lua.pchangeINfo() == 1 or MODEL.lua.pchangeINfo() == 4 then
sc_wi_wsayspeech(pk_waypoint .. sc_wi_wi_wReadOutDestinationInfo_GetTimeText(MODEL.navigation.eta_at_waypoint()),21,25)
elseif MODEL.lua.pchangeINfo() == 2 or MODEL.lua.pchangeINfo() == 5 then
sc_wi_wsayspeech(pk_waypoint .. translated_voice_format(m_i18n_voice("Distance to waypoint %s."),sc_wi_wVoiceFormat_search_distance(distance)),21,25)
end
end
end
sc_wi_wReadOutDestinationInfo = function()
if MODEL.lua.pchangeWaitDest() == 1 then
local distance = MODEL.navigation.distance_to_destination()
local pk_destination = (MODEL.lua.pchangeINfo() == 3 or MODEL.lua.pchangeINfo() == 4 or MODEL.lua.pchangeINfo() == 5) and (translated_voice_format(m_i18n_voice("Destination")) .. MODEL.navigation.destination_name_long()) or L""
if MODEL.lua.pchangeINfo() == 0 or MODEL.lua.pchangeINfo() == 3 then
sc_wi_wsayspeech(translated_voice_format(m_i18n_voice("Current time %s."), MODEL.other.format_time_dayperiod(MODEL.gps.current_time(), MODEL.regional.timeformat(), 0)) .. pk_destination .. sc_wi_wReadOutDestinationInfo_GetTimeText(MODEL.navigation.eta_at_destination()) .. translated_voice_format(m_i18n_voice("Time to destination %s."), MODEL.other.format_timespan(MODEL.navigation.time_to_destination(), 5, MODEL.regional.timeformat(), 0)) .. translated_voice_format(m_i18n_voice("Distance %s."), sc_wi_wVoiceFormat_search_distance(distance)),21,25)
elseif MODEL.lua.pchangeINfo() == 1 or MODEL.lua.pchangeINfo() == 4 then
sc_wi_wsayspeech(translated_voice_format(m_i18n_voice("Current time %s."), MODEL.other.format_time_dayperiod(MODEL.gps.current_time(), MODEL.regional.timeformat(), 0)) .. pk_destination .. sc_wi_wReadOutDestinationInfo_GetTimeText(MODEL.navigation.eta_at_destination()) .. translated_voice_format(m_i18n_voice("Time to destination %s."), MODEL.other.format_timespan(MODEL.navigation.time_to_destination(), 5, MODEL.regional.timeformat(), 0)),21,25)
elseif MODEL.lua.pchangeINfo() == 2 or MODEL.lua.pchangeINfo() == 5 then
sc_wi_wsayspeech(pk_destination .. translated_voice_format(m_i18n_voice("Distance to destination %s."), sc_wi_wVoiceFormat_search_distance(distance)),21,25)
end
end
if MODEL.lua.pchangeWaitDest() == 0 then
local distance = MODEL.navigation.distance_to_waypoint()
local pk_waypoint = (MODEL.lua.pchangeINfo() == 3 or MODEL.lua.pchangeINfo() == 4 or MODEL.lua.pchangeINfo() == 5) and (translated_voice_format(m_i18n_voice("Waypoint")) .. MODEL.navigation.next_viapoint_name_long()) or L""
if MODEL.lua.pchangeINfo() == 0 or MODEL.lua.pchangeINfo() == 3 then
sc_wi_wsayspeech(translated_voice_format(m_i18n_voice("Current time %s."), MODEL.other.format_time_dayperiod(MODEL.gps.current_time(), MODEL.regional.timeformat(), 0)) .. pk_waypoint .. sc_wi_wi_wReadOutDestinationInfo_GetTimeText(MODEL.navigation.eta_at_waypoint()) .. translated_voice_format(m_i18n_voice("Time to waypoint %s."), MODEL.other.format_timespan(MODEL.navigation.time_to_waypoint(), 5, MODEL.regional.timeformat(), 0)) .. translated_voice_format(m_i18n_voice("Distance %s."), sc_wi_wVoiceFormat_search_distance(distance)),21,25)
elseif MODEL.lua.pchangeINfo() == 1 or MODEL.lua.pchangeINfo() == 4 then
sc_wi_wsayspeech(translated_voice_format(m_i18n_voice("Current time %s."), MODEL.other.format_time_dayperiod(MODEL.gps.current_time(), MODEL.regional.timeformat(), 0)) .. pk_waypoint .. sc_wi_wi_wReadOutDestinationInfo_GetTimeText(MODEL.navigation.eta_at_waypoint()) .. translated_voice_format(m_i18n_voice("Time to waypoint %s."), MODEL.other.format_timespan(MODEL.navigation.time_to_waypoint(), 5, MODEL.regional.timeformat(), 0)),21,25)
elseif MODEL.lua.pchangeINfo() == 2 or MODEL.lua.pchangeINfo() == 5 then
sc_wi_wsayspeech(pk_waypoint .. translated_voice_format(m_i18n_voice("Distance to waypoint %s."),sc_wi_wVoiceFormat_search_distance(distance)),21,25)
end
end
end
Current time %s.="je %s ;"
Time to destination %s.="; zbývá %s ."
Time to waypoint %s.="; zbývá %s ."
velsak píše:... to by algoritmicky nebyl problém, ...
SvoDa píše: Pokud by někdo chtěl slyšet v originální verzi u nabídek
- Čas příjezdu
- Čas příjezdu a vzdálenost
- Název PB/cíle + čas příjezdu
- Název PB/cíle + čas příjezdu a vzdálenost
krom stávajících hlášek (údajů) i aktuální čas a zbývající čas k PB/cíli...
Zpět na Skiny a úpravy DATA.ZIPu
Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 25 návštevníků