[EXPERIMENT]glide speed/strafe speed editing

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
KaZTek
Posts: 282
Joined: Fri, 26. Dec 08, 08:58
x3tc

[EXPERIMENT]glide speed/strafe speed editing

Post by KaZTek » Wed, 12. Aug 09, 02:17

I've been playing around with the three variables I found in Globals.pck, namely:

Code: Select all

SG_MAXSTRAFEFACTOR_SMALLSHIP;49152;
SG_MAXSTRAFEFACTOR_BIGSHIP;26214;
SG_MAXGLIDESPEED;100;
Apparently, changes to any of these dont garner much at all. I'm intending to remove the "slippery" slides as my AI pilots tend to slide themselves into a fatal collision. Without such slippery sliding all over the place, I'd have less losses on both my ships and on my own reloads.

Has anyone had any success?
--

User avatar
s9ilent
Posts: 2033
Joined: Wed, 29. Jun 05, 01:45
x4

Post by s9ilent » Wed, 12. Aug 09, 09:41

Sliding is a result of acceleration.

Because I don't want to repeat what I've said for like the 100th time on various "... Newtonian physics..." discussions, in short, its because acceleration is relatively low for its speed (and possibly its turning too).

Strafing is not a factor

KaZTek
Posts: 282
Joined: Fri, 26. Dec 08, 08:58
x3tc

Post by KaZTek » Wed, 12. Aug 09, 11:09

So basically, its all in the acceleration? That kinda doesnt make sense. I just tested over-doing acceleration and I still get sliding AI ships. In fact, when they stop, they actually stop so hard they fly backwards.

I guess the default sliding/floating of ships is basically uneditable at this stage?
--

User avatar
s9ilent
Posts: 2033
Joined: Wed, 29. Jun 05, 01:45
x4

Post by s9ilent » Wed, 12. Aug 09, 11:15

Sliding is a result of a momentum, from a change of direction.

e.g. if you went from right t left, then suddenly turned down

i.e. if you where FACING like this

<--<--<--<--<--
|
|
|
|
finish

The actual path would look like this

___________________
/
_
_
/
_
/
/
|
|



By increasing acceleration, it pulls a sharper turn.

___________________
/
|
|


Thus less gliding.


This is because, ships ALWAYS ALWAYS and I mean always (as in not never) tend towards the forward face, and their set acceleration. Rail hail or shine, or facing side ways engines on or off, they will acceleration/decelerate with the same constant factor.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”