小弟首先係改Garden Island聲檔位置。響OMSI 2\Vehicles\Announcements開一個叫GI的file,放所有聲入去,然後響GI.hof裡頭修改最開頭一段script變成以下果款。
- 代碼: 選擇全部
[name]
GI
[servicetrip]
Not In Service
[global_strings]
4
GI
GI
4
stringcount_terminus
6
stringcount_busstop
4
另一方面,小弟嘗試修改O405N2個IBIS報站聲檔路徑:
我用notepad++開Vehicles\TD_Mercedes-Benz_O405N2\Script\IBIS.osc,找到有關報站聲檔位置script如下:
- 代碼: 選擇全部
{macro:IBIS_PlayAnnouncement}
(L.L.IBIS_busstop) 0 >
(L.L.IBIS_H-Stop) 0 = &&
(L.L.IBIS_Stumm) 0 = &&
{if}
"\..\..\MAN_SD202\Sound\Ansagen\" (L.$.act_busstop) $+
(L.L.IBIS_RouteIndex) (M.V.GetBusstopCount) 1 - (L.L.IBIS_busstop) <=
{if}
"_#terminus" $+
{endif}
".wav" $+
$msg
(T.F.ev_IBIS_Ansagen)
{endif}
0 (S.L.IBIS_H-Stop)
{end}
表示報站聲檔係要經SD202找。由於OMSI 2的SD202已經改用新款報站模式,小弟將上面一段有關報站聲檔擺放位置的內容改成如下:
- 代碼: 選擇全部
{macro:IBIS_PlayAnnouncement}
(L.L.IBIS_busstop) 0 >
(L.L.IBIS_H-Stop) 0 = &&
(L.L.IBIS_Stumm) 0 = &&
{if}
"\..\..\Announcements\" (L.$.act_busstop) $+
(L.L.IBIS_RouteIndex) (M.V.GetBusstopCount) 1 - (L.L.IBIS_busstop) <=
{if}
"_#terminus" $+
{endif}
".wav" $+
$msg
(T.F.ev_IBIS_Ansagen)
{endif}
0 (S.L.IBIS_H-Stop)
{end}
但奇怪的是入Game後選擇O405N2時,部車一直冇報站聲,請問是否改漏野?謝謝。
此外,我都對Winsome部E400做類似修改:
原本一段:
- 代碼: 選擇全部
{macro:IBIS_PlayAnnouncement}
(L.L.IBIS_isNoReportInfo) !
{if}
(L.L.IBIS_busstop) 0 >
{if}
"Ansagen\" (L.$.act_busstop) $+
(L.L.IBIS_RouteIndex) (M.V.GetBusstopCount) 1 - (L.L.IBIS_busstop) <=
{if}
"_#terminus" $+
{endif}
".wav" $+
' $msg
(T.F.ev_IBIS_Ansagen)
{endif}
{endif}
{end}
改成以下咁:
- 代碼: 選擇全部
{macro:IBIS_PlayAnnouncement}
(L.L.IBIS_isNoReportInfo) !
{if}
(L.L.IBIS_busstop) 0 >
{if}
"..\..\Announcements\" (L.$.act_busstop) $+
(L.L.IBIS_RouteIndex) (M.V.GetBusstopCount) 1 - (L.L.IBIS_busstop) <=
{if}
"_#terminus" $+
{endif}
".wav" $+
' $msg
(T.F.ev_IBIS_Ansagen)
{endif}
{endif}
{end}
HOF也作出相關開頭修改,不過結果一樣:冇聲出。