Gothic 1 Classic

Gothic 1 Classic

zGamePad - complete gamepad support
Gratt.5r2  [developer] 9 Jul, 2022 @ 12:15pm
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
Last edited by Gratt.5r2; 5 Mar, 2023 @ 1:22pm
< >
Showing 1-11 of 11 comments
Jack 9 Jul, 2022 @ 3:35pm 
soooo okay this works now i got one more question and then i'll leave you alone what about quick save and quick load on dpad up and down? how would one do that?
Gratt.5r2  [developer] 9 Jul, 2022 @ 3:52pm 
Originally posted by Jack:
soooo okay this works now i got one more question and then i'll leave you alone what about quick save and quick load on dpad up and down? how would one do that?
Post updated. Please read and check it.
Jack 10 Jul, 2022 @ 3:57am 
Originally posted by Gratt.5r2:
Originally posted by Jack:
soooo okay this works now i got one more question and then i'll leave you alone what about quick save and quick load on dpad up and down? how would one do that?
Post updated. Please read and check it.

okay soooo i read it, i guess i did it? but it does not work so i would assume i did something wrong which doesn't surprise me since i'm hella stupid.

What i did was make a new .gamepad.overlay with the name Quicksave put in the code you posted and saved it the exact same way i did with quickloot qhich was in gothic system folder....so did i do something wrong?

and is there a way to make even more mods work like always running which need a single button to work? i assume it would be done kinda the same way which quicksave is done by making the first line disable slow walk or something and making that corrospond to the key and action i want and need?

NEVER FREAKING MIND......i did it myself and i was the problem as usual XD yeah i did an mistake again which was stupid ^^
Last edited by Jack; 10 Jul, 2022 @ 4:03am
Dead inside 21 Jan, 2023 @ 3:39pm 
Можно сделать так что бы на одном левым контролере была ходьба вперед\назад и поворот влево\право? а не шаг вправо\влево, я что-то пробовал но не получаться =\
Gratt.5r2  [developer] 21 Jan, 2023 @ 5:26pm 
Originally posted by Dead inside:
Можно сделать так что бы на одном левым контролере была ходьба вперед\назад и поворот влево\право? а не шаг вправо\влево, я что-то пробовал но не получаться =\
Нет, нельзя.
omestrekann 11 Mar, 2023 @ 9:09pm 
Hello! I want to use sprint on B button, but when I assign it in the keyboard settings its not accepted. How can I use button B as sprint if I'm using ZGamePad? Thanks.
Gratt.5r2  [developer] 12 Mar, 2023 @ 1:52am 
Originally posted by omestrekann:
Hello! I want to use sprint on B button, but when I assign it in the keyboard settings its not accepted. How can I use button B as sprint if I'm using ZGamePad? Thanks.
Hello. What the keyboard button?
omestrekann 12 Mar, 2023 @ 5:11am 
Hello! The sprint use V or ( .coma).
Gratt.5r2  [developer] 12 Mar, 2023 @ 5:26am 
Originally posted by omestrekann:
Hello! The sprint use V or ( .coma).
Oh, for "V" the "Quickloot" preset from the first message suits you at all, I think.
Create a file using the instruction and place the "Quickloot" code to it.
omestrekann 12 Mar, 2023 @ 5:39am 
I'll try. Thanks.
Skinner 24 Jan @ 7:17pm 
Hi, i tried to implement sprint into this, used key is variable (we could go on with V).
But cause i'm not blessed today, the way of try and error didn't work this time.
I thought about blocking looking backwards while doing meele attack to the right.

If someone just can write me this stuf so i can copy and paste i would be very grateful.

It's a lot of fun for me playing gothic with my controller, couldn't image how perfectly this would function. It's litteraly something i really wanted the most during my last spring gothic run.
Thanks alot
< >
Showing 1-11 of 11 comments
Per page: 1530 50