Free Aiming For Spells
The configuration of this feature is found in the file config/spells.d.
Adjustments to the reticle for spells can be made in config/reticle.d, see wiki.
List of config functions |
Related functions that can be used |
This function is called continuously while aiming with spells to correct the aim vob position.
It should never be of use and should be adjusted for individual spells only. Usually, no spell requires the aim vob to be shifted. Exceptions are spells that utilize the aim vob as target to spawn VFX on it with the functions GFA_AimVobAttachFX and GFA_AimVobDetachFX.
func int GFA_ShiftAimVob(var int spellID)
spellID |
Active spell ID (e.g. SPL_Sleep ) |
return | Distance in centimeters to shift the aim vob along the viewing angle of the camera. |
This is not a config function. It is a function provided by GFA and can be called from outside.
Attach a visual FX to the aim vob. This function is never used internally, but is useful for spells that visualize the aim vob.
This function should go hand in hand with detaching the visual FX (GFA_AimVobDetachFX): If you attach an FX, you should make sure to remove the FX, when it is no longer needed.
func void GFA_AimVobAttachFX(string effectInst)
effectInst |
VisualFX instance to attach (e.g. "spellFX_LIGHTSTAR_WHITE" ) |
This is not a config function. It is a function provided by GFA and can be called from outside.
Detach the visual FX from the aim vob, that was previously spawned with GFA_AimVobAttachFX.
func void GFA_AimVobDetachFX()
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
Creating a Mod File
Project Architecture
Debugging & Console Commands
Download
Free Aiming Patch
Settings for Players
Changelog
FAQ
Support this project
Acknowledgements
Contact & Discussion