-
-
Notifications
You must be signed in to change notification settings - Fork 4
Installation Steps for Gothic 2
Check the installation requirements first.
By using these scripts, you agree to the terms of the MIT License. Please respect my efforts and accredit my work in your project accordingly, i.e.
This modification utilizes Gothic Free Aim, (C) Copyright 2016-2018 mud-freak (@szapp).
<http://github.com/szapp/GothicFreeAim>
Released under the MIT License.
If you omit this, you are stating this was your own work which is effectively violating the license.
-
Make sure Ikarus and LeGo are installed and parsed in
_work\data\Scripts\Content\Gothic.src
. -
Copy all files from this repository into your Gothic installation. Mind the relative paths. Do not forget the binary files (GFA_Textures.zip) that come with the release.
-
- In
_work\data\Scripts\Content\Gothic.src
, somewhere after Ikarus, LeGo andAI\AI_INTERN\FOCUS.D
, addGFA\GFA_G2.src
- In
_work\data\Scripts\System\Camera.src
, at the end, addCamera\CamInstGFA.d
- In
_work\data\Scripts\System\ParticleFX.src
, at the end, addPFX\PfxInstGFA_G2.d
- In
_work\data\Scripts\System\SFX.src
, at the end, addSFX\SfxInstGFA.d
- In
_work\data\Scripts\System\VisualFX.src
, at the end, addVisualFX\VisualFxInstGFA.d
- In
_work\data\Scripts\System\Menu.src
, between_intern\menu.d
andmenu\menu_main.d
, addMenu\Menu_Opt_Game_GFA.d
- In
-
Add a new menu entry to the options game menu. With this users can enable and disable free aiming from the options menu. Keep in mind, that there are still players preferring keyboard controls over mouse. Free aiming will always be possible to disable in the
Gothic.ini
file.-
In
_work\data\Scripts\System\Menu\Menu_Opt_Game.d
finditems[XX] = "MENUITEM_GAME_BACK";
in the instanceMENU_OPT_GAME
and change it toitems[XX] = "MENUITEM_OPT_GFA"; items[XX+1] = "MENUITEM_OPT_GFA_CHOICE"; items[XX+2] = "MENUITEM_GAME_BACK";
By default,
XX
is 15 and it should look like this afterwards:items[15] = "MENUITEM_OPT_GFA"; items[16] = "MENUITEM_OPT_GFA_CHOICE"; items[17] = "MENUITEM_GAME_BACK";
-
In the same file find
posy = MENU_BACK_Y;
in the instanceMENUITEM_GAME_BACK
and change it toposy = MENU_BACK_Y+300;
-
In
_work\data\Scripts\System\Menu\Menu_Opt_Game_GFA.d
set the constantMENU_ID_GFA
to the next available slot in the menu, typically(XX-1)/2
which is 7 by default. For example:const int MENU_ID_GFA = 7; // Next available Y-spot in the menu
-
In the same file you might have to adjust the menu labels. By default they are in German.
-
-
In
_work\data\Scripts\Content\Story\Startup.d
find the functionINIT_Global()
. Inside, either somewhere after Ikarus and LeGo or instead of them, initialize Gothic Free Aim withGFA_Init(GFA_ALL);
GFA_ALL
will enable all features that come with this script package. You can disable features like soGFA_Init(GFA_ALL & ~GFA_REUSE_PROJECTILES);
Read on here to find out more about the different features.
-
If you are using the feature
GFA_SPELLS
, it is recommended to add the following lines at the beginning of the functionC_CanNpcCollideWithSpell()
in the file_work\data\Scripts\Content\AI\Magic\C_CanNpcCollideWithSpell.d
to restrict the range of spells.// Do not damage beyond maximum fighting range (AI does not react) if (Npc_GetDistToNpc(self, other) > FIGHT_DIST_CANCEL) { return COLL_DONOTHING; };
-
In
_work\data\Anims\Humans.mds
add the lines as indicated in_work\data\Anims\Humans.mds.additions
. Make sure you add the lines before the two closing brackets "} }
" at the end of the file.
Do the same analogous for_work\data\Anims\MDS_Overlay\Humans_BowT2.mds.additions
and_work\data\Anims\MDS_Overlay\Humans_CBowT2.mds.additions
. -
Backup and delete the following files
_work\data\Anims\_compiled\HUMANS.MSB
_work\data\Anims\_compiled\HUMANS_BOWT2.MSB
_work\data\Anims\_compiled\HUMANS_CBOWT2.MSB
After parsing the scripts, GFA should be fully implemented. Read on here to find out how to adjust GFA to your preferences.
Table of Contents
Features
Youtube Trailer
Demo Modifications
Installation & Requirements
Gothic 1
Gothic 2
Features & Configuration
Free Aiming
Ranged Combat
Spells
Re-usable Projectiles
Custom Collisions
Critical Hits
Hit Probability NEW
Creating a Mod File
Project Architecture
Debugging & Console Commands
Download
Free Aiming Patch
Settings for Players
Changelog
FAQ
Support this project
Acknowledgements
Contact & Discussion