Gothic II: Gold Classic

Gothic II: Gold Classic

zGamePad - complete gamepad support
Gratt.5r2  [Entwickler] 9. Juli 2022 um 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
Zuletzt bearbeitet von Gratt.5r2; 5. März 2023 um 13:21
< >
Beiträge 111 von 11
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  [Entwickler] 18. Sep. 2022 um 23:44 
Ursprünglich geschrieben von 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.
Zuletzt bearbeitet von Gratt.5r2; 18. Sep. 2022 um 23:46
Gordo 2. Okt. 2022 um 11:39 
Hello, could you please reconfigure the Controls for Gothic 2 Retrurning 2.0 New Balance? :)
Jack 1. Dez. 2022 um 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
Zuletzt bearbeitet von Jack; 1. Dez. 2022 um 2:18
Gratt.5r2  [Entwickler] 1. Dez. 2022 um 7:07 
Ursprünglich geschrieben von 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 12. Dez. 2022 um 1:43 
Ursprünglich geschrieben von Gratt.5r2:
Ursprünglich geschrieben von 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
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  [Entwickler] 26. Dez. 2023 um 13:26 
Ursprünglich geschrieben von 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 12. März 2024 um 14: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 28. Apr. 2024 um 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  [Entwickler] 28. Apr. 2024 um 20:25 
Ursprünglich geschrieben von 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.
Zuletzt bearbeitet von Gratt.5r2; 28. Apr. 2024 um 20:25
< >
Beiträge 111 von 11
Pro Seite: 1530 50