 |
[廢人"教學"]新增數字牌布(抱歉,暫時只有SD83適用) |
 |
發表於: 2011-04-30 3:08 PM |
|
|
FF3170
|
旅客 |
|
|
會員編號: 18,749 |
文章編號: 2495927 |
註冊時間: 2010-08-18 |
文章: 197 |
|
|
|
|
 |
 |
 |
|
教學目標:
而家OMSI布牌車只係出到"xxE"同"xxN",對設計香港city嘅路線帶來不便
若可令布牌車係出到A,B,C,D,M,X,S等,實在可以為設計香港city嘅路線帶來方便
一.準備牌布(如果你想加"A"同"B"嘅話)
1.去OMSI/Vehicles/Anzeigen/Rollband_SD79
2.用圖像編輯程式開啟"Rollband_Ln1_16.bmp"
3.開Word,打"A"(字體建議為"Arial",粗體,大小較到54左右)
4.Hilight"A",copy
5.喺個圖像編輯程式度貼上"A",搬去個紅底白字嘅下面,較大小到啱啱fit個白色範圍
6.Save"Rollband_Ln1_16.bmp"
7.選擇個"A"連白色範圍,搬到個紅底白字嘅位置,確認
8.重覆3-5,不過今次用"B"代替"A",用"A"代替"紅底白字"
9.Save as"Rollband_Ln1_17.bmp"
二.改Script
1.去OMSI/Vehicles/Anzeigen/Rollband_SD79
2.用Notepad開"chtex_rollband.cfg"
3.你會見到:
[newtexchangemaster]
linienband1.bmp
rlbnd_ln1_bmp
[entries]
16
Rollband_Ln1_01.bmp
Rollband_Ln1_02.bmp
Rollband_Ln1_03.bmp
Rollband_Ln1_04.bmp
Rollband_Ln1_05.bmp
Rollband_Ln1_06.bmp
Rollband_Ln1_07.bmp
Rollband_Ln1_08.bmp
Rollband_Ln1_09.bmp
Rollband_Ln1_10.bmp
Rollband_Ln1_11.bmp
Rollband_Ln1_12.bmp
Rollband_Ln1_13.bmp
Rollband_Ln1_14.bmp
Rollband_Ln1_15.bmp
Rollband_Ln1_16.bmp
4.將[entries]下面個"16"改做"17"
5.喺"Rollband_Ln1_16.bmp"下面加一行"Rollband_Ln1_17.bmp",save
6.去OMSI/Vehicles/MAN_SD200/Script
7.用Notepad開"rollband.osc"
8.去到中間,你會見到:
'1. Ziffer:
(L.$.SetLineTo) 1 $SetLengthL $d
" " $= {if} 0 (S.L.rlbnd_ln1_target) {endif} $d
"N" $= {if} 2 (S.L.rlbnd_ln1_target) {endif} $d
"g" $= {if} 3 (S.L.rlbnd_ln1_target) {endif} $d
"0" $= {if} 4 (S.L.rlbnd_ln1_target) {endif} $d
"1" $= {if} 5 (S.L.rlbnd_ln1_target) {endif} $d
"2" $= {if} 6 (S.L.rlbnd_ln1_target) {endif} $d
"3" $= {if} 7 (S.L.rlbnd_ln1_target) {endif} $d
"4" $= {if} 8 (S.L.rlbnd_ln1_target) {endif} $d
"5" $= {if} 9 (S.L.rlbnd_ln1_target) {endif} $d
"6" $= {if} 10 (S.L.rlbnd_ln1_target) {endif} $d
"7" $= {if} 11 (S.L.rlbnd_ln1_target) {endif} $d
"8" $= {if} 12 (S.L.rlbnd_ln1_target) {endif} $d
"9" $= {if} 13 (S.L.rlbnd_ln1_target) {endif} $d
"/" $= {if} 14 (S.L.rlbnd_ln1_target) {endif}
9.喺最後一個{endif}到加" $d"
10.喺最後果行下面加
"A" $= {if} 16 (S.L.rlbnd_ln1_target) {endif} $d
"B" $= {if} 17 (S.L.rlbnd_ln1_target) {endif}
11.Save,OK啦!
註:a.如果想喺第二/三格度加牌布,做法同上,但分別以"Ln2"同"Ln3"代替"Ln1"
b.如果想喺SD83度加牌布,做法同上,但分別以"chtex_rollband_SD83.cfg"同"SD83_Rollband.osc"代替"chtex_rollband.cfg"同"Rollband.osc"
希望各位睇得明! |
|
|
|
|
 |
Re: [廢人"教學"]新增數字牌布(抱歉,暫時只有SD83適用) |
 |
發表於: 2011-08-15 1:55 AM |
|
|
S3V3
|
旅客 |
|
|
會員編號: 16,650 |
文章編號: 2559128 |
註冊時間: 2009-06-16 |
文章: 104 |
來自: 九巴上水車廠 |
|
|
|
 |
 |
 |
|
剛發現了一件事,就是只有"SD83_Rollband.osc"中的"'1. Ziffer:"(任何字母/數字)才有_target
SD83_Rollband.osc 寫到: |
'1. Ziffer:
(L.$.SetLineTo) 1 $SetLengthL $d
" " $= {if} 0 (S.L.rlbnd_ln1_target) {endif} $d
"N" $= {if} 2 (S.L.rlbnd_ln1_target) {endif} $d
"g" $= {if} 3 (S.L.rlbnd_ln1_target) {endif} $d
"0" $= {if} 4 (S.L.rlbnd_ln1_target) {endif} $d
"1" $= {if} 5 (S.L.rlbnd_ln1_target) {endif} $d
"2" $= {if} 6 (S.L.rlbnd_ln1_target) {endif} $d
...
|
而"Rollband.osc"是沒有的
Rollband.osc 寫到: |
'1. Ziffer:
(L.$.SetLineTo) 1 $SetLengthL $d
" " $= {if} 0 (S.L.rlbnd_ln1) {endif} $d
"N" $= {if} 2 (S.L.rlbnd_ln1) {endif} $d
"g" $= {if} 3 (S.L.rlbnd_ln1) {endif} $d
"0" $= {if} 4 (S.L.rlbnd_ln1) {endif} $d
"1" $= {if} 5 (S.L.rlbnd_ln1) {endif} $d
"2" $= {if} 6 (S.L.rlbnd_ln1) {endif} $d
...
|
仲有,SD83的"Pre-select控制器"上不能選擇自已加上去的號碼/字母
要自行上方按"Destination"再輸入新加的號碼/字母才能顯示
希望各位版友注意! |
|
S3V3 在 2011-08-15 11:38 PM 作了第 2 次修改 |
|
|
|
香港巴士討論中心 (HKBDC) 首頁 -> OMSI 教學文章
您 無法 在這個版面發表文章 您 無法 在這個版面回覆文章 您 無法 在這個版面編輯文章 您 無法 在這個版面刪除文章 您 無法 在這個版面進行投票 您 無法 在這個版面附加檔案 您 無法 在這個版面下載檔案
|
所有的時間均為 台灣時間 (GMT + 8 小時)
第1頁(共1頁)
|
|
|
|
|