This guide walks you through making a couple of small manual changes to your controls.sii file so that your truck’s engine will turn off when your key returns to the off position, instead of having to turn it back to the accessory position to turn your engine off. The guide requires you to already have your ignition switch configured in the game, and that the ‘on’ position is assigned to “Start/Stop Engine Electricity” from within the game’s “キー & ボタン” settings as a starting point, since most folks are likely already configured this way.
序章
This guide is meant for people who use a keyed ignition, and if all goes well, these steps will walk you through reconfiguring the controls.sii file for your ignition key so that it properly syncs to the key position so that you no longer have to turn the key back to the accessory position to turn your truck off. It works identically in both Euro Truck Simulator 2 and American Truck Simulator.
Most folks using a button box (be it a diy or purchased one) have configured their ignition switch in the game’s Keys & Buttons settings so that the keyed ignition’s ‘on’ (or ‘run’) position is assigned to the “Start/Stop Engine Electricity” オプション. This is fine in and of itself, as it technically works, but it makes the position act as a toggle that needs to be deactivated then reactivated to turn the engine off. This is usually accomplished by turning the key back past the ‘off’ position and into accessory temporarily, or in the case of an ignition that doesn’t have an accessory position, the key needs to be turned to ‘off’, then back to ‘on’ to send the game the signal to turn the engine off. We just need to make a couple of small, manual changes to our controls.sii file in order to make our key work like a real ignition, so that our engine shuts off whenever our key is returned to the ‘off’ position.
Edits to the controls.sii file
These steps are based on already having configured the on position of the ignition to “Start/Stop Engine Electricity” from within the game’s Keys & Buttons settings as a starting point, since most folks are likely already configured this way. REMEMBER TO MAKE A BACKUP COPY OF YOUR controls.sii FILE BEFORE EDITING!! (それでも, if you mess up the file too badly, the worst that could happen is you have to reconfigure all your controls in game. So if you don’t want that to potentially happen, just back up the file before editing it. 真剣に. So let’s open our controls.sii file in a text editor and get started. Note that the line numbers were accurate as of version 1.43.
- に下にスクロールします “mix engineelect” entry (config_lines[302] as of the time of this writing.)
- Highlight the “joy…” definition segment from the “j” で “joy” up to the “s” で “semantical.engineelect?0”, including the pipe (ライン) and the space (See figure_1), then cut the highlighted text.
- On the next two lines (config_lines[303]: “mix ignitionoff ` and config_lines[304]: “mix ignitionon ` as of the time of this writing), paste the “joy” definition we just cut in front of the “semantical.xxx” definitions (semantical.ignitionoff?0 and semantical.ignitionon?0). See figure_2.
- Back on the ignitionoff definition (config_lines[303]: “mix ignitionoff `), we need to add an exclaimation point and a space in front of the “j” で “joy” segment so that it looks like figure_3.
Now save the file, exit your text editor and start your game. Your ignition *should* now properly work like a real ignition.
注意事項: If things still aren’t working, in Gameplay Settings, 確認する “Automatic engine and electricity start” is unchecked.
Summing Up
What’s going on here is the “Start/Stop Engine Electricity” assignable in the game corresponds to mix engineelect setting, which is a toggle. One activation turns the electricity on, the next turns the electricity off. The ignitionon and ignitionoff settings can only be configured directly in the controls.sii file as there are no corresponding settings that are assignable from within the game. They each only do what their names imply. ignitionon only sends a ‘turn electric on’ signal and ignitionoff only sends a ‘turn electric off’ signal. の “! ” in front of the joy definition for the ignitionoff setting tells the game “NOT the ignition’s on position”. So when the key is turned to the ‘on’ position, ‘turn electric on’ gets sent to the game, and when the key is returned to the ‘off’ position, the signal from the ‘on’ position is no longer being pressed (“ない” the ‘on’ position’s button assignment), so the game gets sent a ‘turn electric off’ signal.
これが今日私たちがこの目的で共有するすべてです アメリカン トラック シミュレーター ガイド. このガイドは元々、次の者によって作成および執筆されました。 GeorgeT93. このガイドを更新できなかった場合, これに従って最新のアップデートを見つけることができます リンク.