Podařilo se mi upravit Lišku ve smyslu vzdálenosti.. Přepsal jsem odhadem vzdálenosti ze 100m na 200m v commands.csv, při prvních pokusech na simulaci to funguje.
Uvádím tady upravený commands.csv:
- Kód: Vybrat vše
"code","distance","vocal/iconid","comment"
"straight","call gen_nocross straight straight2 straight3 straight4","0",
"slight_left","call turn slightly left","3",
"slight_right","call turn slightly right","4",
"left","call turn left","1",
"right","call turn right","2",
"ramp_left","call turn_plus exit left2","30",
"ramp_right","call turn_plus exit right2","29",
"exit_left","call high_speed_turn exit left2","24",
"exit_right","call high_speed_turn exit right2","23",
"sharp_left","call turn sharply left","19",
"sharp_right","call turn sharply right","17",
"uturn_left","call turn_plus turn_back","22",
"uturn_right","call turn_plus turn_back","18",
"continue_left","call turn2 left","1",
"continue_right","call turn2 right","2",
"continue_sharp_left","call turn2 sharply left","19",
"continue_sharp_right","call turn2 sharply right","17",
"continue_uturn_left","call turn_plus turn_back","22",
"continue_uturn_right","call turn_plus turn_back","18",
"uturn_left_dual","call turn_plus turn_back","34",
"uturn_right_dual","call turn_plus turn_back","35",
"roundabout_h","call roundabout","21",
"roundabout_l","call roundabout","21",
"roundabout_exit",,"21",
"goal","call gen_goal arrive4 arrive6","8",
"via","call gen_goal arrive5 arrive2","20",
"uturn","call gen_nocross turn_back_where_possible turn_back turn_back turn_back","22",
"keep_left_b","call high_speed_turn keep2 left2","26",
"keep_right_b","call high_speed_turn keep2 right2","25",
"keep_left","call turn_plus keep left2","24",
"keep_right","call turn_plus keep right2","23",
"keep_left_hwy","call highway keep left2",26,
"keep_right_hwy","call highway keep right2",26,
"priority","call main_road follow_main_road","0",
"priority_left","call main_road follow_main_road","1",
"priority_right","call main_road follow_main_road","2",
"highway_enter","call gen_nocross enter_highway enter_highway2 enter_highway enter_highway2","6",
"highway_change",,"6",
"highway_leave","call highway leave_highway","7",
"ferry","call gen_nocross enter_ferry enter_ferry enter_ferry enter_ferry","27",
"ferry_exit","call gen_nocross leave_ferry leave_ferry leave_ferry leave_ferry","28",
"start_ferry",,"27",
"start_n",,"11",
"start_ne",,"10",
"start_e",,"9",
"start_se",,"14",
"start_s",,"15",
"start_sw",,"16",
"start_w",,"13",
"start_nw",,"12",
,,,
"template gen_nocross",,,
,"400[then]","then2 %4",
,"1000[then2]","then2 %dist %3",
,"15000[more]","hurray break2",
,"5000[more]","break3 and_be_cool",
,"2000[more,set_4]","go_on2",
,"1400[more,set_4]","no_idea fun",
,"800[more]","go_on",
,"600[more,set_1]","news4 %dist %2",
,"200[more,set_1]","%dist %2",
,"0[more,near]","%1 %then",
,"1500[equal,minsilence=12,if_not_4]","i_am_back2 by_and_by %4",
,"500[equal,minsilence=8,if_not_1]","%dist %4",
,,,
"template turn",,,
,"200[then1]","then %*",
,"200[then]","then turn %*",
,"1000[then2]","then2 %dist turn %*",
,"15000[more]","break",
,"5000[more]","break2",
,"2000[more,set_4]","go_on2",
,"1700[more,set_4]","moment wrong_way3 fun",
,"1400[more,set_4]","go_on",
,"1100[more]","over_speed_limit3 fun",
,"800[more]","go_on",
,"400[more,set_1]","%dist turn %*",
,"200[more,set_2]","%dist turn %*",
,"50[more,near,set_3]","%dist %* %then1",
,"0[more,near]","now %*",
,"1500[equal,minsilence=12,if_not_4]","i_am_back2 by_and_by turn %*",
,"500[equal,minsilence=12,if_not_1]","%dist turn %*",
,"200[near,minsilence=10,if_not_2]","%dist turn %* %then1",
,"50[!X,near,minsilence=8,if_not_3]","now2 %* %then1",
,"50[X=1,near,minsilence=8,if_not_3]","now2 %* %then1",
,"50[X>1,near,minsilence=8,if_not_3]","%dist %* %then1",
,,,
"template turn2",,,
,"200[then1]","then %*",
,"200[then]","then turn2 %*",
,"1000[then2]","then2 %dist turn2 %*",
,"15000[more]","break",
,"5000[more]","break2",
,"2000[more,set_4]","go_on",
,"1200[more,set_4]","go_on2",
,"800[more]","wrong_way2 fun",
,"600[more,set_1]","news3 %dist turn2 %*",
,"400[more,set_1]","%dist turn2 %*",
,"200[more,set_2]","%dist turn2 %*",
,"50[more,near,set_3]","%dist %* %then1",
,"0[more,near]","now3 %*",
,"1500[equal,minsilence=12,if_not_4]","i_am_back2 by_and_by turn2 %*",
,"500[equal,minsilence=12,if_not_1]","%dist turn2 %*",
,"300[near,minsilence=10,if_not_2]","%dist turn2 %* %then1",
,"50[!X,near,minsilence=8,if_not_3]","now4 %* %then1",
,"50[X=1,near,minsilence=8,if_not_3]","now4 %* %then1",
,"50[X>1,near,minsilence=8,if_not_3]","%dist %* %then1",
,,,
"template turn_plus",,,
,"200[then]","then %*",
,"1000[then2]","then2 %dist %*",
,"15000[more]","break",
,"5000[more]","hurray break3 and_be_cool",
,"2000[more,set_4]","go_on2",
,"1200[more,set_4]","go_on",
,"800[more]","wrong_way fun",
,"600[more,set_1]","news %dist %*",
,"400[more,set_1]","%dist %*",
,"200[more,set_2]","%dist %*",
,"50[more,near,set_3]","%dist %* %then",
,"0[more,near]","now %*",
,"1500[equal,minsilence=12,if_not_4]","i_am_back moment by_and_by %*",
,"500[equal,minsilence=12,if_not_1]","%dist %*",
,"300[near,minsilence=10,if_not_2]","%dist %* %then1",
,"50[!X,near,minsilence=8,if_not_3]","now3 %* %then1",
,"50[X=1,near,minsilence=8,if_not_3]","now2 %* %then1",
,"50[X>1,near,minsilence=8,if_not_3]","%dist %* %then1",
,,,
"template high_speed_turn",,,
,"200[then]","then %*",
,"1000[then2]","then2 %dist %*",
,"20000[more]","break",
,"8000[more]","break2",
,"3000[more]","go_on2 and_be_cool",
,"1000[more,set_1]","go_on",
,"400[more,set_2]","%dist %* %then2",
,"0[more,near]","%dist %* %then",
,"1500[equal,minsilence=12,if_not_1]","i_am_back2 by_and_by %*",
,"500[equal,minsilence=8,if_not_2]","%dist %* %then2",
,"200[near,minsilence=4]","%dist %* %then",
,,,
"template roundabout",,,
,"200[then]","then2 roundabout3",
,"15000[more]","break",
,"5000[more]","break2",
,"2000[more,set_4]","go_on2",
,"1800[more,set_4]","go_on",
,"1300[more,set_4]","arrive3 fun",
,"800[more]","go_on2",
,"400[more,set_1]","%dist roundabout",
,"200[more,set_1]","we_are_good",
,"50[more,near,exit,set_2]","roundabout2 exit %exit",
,"50[more,near,!exit,set_3]","%dist roundabout",
,"0[more,near,exit]","roundabout2 exit %exit",
,"0[more,near,!exit]","%dist roundabout",
,"1500[equal,minsilence=12,if_not_4]","i_am_back moment by_and_by roundabout3",
,"500[equal,minsilence=12,if_not_1]","%dist roundabout",
,"200[near,exit,minsilence=10,if_not_2]","roundabout2 exit %exit",
,"200[near,!exit,minsilence=10,if_not_3]","%dist roundabout3",
,"50[near,exit,minsilence=6,if_not_2]","roundabout2 exit %exit",
,"50[near,!exit,minsilence=6,if_not_3]","%dist roundabout3",
,,,
"template gen_goal",,,
,"200[then]","then arrive",
,"15000[more]","break",
,"4000[more]","hurray break3",
,"2000[more]","go_on2",
,"1600[more]","go_on",
,"1200[more]","no_idea fun",
,"800[more]","go_on",
,"200[more,set_1]","%dist arrive",
,"0[more,near,set_2]","%1",
,"500[equal,minsilence=10, if_not_1]","%dist arrive",
,"1[near,if_not_2]","%2",
,,,
"template main_road",,,
,"300[then]","then %*",
,"15000[more]","break",
,"4000[more]","break3",
,"2000[more]","go_on",
,"1200[more]","go_on2",
,"800[more]","arrive8 fun",
,"600[more]","news2 %dist %*",
,"400[more]","%dist %*",
,"200[more,set_1]","%dist %*",
,"0[more,near,set_1]","%dist %*",
,"200[near,minsilence=10,if_not_1]","%dist %*",
,,,
"template highway",,,
,"50000[more]","break",
,"30000[more]","break2",
,"10000[more]","turn_back3 fun",
,"5000[more]","go_on2 and_be_cool",
,"2000[more,set_1]","%dist %*",
,"500[more,set_2]","%dist %*",
,"3000[equal,minsilence=15,if_not_1]","i_am_back2 %dist %*",
,"1000[near,minsilence=10,if_not_2]","%dist %* %then2",
,"300[near,minsilence=6]","now %* %then",
,,,
Pro úplnost ještě uvádím originální soubor od Mike Reloaded, aby jste byli schopní dohledat změny:
- Kód: Vybrat vše
"code","distance","vocal/iconid","comment"
"straight","call gen_nocross straight straight2 straight3 straight4","0",
"slight_left","call turn slightly left","3",
"slight_right","call turn slightly right","4",
"left","call turn left","1",
"right","call turn right","2",
"ramp_left","call turn_plus exit left2","30",
"ramp_right","call turn_plus exit right2","29",
"exit_left","call high_speed_turn exit left2","24",
"exit_right","call high_speed_turn exit right2","23",
"sharp_left","call turn sharply left","19",
"sharp_right","call turn sharply right","17",
"uturn_left","call turn_plus turn_back","22",
"uturn_right","call turn_plus turn_back","18",
"continue_left","call turn2 left","1",
"continue_right","call turn2 right","2",
"continue_sharp_left","call turn2 sharply left","19",
"continue_sharp_right","call turn2 sharply right","17",
"continue_uturn_left","call turn_plus turn_back","22",
"continue_uturn_right","call turn_plus turn_back","18",
"uturn_left_dual","call turn_plus turn_back","34",
"uturn_right_dual","call turn_plus turn_back","35",
"roundabout_h","call roundabout","21",
"roundabout_l","call roundabout","21",
"roundabout_exit",,"21",
"goal","call gen_goal arrive4 arrive6","8",
"via","call gen_goal arrive5 arrive2","20",
"uturn","call gen_nocross turn_back_where_possible turn_back turn_back turn_back","22",
"keep_left_b","call high_speed_turn keep2 left2","26",
"keep_right_b","call high_speed_turn keep2 right2","25",
"keep_left","call turn_plus keep left2","24",
"keep_right","call turn_plus keep right2","23",
"keep_left_hwy","call highway keep left2",26,
"keep_right_hwy","call highway keep right2",26,
"priority","call main_road follow_main_road","0",
"priority_left","call main_road follow_main_road","1",
"priority_right","call main_road follow_main_road","2",
"highway_enter","call gen_nocross enter_highway enter_highway2 enter_highway enter_highway2","6",
"highway_change",,"6",
"highway_leave","call highway leave_highway","7",
"ferry","call gen_nocross enter_ferry enter_ferry enter_ferry enter_ferry","27",
"ferry_exit","call gen_nocross leave_ferry leave_ferry leave_ferry leave_ferry","28",
"start_ferry",,"27",
"start_n",,"11",
"start_ne",,"10",
"start_e",,"9",
"start_se",,"14",
"start_s",,"15",
"start_sw",,"16",
"start_w",,"13",
"start_nw",,"12",
,,,
"template gen_nocross",,,
,"400[then]","then2 %4",
,"1000[then2]","then2 %dist %3",
,"15000[more]","hurray break2",
,"5000[more]","break3 and_be_cool",
,"2000[more,set_4]","go_on2",
,"1400[more,set_4]","no_idea fun",
,"800[more]","go_on",
,"600[more,set_1]","news4 %dist %2",
,"100[more,set_1]","%dist %2",
,"0[more,near]","%1 %then",
,"1500[equal,minsilence=12,if_not_4]","i_am_back2 by_and_by %4",
,"500[equal,minsilence=8,if_not_1]","%dist %4",
,,,
"template turn",,,
,"100[then1]","then %*",
,"100[then]","then turn %*",
,"1000[then2]","then2 %dist turn %*",
,"15000[more]","break",
,"5000[more]","break2",
,"2000[more,set_4]","go_on2",
,"1700[more,set_4]","moment wrong_way3 fun",
,"1400[more,set_4]","go_on",
,"1100[more]","over_speed_limit3 fun",
,"800[more]","go_on",
,"400[more,set_1]","%dist turn %*",
,"200[more,set_2]","%dist turn %*",
,"50[more,near,set_3]","%dist %* %then1",
,"0[more,near]","now %*",
,"1500[equal,minsilence=12,if_not_4]","i_am_back2 by_and_by turn %*",
,"500[equal,minsilence=12,if_not_1]","%dist turn %*",
,"100[near,minsilence=10,if_not_2]","%dist turn %* %then1",
,"50[!X,near,minsilence=8,if_not_3]","now2 %* %then1",
,"50[X=1,near,minsilence=8,if_not_3]","now2 %* %then1",
,"50[X>1,near,minsilence=8,if_not_3]","%dist %* %then1",
,,,
"template turn2",,,
,"100[then1]","then %*",
,"100[then]","then turn2 %*",
,"1000[then2]","then2 %dist turn2 %*",
,"15000[more]","break",
,"5000[more]","break2",
,"2000[more,set_4]","go_on",
,"1200[more,set_4]","go_on2",
,"800[more]","wrong_way2 fun",
,"600[more,set_1]","news3 %dist turn2 %*",
,"400[more,set_1]","%dist turn2 %*",
,"200[more,set_2]","%dist turn2 %*",
,"50[more,near,set_3]","%dist %* %then1",
,"0[more,near]","now3 %*",
,"1500[equal,minsilence=12,if_not_4]","i_am_back2 by_and_by turn2 %*",
,"500[equal,minsilence=12,if_not_1]","%dist turn2 %*",
,"100[near,minsilence=10,if_not_2]","%dist turn2 %* %then1",
,"50[!X,near,minsilence=8,if_not_3]","now4 %* %then1",
,"50[X=1,near,minsilence=8,if_not_3]","now4 %* %then1",
,"50[X>1,near,minsilence=8,if_not_3]","%dist %* %then1",
,,,
"template turn_plus",,,
,"100[then]","then %*",
,"1000[then2]","then2 %dist %*",
,"15000[more]","break",
,"5000[more]","hurray break3 and_be_cool",
,"2000[more,set_4]","go_on2",
,"1200[more,set_4]","go_on",
,"800[more]","wrong_way fun",
,"600[more,set_1]","news %dist %*",
,"400[more,set_1]","%dist %*",
,"200[more,set_2]","%dist %*",
,"50[more,near,set_3]","%dist %* %then",
,"0[more,near]","now %*",
,"1500[equal,minsilence=12,if_not_4]","i_am_back moment by_and_by %*",
,"500[equal,minsilence=12,if_not_1]","%dist %*",
,"100[near,minsilence=10,if_not_2]","%dist %* %then1",
,"50[!X,near,minsilence=8,if_not_3]","now3 %* %then1",
,"50[X=1,near,minsilence=8,if_not_3]","now2 %* %then1",
,"50[X>1,near,minsilence=8,if_not_3]","%dist %* %then1",
,,,
"template high_speed_turn",,,
,"200[then]","then %*",
,"1000[then2]","then2 %dist %*",
,"20000[more]","break",
,"8000[more]","break2",
,"3000[more]","go_on2 and_be_cool",
,"1000[more,set_1]","go_on",
,"400[more,set_2]","%dist %* %then2",
,"0[more,near]","%dist %* %then",
,"1500[equal,minsilence=12,if_not_1]","i_am_back2 by_and_by %*",
,"500[equal,minsilence=8,if_not_2]","%dist %* %then2",
,"100[near,minsilence=4]","%dist %* %then",
,,,
"template roundabout",,,
,"200[then]","then2 roundabout3",
,"15000[more]","break",
,"5000[more]","break2",
,"2000[more,set_4]","go_on2",
,"1800[more,set_4]","go_on",
,"1300[more,set_4]","arrive3 fun",
,"800[more]","go_on2",
,"400[more,set_1]","%dist roundabout",
,"200[more,set_1]","we_are_good",
,"50[more,near,exit,set_2]","roundabout2 exit %exit",
,"50[more,near,!exit,set_3]","%dist roundabout",
,"0[more,near,exit]","roundabout2 exit %exit",
,"0[more,near,!exit]","%dist roundabout",
,"1500[equal,minsilence=12,if_not_4]","i_am_back moment by_and_by roundabout3",
,"500[equal,minsilence=12,if_not_1]","%dist roundabout",
,"100[near,exit,minsilence=10,if_not_2]","roundabout2 exit %exit",
,"100[near,!exit,minsilence=10,if_not_3]","%dist roundabout3",
,"50[near,exit,minsilence=6,if_not_2]","roundabout2 exit %exit",
,"50[near,!exit,minsilence=6,if_not_3]","%dist roundabout3",
,,,
"template gen_goal",,,
,"100[then]","then arrive",
,"15000[more]","break",
,"4000[more]","hurray break3",
,"2000[more]","go_on2",
,"1600[more]","go_on",
,"1200[more]","no_idea fun",
,"800[more]","go_on",
,"200[more,set_1]","%dist arrive",
,"0[more,near,set_2]","%1",
,"500[equal,minsilence=10, if_not_1]","%dist arrive",
,"1[near,if_not_2]","%2",
,,,
"template main_road",,,
,"100[then]","then %*",
,"15000[more]","break",
,"4000[more]","break3",
,"2000[more]","go_on",
,"1200[more]","go_on2",
,"800[more]","arrive8 fun",
,"600[more]","news2 %dist %*",
,"400[more]","%dist %*",
,"200[more,set_1]","%dist %*",
,"0[more,near,set_1]","%dist %*",
,"100[near,minsilence=10,if_not_1]","%dist %*",
,,,
"template highway",,,
,"50000[more]","break",
,"30000[more]","break2",
,"10000[more]","turn_back3 fun",
,"5000[more]","go_on2 and_be_cool",
,"2000[more,set_1]","%dist %*",
,"500[more,set_2]","%dist %*",
,"3000[equal,minsilence=15,if_not_1]","i_am_back2 %dist %*",
,"1000[near,minsilence=10,if_not_2]","%dist %* %then2",
,"300[near,minsilence=6]","now %* %then",
,,,
@amatér: Já bych rád používal .lua hlasy přímo pro Primo, ale hlásí to (při simulaci-auto v servise
) právě ještě později tu zatáčku, než Liška... Nevím, kde je háček, když plánuju cestu OL-OV, naplánuje to ~100km délku, a ta vzdálenost sedí. Když se podívám na mapu při jízdě, šipkou se opravdu plynule blížím k zatáčce a točím. Ale holt hlášenejch 100m je prostě v reálu tak 20-45.
Ty lua soubory asi nedešifruju, jsou zakletější než csv, a z menu se mi nastavení zatáček do simulace nepromítá vůbec.
Ještě mě napadá, foot (stopa) je 0.3048 m, takže těch 100 stop by bylo 30m, to by odpovídalo skutečnosti. Možná, že je někde v pasti převod. Telefon na zatáčky ukazuje metry, hlásí metry, ale počítá s jiným systémem.
Nastavení iGo mám v km/h, ostatně tak i zobrazuje celkovou trasu a jednotky, i u zatáček svítí písmeno m, jestli ona nebude někde krpa v nějakém parametru, či přepočtu něčeho někde