Gothic II: Gold Classic

Gothic II: Gold Classic

zGamePad - complete gamepad support
Gratt.5r2  [開發人員] 2022 年 7 月 9 日 下午 12:16
Custom controls
Here will be posted the codes of custom control schemes for mods and plugins.
To add a new scheme to the game, create file with a special name extension [filename].gamepad.overlay and place it to the Gothic\System\ directory.

Help:
- More information about customize the gamepad on Wiki[github.com]
- Recommended to use advanced text editors. For example - Notepad++
- Recommended to use UTF-8 or Unicode encoding


Quickloot
This code allows to assign a quickloot to the gamepad button B (O on dualshock)
If your Quickloot uses button V, then just copy this code. Otherwise, change KEY_V to other.
KeyDisable Controls.Back KeyRecord Id QuickLoot Combination JOY_B Emulation KEY_V, MOUSE_BUTTONRIGHT Condition !Cond_InterfaceIsOpen, !Cond_InventoryIsOpen, !Cond_VideoIsOpen, !JOY_B

Quicksave/Quickload
The scheme allows to use R+UP for quicksave and R+DOWN for quickload the game. For this, you must have a special plugin/patch or enabled the quick save option in Gothic.ini > useQuickSaveKeys=1 (the second case is not recommended due to possible break the save file).
The scheme uses quick save buttons F5 (save) and F9 (load).
KeyDisable Controls.FirstPerson KeyRecord Toggled Id QuickSave Combination JOY_RSTICK, JOY_UP Emulation KEY_F5 Condition !Cond_InterfaceIsOpen, !Cond_InventoryIsOpen, !Cond_VideoIsOpen KeyRecord Toggled Id QuickLoad Combination JOY_RSTICK, JOY_DOWN Emulation KEY_F9 Condition !Cond_InterfaceIsOpen, !Cond_InventoryIsOpen, !Cond_VideoIsOpen

Slow walking controlled by the left stick
This scheme returns walking function on the LEFT STICK as in the oldest versions of the plugin. For the walking hold the stick down to half. This function unavailable with the readied weapon.
KeyDisable Controls.WalkForward KeyRecord Id WalkForward Combination JOY_LSTICK_LOWUP Emulation GAME_SLOW, GAME_UP
最後修改者:Gratt.5r2; 2023 年 3 月 5 日 下午 1:21
< >
目前顯示第 1-11 則留言,共 11
PlotinusRedux 2022 年 9 月 18 日 下午 3:20 
So the problem with this is assuming the base controls.gamepad file is the one in the repo at https://github.com/Gratt-5r2/zGamePad/blob/master/Utils/controls.gamepad , none of the KeyRecord entries have an Id property, so there is nothing to reference with KeyDisable. Is there an updated controls.gamepad file that's used by the mod elsewhere that does have the Id properties? I'm unable to view the distributed VDF file itself as GothicVDFS.exe says it is an expected version.
Gratt.5r2  [開發人員] 2022 年 9 月 18 日 下午 11:44 
引用自 PlotinusRedux
So the problem with this is assuming the base controls.gamepad file is the one in the repo at https://github.com/Gratt-5r2/zGamePad/blob/master/Utils/controls.gamepad , none of the KeyRecord entries have an Id property, so there is nothing to reference with KeyDisable. Is there an updated controls.gamepad file that's used by the mod elsewhere that does have the Id properties? I'm unable to view the distributed VDF file itself as GothicVDFS.exe says it is an expected version.
GothicVDFS cannot open this volume because it was packed with VDFS tool[drive.google.com] using zip compression.
I'll update controls file in the repo later, it's really outdate.
最後修改者:Gratt.5r2; 2022 年 9 月 18 日 下午 11:46
Gordo 2022 年 10 月 2 日 上午 11:39 
Hello, could you please reconfigure the Controls for Gothic 2 Retrurning 2.0 New Balance? :)
Jack 2022 年 12 月 1 日 上午 1:44 
so i uh got a question i tried using a sprinting mod instead of the slow walk button but i can't seem to be able to manage them codings.......would you be so kind? :D
最後修改者:Jack; 2022 年 12 月 1 日 上午 2:18
Gratt.5r2  [開發人員] 2022 年 12 月 1 日 上午 7:07 
引用自 Soki-sama
so i uh got a question i tried using a sprinting mod instead of the slow walk button but i can't seem to be able to manage them codings.......would you be so kind? :D
Show me the code and give me the link to this mod.
Jack 2022 年 12 月 12 日 上午 1:43 
引用自 Gratt.5r2
引用自 Soki-sama
so i uh got a question i tried using a sprinting mod instead of the slow walk button but i can't seem to be able to manage them codings.......would you be so kind? :D
Show me the code and give me the link to this mod.

