http://www.hkbf.org/t414785.htm
轉至香港巴士論壇
Backing up files:
Backing up door.osc :
1. Open \\omsi\Vehicles\MAN_SD202\Script\
2. Copy door.osc
3. Paste door.osc and rename it as door.osc.bak
Backing up door_varlist.txt :
1. Open \\omsi\Vehicles\MAN_SD202\Script\
2. Copy door_varlist.txt
3. Paste door.osc and rename it as door_varlist.txt.bak
Backing up sound_D92.cfg :
1. Open \\omsi\Vehicles\MAN_SD202\Sound\
2. Copy sound_D92.cfg
3. Paste sound_D92.cfg and rename it as sound_D92.cfg.bak
Adding a file:
1. Download stop_bell.wav(
http://www.mediafire.com/?pcdi11u6q4ch59h)
OR
1. Rename your own stop bell sound as stop_bell.wav
3. Move stop_bell.wav to \\omsi\Vehicles\MAN_SD202\Sound\
4. Open the stop_bell.wav and test the sound
Modifying the files:
Modifying sound_D92.cfg:
1. Open \\omsi\Vehicles\MAN_SD202\Sound\
2. Open sound_D92.cfg (Using Notepad(記事本))
3. Scroll to the very bottom
4. Add the following codes to the end of the file
Modifying the files:
Modifying sound_D92.cfg:
1. Open \\omsi\Vehicles\MAN_SD202\Sound\
2. Open sound_D92.cfg (Using Notepad(記事本))
3. Scroll to the very bottom
4. Add the following codes to the end of the file
------------------------------------------------------codes------------------------------------------------------------
代碼: 選擇全部
[sound]
stop_bell.wav
1
[3d]
-0.7
-4.5
0.5
3
[trigger]
stop_request
------------------------------------------------------codes------------------------------------------------------------
6. Save and close the file
Modifying door_varlist.txt:
1. Open \\omsi\Vehicles\MAN_SD202\Script\
2. Open door_varlist.txt (Using Notepad(記事本))
3. Scroll to the very bottom
4. Add the following codes to the end of the file
------------------------------------------------------codes------------------------------------------------------------
代碼: 選擇全部
stop_request_played
------------------------------------------------------codes------------------------------------------------------------
6. Save and close the file
Modifying door.osc
1. Open \\omsi\Vehicles\MAN_SD202\Script\
2. Open door.osc (Using Notepad(記事本))
3. Find the following codes in the file
------------------------------------------------------codes------------------------------------------------------------
代碼: 選擇全部
' Haltewunschlampe:
(L.L.haltewunsch) (L.L.door_2) 0.2 < (L.L.elec_busbar_main) && &&
{if}
1 (S.L.haltewunschlampe)
{else}
0 (S.L.haltewunschlampe) (S.L.haltewunsch)
{endif}
------------------------------------------------------codes------------------------------------------------------------
6. Replace the old codes with the following new codes
------------------------------------------------------codes------------------------------------------------------------
代碼: 選擇全部
' Haltewunschlampe:
(L.L.haltewunsch) (L.L.door_2) 0.2 < (L.L.elec_busbar_main) && &&
{if}
1 (S.L.haltewunschlampe)
(L.L.stop_request_played) ! &&
(L.L.door_handsteuerung) ! &&
(L.L.door_haltewunsch_knopfdruck) ! &&
(L.L.haltewunschlampe) &&
{if}
(T.L.stop_request)
{endif}
1 (S.L.stop_request_played)
{else}
0 (S.L.stop_request_played)
0 (S.L.haltewunschlampe) (S.L.haltewunsch)
{endif}
------------------------------------------------------codes------------------------------------------------------------
7. Save and close the file
Now, open OMSI and test the sound!