Comments (4)
Fix #28 complete focus collection
from gothicfreeaim.
New Idea
DOES NOT WORK: oCNpc::IsNpcBetweenMeAndTarget
is for close range npc fighting
Shoot trace ray without bbox detection.
- If there is a collected focus npc, perform an action similar to
0x67C7D0 (6801360) int __thiscall oCNpc::IsNpcBetweenMeAndTarget(zCVob *)
(but instead of the hero take the camera and instead of a zCVob do it with a zVEC3 position). If an npc is in the way, it will most likely be the focus npc (how to make sure?). Take the distance to the focus npc.
SinceoCNpc::IsNpcBetweenMeAndTarget
might not be easy or performance light to fully rewrite in deadalus, the camera vob could be casted as oCNpc and a dummy or fake vob can be used as target vob. It is only important to assure there is any npc in between - it does not matter if it is the focus npc. - If there is no valid focus npc, take the distance to the trace ray intersection.
Done.
from gothicfreeaim.
Also check what 0x732F40 (7548736) int __thiscall oCNpc::FocusCheckBBox(zCVob const * int int float float &)
does.
from gothicfreeaim.
New idea
Check how 0x733A10 (7551504) void __thiscall oCNpc::CollectFocusVob(int)
does it.
from gothicfreeaim.
Related Issues (20)
- Update project architecture diagram
- Finish wiki
- Decrease fine scattering angle HOT 1
- Decrease secondary modulation of accuracy HOT 1
- Crash on loading related to oCNpc::SetBodyState HOT 2
- Projectiles are not destroyed when reuse-feature is disabled in Gothic 1
- Simplify categorizing spells for drawing reticle in config
- Remove debugging visualizations (Draw3D) from default initialization
- Low FPS prevent aiming with crossbow T2 stance
- Crash when initializing GFA_SPELLS without GFA_STRAFING
- Focus mode is wrong when loading game in fight mode HOT 1
- Display reticle in virtual coordinates HOT 1
- Move "no focus no aim" to INI
- [Returning 2.0] Game crashes after intros while using Ninja GFA patch HOT 2
- Provide projectile pointer to config function HOT 1
- Add safety checks for common fixes HOT 1
- ITEM_FOCUS HOT 1
- New idea - free hiting
- [Gothic Multiplayer] AimRay intersection with player's camera bbox HOT 4
- [Singleplayer] FPS Drops / [Multiplayer] Not able to connect HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gothicfreeaim.