sorry for the late answer so the mod is this: https://steamproxy.com/sharedfiles/filedetails/?id=2787109635&searchtext=dauerhaft

what it does is give me the option to sprint indefinately as long as i have the requirements

the standart button for it was right shift
76561199587842242 2023 年 12 月 26 日 上午 3:01 
I checked gothic.ini and steam settings, I see key prompts in the game, but the gamepad doesn't work. It's an old gamepad, but I've set it up manually before and it worked. However, I care about quickloot buttons etc
Gratt.5r2  [開發人員] 2023 年 12 月 26 日 下午 1:26 
引用自 Tomasz
I checked gothic.ini and steam settings, I see key prompts in the game, but the gamepad doesn't work. It's an old gamepad, but I've set it up manually before and it worked. However, I care about quickloot buttons etc
If your controller doesn't work at all, then the problem maybe with outdated protocols. Plugin requires or xinput compatible gamepad, or console controller. Try the issue from the first comments on the plugin page. Maybe you need a special configuration from the steam input.
Zoopy 2024 年 3 月 12 日 下午 2:25 
When pressing forwards on the analog stick and RB at the same time, the character turns to look behind the player. How do I disable this?
viktor 2024 年 4 月 28 日 上午 2:02 
Hello I made a notepad file called server.gamepad.overlay below and placed it in the system folder, however it doesn't do anything? Am I doing something wrong?

KeyDisable Controls.FirstPerson

KeyRecord Toggled
Id StartServer
Combination JOY_RSTICK, JOY_UP
Emulation KEY_F1
Condition !Cond_InterfaceIsOpen, !Cond_InventoryIsOpen, !Cond_VideoIsOpen

KeyRecord Toggled
Id JoinLeaveServer
Combination JOY_RSTICK, JOY_DOWN
Emulation KEY_F2
Condition !Cond_InterfaceIsOpen, !Cond_InventoryIsOpen, !Cond_VideoIsOpen

KeyRecord Toggled
Id ReviveCoopPlayer
Combination JOY_RSTICK, JOY_RIGHT
Emulation KEY_F3
Condition !Cond_InterfaceIsOpen, !Cond_InventoryIsOpen, !Cond_VideoIsOpen

KeyRecord Toggled
Id RESPAWN
Combination JOY_RSTICK, JOY_LEFT
Emulation KEY_F4
Condition !Cond_InterfaceIsOpen, !Cond_InventoryIsOpen, !Cond_VideoIsOpen
Gratt.5r2  [開發人員] 2024 年 4 月 28 日 下午 8:25 
引用自 viktor
Hello I made a notepad file called server.gamepad.overlay below and placed it in the system folder, however it doesn't do anything? Am I doing something wrong?

KeyDisable Controls.FirstPerson

...
I checked this code, it work as expected. I have overrided behaviour of the F1-F4 buttons. How exactly it 'doesn't do anything' for you? Maybe you need to check how the coop modification handles this buttons.
最後修改者:Gratt.5r2; 2024 年 4 月 28 日 下午 8:25
< >
目前顯示第 1-11 則留言,共 11
每頁顯示: 1530 50