Coder Social home page Coder Social logo

Old attempts at strafing about gothicfreeaim HOT 6 CLOSED

szapp avatar szapp commented on June 10, 2024
Old attempts at strafing

from gothicfreeaim.

Comments (6)

szapp avatar szapp commented on June 10, 2024

The attempts are not satisfactory. Though the very last one was the most promising, there was no absolute stable implementation.
For more information, see the commit message cbb03ff.

For possible interest in strafing a preserved the attempts (although some of them are unfortunately scattered in commits throughout the repo history) in the branch strafing.

The most recent commit cbb03ff in that branch holds the most stable version of strafing.

I welcome thoughts and attempts to fix this, better yet, different and more stable approaches.
This is what this branch is dedicated for.

from gothicfreeaim.

szapp avatar szapp commented on June 10, 2024

Outsourced the animations to #51 Strafing animations.

from gothicfreeaim.

szapp avatar szapp commented on June 10, 2024

So a possible solution to all of this is to create a strafing animation with only the leg bones and Bip01 and have the aiming animation only with arm bones and on layer two.

First tests worked (although it is not clear from it whether aiming still works while strafing). The next step is to create movement animation which is more closely to the final animation (use the walk-forward animation and reverse it, because it already exists) and see what happens with the aiming.

from gothicfreeaim.

szapp avatar szapp commented on June 10, 2024

An animation might be problematic, since it will have to be of all bones (since Bip01 controls model movement but is also the parent node of all other bones). Try to create an animation that is legs-only (excluding Bip01) and move the player model by script (synchronization issues imminent). Possibly helpful engine functions:

0x5117D0 (5314512)  int __thiscall zCAIPlayer::CheckEnoughSpaceMoveLeft(int)
0x61B2E0 (6402784) void __thiscall zCVob::Move(float float float) // Check trafo script for similar (there is two more functions like this)

from gothicfreeaim.

szapp avatar szapp commented on June 10, 2024

A new animation is necessary. There is only one strafing animation in gothic, which turns the player model to the side, is too long and is to fast (running).

The animation should only comprise movement of the lower limbs. This way it may be played at the same time as aiming on another animation level.

from gothicfreeaim.

szapp avatar szapp commented on June 10, 2024

Checkout

0x57B070 (5746800) void __thiscall zCModel::StartAni(int int)         

from gothicfreeaim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.