模载联合支援站
 English
发新主题

[教程] 令前門不用車站煞車開門方法

令前門不用車站煞車開門方法


用記事簿開Omsi\Vehicles\MAN_SD20X\Script\door.osc

{trigger:bus_doorfront0}
     (L.L.elec_busbar_main) (L.L.bremse_halte_sw) (C.L.door_needs_stopbrake) ! && &&

     (L.L.elec_busbar_main) (L.L.bremse_halte) (C.L.door_needs_stopbrake) && && ||
     {if}
        (M.L.trg_bus_doorfront0)
     {endif}
    1 (S.L.cockpit_tuertaster1)
{end}

{trigger:bus_doorfront0_off}
    0 (S.L.cockpit_tuertaster1)
{end}

{trigger:bus_doorfront0_external}
    (L.L.elec_busbar_avail)
    {if}
        (M.L.trg_bus_doorfront0)
    {endif}
{end}

{trigger:bus_doorfront1}
     (L.L.elec_busbar_main) (L.L.bremse_halte_sw) (C.L.door_needs_stopbrake) ! && &&
     (L.L.elec_busbar_main) (L.L.bremse_halte) (C.L.door_needs_stopbrake) && && ||
     {if}
        (M.L.trg_bus_doorfront1)
     {endif}
    1 (S.L.cockpit_tuertaster2)
{end}
{trigger:bus_doorfront1_off}
    0 (S.L.cockpit_tuertaster2)
{end}


紅字除去
變成
{trigger:bus_doorfront0}
        (M.L.trg_bus_doorfront0)
    1 (S.L.cockpit_tuertaster1)
{end}

{trigger:bus_doorfront0_off}
    0 (S.L.cockpit_tuertaster1)
{end}

{trigger:bus_doorfront0_external}
    (L.L.elec_busbar_avail)
    {if}
        (M.L.trg_bus_doorfront0)
    {endif}
{end}

{trigger:bus_doorfront1}
        (M.L.trg_bus_doorfront1)
    1 (S.L.cockpit_tuertaster2)
{end}

{trigger:bus_doorfront1_off}
    0 (S.L.cockpit_tuertaster2)



本帖最近评分记录

这样貌似更符合国内情况

方法不错、减少开门的一个按钮



不错哦,楼主发了很多好教程

祝願模載越辦越好!
龍年快樂!
/lʊŋ˧˥ ni̯ɛn˧˥ kʰu̯aɪ̯˥˩ lɤ˥˩/
HAPPY LOONG YEAR!
/ˌhapi ˈlʊŋ jɪə/

阿笠中文化遊戲清單:
2020~    :Diesel Railcar Simulator
2017~2021:On The Road
2017~2018:Fernbus Simulator
2014~    :BVE Trainsim 5~6
2014     :Taxi!
2014     :SpinTires
2011~2014:Cities in Motion
2011~2021:OMSI、OMSI 2
2009~2017:Rail Simulator–RailWorks 2、Train Simulator 2012~2018

如果能将后门的打开方法也改一改就更像国内的情况了

不错,更好了

CPU:Intel Xeon E3-1231 v3
Mortherboard: ASUS B85-Pro Gamer
Video Card:Galaxy GTX970
Memory:Kingston DDR3 1600 16G
Storage:Galaxy 128G Pro SSD + Seagate 1T HDD
Power:Segotep Jingxiang 600

落客門有冇影響???

楼主回复


沒有,bus_doorfront & bus_doorfront1是指兩道前門

就是刹車自動開前門?

樓主可以將改後的版本帖一次嗎?

一個活在香港的人

支持~~不錯的做法~~感恩分享

支持支持,谢谢啦

学习了! 谢谢楼主分享

🎃 使用 50179的Win10 发送


感谢楼主分享

🎃 使用 Win11 发送


支持支持,感谢楼主的分享
发新主题