Gothic II: Gold Classic

Gothic II: Gold Classic

zGamePad - complete gamepad support
Gratt.5r2  [ผู้พัฒนา] 9 ก.ค. 2022 @ 12: 16pm
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; 5 มี.ค. 2023 @ 1: 21pm
< >
กำลังแสดง 1-11 จาก 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  [ผู้พัฒนา] 18 ก.ย. 2022 @ 11: 44pm 
โพสต์ดั้งเดิมโดย 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; 18 ก.ย. 2022 @ 11: 46pm
Hello, could you please reconfigure the Controls for Gothic 2 Retrurning 2.0 New Balance? :)
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; 1 ธ.ค. 2022 @ 2: 18am
Gratt.5r2  [ผู้พัฒนา] 1 ธ.ค. 2022 @ 7: 07am 
โพสต์ดั้งเดิมโดย 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.
โพสต์ดั้งเดิมโดย 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
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  [ผู้พัฒนา] 26 ธ.ค. 2023 @ 1: 26pm 
โพสต์ดั้งเดิมโดย 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.
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?
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  [ผู้พัฒนา] 28 เม.ย. 2024 @ 8: 25pm 
โพสต์ดั้งเดิมโดย 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; 28 เม.ย. 2024 @ 8: 25pm
< >
กำลังแสดง 1-11 จาก 11 ความเห็น
ต่อหน้า: 1530 50