Discovery Gaming Community
Larger ship bobbing when F2/F3 - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7)
+--- Forum: Discovery Mod General Discussion (https://discoverygc.com/forums/forumdisplay.php?fid=37)
+--- Thread: Larger ship bobbing when F2/F3 (/showthread.php?tid=160549)

Pages: 1 2


Larger ship bobbing when F2/F3 - SnakThree - 04-28-2018

Does anyone know the reason for this annoying side-to-side movement of larger ships when you hit F2 or F3? Is there a solution to it when creating new ship?


RE: Larger ship bobbing when F2/F3 - Durandal - 04-28-2018

This has been the case since time immemorial. I have no idea what causes it, but I suspect if fixing it were a possibility it would've been fixed long ago. Even if it can be, we have much higher priorities code wise at the moment.


RE: Larger ship bobbing when F2/F3 - Antonio - 04-28-2018

Isn't it to help with auto pilot through asteroid fields since the ship can wiggle between them?


RE: Larger ship bobbing when F2/F3 - SnakThree - 04-28-2018

(04-28-2018, 04:32 PM)Durandal Wrote: This has been the case since time immemorial. I have no idea what causes it, but I suspect if fixing it were a possibility it would've been fixed long ago. Even if it can be, we have much higher priorities code wise at the moment.

If it is related to ship file, then I am interested due to prospect of unique faction ships that might overcome this issue.
If it is global issue, then yeah, I feel you.


RE: Larger ship bobbing when F2/F3 - Mephistoles - 04-28-2018

If it was related to a ship file, the solution would be to fix them all.

It's global. I vaguely recall something about it being worse the further from the centre of the system you are, but it comes with Freelancer and is yet to be solved.


RE: Larger ship bobbing when F2/F3 - LaWey - 04-28-2018

You can try make analysis of ship files which have this issue and ships which not. Im know, bison and jormungard have this, while pilgrim (his model even longer than bison) and bustard dont.


RE: Larger ship bobbing when F2/F3 - MotokoSusu - 04-28-2018

The Neph does it as well I just scroll the mouse wheel and the ship stops the bob and weave. It has to do with the larger ships the length and the center point of the ship that causes it. You do not see the course corrections on the much smaller ship because it does not have that canter lever . The problem is also evident on the mod I been working on I have a super dread that bobs up and down if I put it in auto cruise to a way point much in the same way the Neph does.


RE: Larger ship bobbing when F2/F3 - ronillon - 04-28-2018

I remember looking into this a long time ago.

I believe the problem is in steering, inertia, mass ratios. I played with them a bit.
Since I do not fly caps much, Im not sure how much it will mess up other things and overall balance.

Ship config is in:
c:\Games\Freelancer Discovery\DATA\SHIPS\shiparch.ini
Some info about it: https://discoverygc.com/forums/showthread.php?tid=90126&pid=1262536#pid1262536

This is the part I believe affecting movement:
Example is original nickname = dsy_munificent (Nephilim)
Code:
linear_drag = 1.000000
mass = 25000.000000
steering_torque = 4200000000.000000, 3600000000.000000, 4200000000.000000
angular_drag = 25000000000.000000, 25000000000.000000, 25000000000.000000
rotation_inertia = 900000000.000000, 900000000.000000, 900000000.000000
nudge_force = 3000000.000000
strafe_force = 1000000
strafe_power_usage = 2

I changed rotation_inertia to match steering_torque and it looks like it helped a lot.


P.S.: Remember to test things in Single Player mode and on a different copy of Freelancer. Make backups before messing with files.
P.P.S.: If you could provide examples of caps, that do wobble and those that do not, it would help in further testing.


RE: Larger ship bobbing when F2/F3 - sasapinjic - 04-28-2018

I notice that this only happen to some of my ships , more specificly , ships that i have transfered in some way or another (from another player or from my other accaunt) , it never happened to ships that i originaly purchased and i DID NOT transfered them in any way (For example , it never happened to my former Atlantis which i purchased in Washington shipyard straight after restart and i never transfered it anywere ).


RE: Larger ship bobbing when F2/F3 - Durandal - 04-28-2018

(04-28-2018, 10:02 PM)ronillon Wrote: I remember looking into this a long time ago.

I believe the problem is in steering, inertia, mass ratios. I played with them a bit.
Since I do not fly caps much, Im not sure how much it will mess up other things and overall balance.

Ship config is in:
c:\Games\Freelancer Discovery\DATA\SHIPS\shiparch.ini
Some info about it: https://discoverygc.com/forums/showthread.php?tid=90126&pid=1262536#pid1262536

This is the part I believe affecting movement:
Example is original nickname = dsy_munificent (Nephilim)
Code:
linear_drag = 1.000000
mass = 25000.000000
steering_torque = 4200000000.000000, 3600000000.000000, 4200000000.000000
angular_drag = 25000000000.000000, 25000000000.000000, 25000000000.000000
rotation_inertia = 900000000.000000, 900000000.000000, 900000000.000000
nudge_force = 3000000.000000
strafe_force = 1000000
strafe_power_usage = 2

I changed rotation_inertia to match steering_torque and it looks like it helped a lot.


P.S.: Remember to test things in Single Player mode and on a different copy of Freelancer. Make backups before messing with files.
P.P.S.: If you could provide examples of caps, that do wobble and those that do not, it would help in further testing.

The reason this 'helped' is because rotation inertia defines the time it takes for your ship to reach max speed in a turn, often known as response time or reaction time, which is a major part of balance. Changing those values around is not a feasible solution.