针对部分省市运营商封锁我站网址,模载新启用备用域名18wos.cn
模载联合支援站
 English
发新主题

[教程] [原創教學]Adding Stop Bell Sound(「車將停站」鐘)

[原創教學]Adding Stop Bell Sound(「車將停站」鐘)


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!

那位仁兄能否翻译一下?

看不懂...求翻译

adding]学教创原將停汽车(《sound bell、stop”钟)…

和中国的‘宝莲灯’,hkbf 414785 / t . org . htm

轉至論壇士巴香港

backing up档案:

backing up door . osc:

1 . vehicles omsi \ open 202 sd _ man script用户

2 . osc copy door)

3 . paste door . osc and rename it as door . osc . bak

varlist backing up door _ . txt:

1 . vehicles omsi \ open 202 sd _ man script用户

2 . . txt varlist copy door _

3 . paste door . osc and rename it as door bak . . txt varlist _

backing up sound _ d 92 .改:

1 . vehicles omsi \ open man _ sd 202 sound用户

2 . copy sound _ d 92 .改

3 . paste sound _ d 92 .改and rename it as sound _ bak .改. 92 d

adding a file:

1 . download stop _ bell .该网站mediafire . com /? pcdi 11 u - 6 q4 ch - 59 h)



1 . rename your全世界stop bell、sound as stop _ bell . wav

3 . move stop _ bell . wav to \ omsi vehicles man _ sd 202 sound用户

4 . stop the open _ bell . wav and test the sound

modifying the档案:

modifying sound _ d 92 .改:

1 . vehicles omsi \ open man _ sd 202 sound用户

2 . open sound _ d 92 .改(using notepad(jisuanji。

3 . scroll to the very bottom

4 .国防科学研究所(add)the following codes to the end of the档案

modifying the档案:

modifying sound _ d 92 .改:

1 . vehicles omsi \ open man _ sd 202 sound用户

2 . open sound _ d 92 .改(using notepad(jisuanji。

3 . scroll to the very bottom

4 .国防科学研究所(add)the following codes to the end of the档案

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------- codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------

大碼:选举擇全部

[sound。

stop _ bell . wav

1

[3d。

- 0.7

- 4.5

0.5

3

[trigger]

stop _ request

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------- codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------

6 . save and close the档案

varlist modifying door _ . txt:

1 . vehicles omsi \ open 202 sd _ man script用户

2 . open door varlist _ . txt(using notepad(jisuanji。

3 . scroll to the very bottom

4 .国防科学研究所(add)the following codes to the end of the档案

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------- codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------

大碼:选举擇全部

played视频_ stop request

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------- codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------

6 . save and close the档案

osc modifying door)

1 . vehicles omsi \ open 202 sd _ man script用户

2 . open door . osc(using notepad(jisuanji。

3 . find the following codes in the档案

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------- codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------

大碼:选举擇全部

' haltewunschlampe:

haltewunsch l . .(白)(l . l . door 2)0.2 <(l . busbar _ elec l . &&。&&)main

{ if }

1(s·l . haltewunschlampe)

{招尽出。

0(s·l . haltewunschlampe)(s·l . haltewunsch)

{ endif }

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------- codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------

6 . replace the old codes with the following new codes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------- codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------

大碼:选举擇全部

' haltewunschlampe:

haltewunsch l . .(白)(l . l . door 2)0.2 <(l . busbar _ elec l . &&。&&)main

{ if }

1(s·l . haltewunschlampe)

(l . l . played request _视频stop !)&&

(l . handsteuerung _ door l . !)&&

(l . haltewunsch视频_ door l . knopfdruck)!&&

haltewunschlampe l . .(&&。

{ if }

(t . l . stop _ request)

{ endif }

1(s·l . stop _视频played request)

{招尽出。

0(s·l . stop _视频played request)

0(s·l . haltewunschlampe)(s·l . haltewunsch)

{ endif }

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------- codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------

7 . save and close the档案

now和open omsi and test the sound !

 引用框:
原帖由 lyxy1216 於 2011-4-8 21:14 發表
請不要只用翻譯器翻譯!!
------------------------------分隔------------------------------------
以下為小弟的翻譯, 可參看一下
按下"嬰兒車"的按鈕不會聽到鐘聲, 如果你想聽到, 請看看這兒: this

備份檔案:

備份 door.osc :
1. 開啟 \\omsi\Vehicles\MAN_SD202\Script\
2. 複製 door.osc
3. 貼上 door.osc 及 把檔案重新命名為 door.osc.bak

備份 door_varlist.txt :
1. 開啟 \\omsi\Vehicles\MAN_SD202\Script\
2. 複製 door_varlist.txt
3. 貼上 door_varlist.txt 及 把檔案重新命名為 door_varlist.txt.bak

備份 sound_D92.cfg :
1. 開啟 \\omsi\Vehicles\MAN_SD202\Sound\
2. 複製 sound_D92.cfg
3. 貼上 sound_D92.cfg 及 把檔案重新命名為 sound_D92.cfg.bak

新增一個檔案:
1. 下載此下車鐘聲檔 -  stop_bell.wav(http://www.mediafire.com/?pcdi11u6q4ch59h)

1. 把你自己的
下車鐘聲檔重新命名為 stop_bell.wav
3. 把 stop_bell.wav 移至 \\omsi\Vehicles\MAN_SD202\Sound\
4. 打開
下車鐘聲檔 -  stop_bell.wav 以測試聲檔是否正常

修改檔案:

修改 sound_D92.cfg:
1. 打開 \\omsi\Vehicles\MAN_SD202\Sound\
2. 打開 sound_D92.cfg (以記事本打開)
3. 滾動到文件的底部(最底)
4. 在文件的最底加入以下程式碼:

複製內容到剪貼板
 原始碼:
[sound]
stop_bell.wav
1

[3d]
-0.7
-4.5
0.5
3

[trigger]
stop_request


5. 儲存及關閉檔案

修改 door_varlist.txt:
1. 打開 \\omsi\Vehicles\MAN_SD202\Script\
2. 打開 door_varlist.txt (以記事本打開)
3. 滾動到文件的底部(最底)
4. 在文件的最底加入以下程式碼:

複製內容到剪貼板
 原始碼:
stop_request_played

5. 儲存及關閉檔案


修改 door.osc
1. 打開 \\omsi\Vehicles\MAN_SD202\Script\
2. 打開 door.osc (以記事本打開)
3. 在文件中找尋以下的程式碼:

複製內容到剪貼板
 原始碼:
'   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}

4. 把找尋到的程式碼更換成以下的程式碼:
複製內容到剪貼板
 原始碼:
'   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}

5. 儲存及關閉檔案


現在, 請打開OMSI及試一試那鐘聲吧!


噢...不会英语真不行啊..这帖子我看着好晕...
香港是这样的?

[ 本帖最後由 fangleikofc 於 2011-4-12 08:22 編輯 ]


It's enligsh in Hong Kong is very easy.
Not too hard for me.
大多數香港人發帖是用中文的,只是用英語可以節省時間所以用英語發帖

[ 本帖最後由 kwong2469 於 2011-4-12 09:43 編輯 ]

被殖民过的就是不一样


誰可以翻譯這嗎?http://www.hkbf.org/t415864.htm


謝謝

回復 7號卡車頭 的帖子


你就勁啦,識英文,我連睇都睇唔明囉

感谢楼主分享

Thanks for sharing

感谢楼主分享

🎃 使用 Win11 发送


膜大佬
发新主题