安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
You can add a new key to the game with the following function:
`[SECTION]` can be any of the available sections, or a new one! This will add the key to the appropriate section on the Keybind Options Tab.
At this point, even if you have already added the key another way, you would typically add a function to an Event to handle your key as well. Instead, we're going to add our key this way:
You ONLY need to add the events that you intend to support!
You can do this in all one go, too!
If you are ADDING a new key bind, it MUST be done during or before `OnGameBoot` to ensure that the game receives this!
NOTE: If a user has the Keyboard Optimize disabled, then your keys will be added as normal events. You will need to plan for this in your function, by first checking the key pressed.
A full example:
Mouse Button Events are still be developed, in that I am trying to make it easier to handle when a Mouse Button is not available.
For now, you have access to the following variable to tell you how many Mouse Buttons are enabled:
Mouse Events work similarly to key bind events.
Events:
An example:
I also would like to add support for detecting when these Mouse Buttons are clicked on a UI, but it seems the base game only performs these checks on the main Mouse Buttons. So, stay tuned!
The Modifier Key (or: Modkey) allows for different actions to be done depending on if a player is holding this key. The state of this key can be gotten easily:
If you would like to include controllers, then use the following:
`player` must be an `IsoPlayer`.
This will return if the player is using the Modkey OR holding the Left Bumper (L1) on a controller. I recommend this version for full support.
The state of the Modifier is fully synced in Multiplayer and is available in the player's ModData:
`player` must be an `IsoPlayer`.
This is also synced in Singleplayer, so you can rely on this method to retrieve the state of the Modifier as well.
If you are having any issues with incorporating support for BindAid into your mod, post here and I'll see if I can help you out.
Other posts will be ignored and deleted; please communicate in the appropriate channels.