28-06-17, 09:49 | #511 |
Member
Joined: Feb 2015
Posts: 874
|
This is the function from the game:
The equation of the curve is: f(x) = -ax^3 + 3bx^3 - 3cx^3 + dx^3 + 3ax^2 - 6bx^2 + 3cx^2 - 3ax + 3bx + a where x stands for time (a value between 0 and 1). The curve is described by four parameters: a = position at first frame d = position at last frame b,c = curve control values I've made an interactive graph of the curve: https://www.desmos.com/calculator/jzdoim1ckw The problem I'm facing at the moment is that FBX file stores a and d values as keyframes but the shape of the curve is not calculated using b and c instead it uses the slope of the curve in a and d points. To calculate the slope we need the first derivative of the functions, which is: f'(x0) = -3ax^2 + 9bx^2 - 9cx^2 + 3dx^2 + 6ax - 12bx + 6cx - 3a + 3b and then calculate the slope when x=0 and x=1. Unfortunately this isn't enough because there is one more step required to obtain the same value inside the FBX file (I've discovered that the number of frames is involved). Investigation continues... |
29-06-17, 09:07 | #512 |
Member
Joined: May 2011
Posts: 3,816
|
|
02-07-17, 22:52 | #513 |
Member
Joined: Feb 2015
Posts: 874
|
AoD Multipatcher release is approaching. Version 1.0 will include the following options:
1) Sunglasses 2) Subtitles 3) Kurtis farsee effect (if you have a better name for this fix, step up) 4) Debug mode without SCU (useful if you want to use both Texmod AND debug mode) |
03-07-17, 06:16 | #514 | |
Member
Joined: Jun 2006
Posts: 2,389
|
Quote:
|
|
03-07-17, 10:28 | #515 | |
Inactive
Joined: Dec 2006
Posts: 31,967
|
Quote:
|
|
04-07-17, 20:58 | #516 |
Member
Joined: Feb 2015
Posts: 874
|
EXE Multi-Patcher uploaded. Go to The Angel of Darkness section, my definitive patch thread.
I've added more colors to the UI, I hope Alex Fly will appreciate this (and Slayer, don't kill me ). |
05-07-17, 08:31 | #517 |
Member
Joined: Jun 2006
Posts: 2,389
|
I absolutely love it! Love the icon too
|
05-07-17, 13:51 | #518 |
Inactive
Joined: Dec 2006
Posts: 31,967
|
Loving the interface, the additions of other colors is a good idea too.
|
07-07-17, 16:11 | #519 |
Member
Joined: Apr 2009
Posts: 8,922
|
Fantastic work nakamichi680 !
I have updated the original post with a link to your thread and also to those which have sprung in my absence. Thank you for keeping the AOD modding flame alive ! |
09-07-17, 13:50 | #520 | |
Member
Joined: Feb 2015
Posts: 874
|
Quote:
I've just discovered how to remove dead bodies disappearance. These two values control the disappearance timeout: |
|
Thread Tools | |
|
|