The online racing simulator
Script help needed
(5 posts, started )
Script help needed
Hi everyone,
I've searched on the forum and had a look at the wiki manual but didn't find the answer.

What I want to know is it possible to alter wheel turn compensation via scripts for diffirent cars?

Like:
FZR - WTC - 1.0 only uses 540 degrees ingame,
XRT - WTC - 0.0 uses all 900 degrees
and so on.
I didn't find the name of the command to do this, tryed /turn_compensation etc. but it doesn't work

Does anyone know the name of such command and does it exsist at all?

EDIT: Alternativly, there is a line with wheel turn compensation in the cfg.txt, is it possible to alter that value through the script?
:bump:
anyone?
Surely there is somebody who knows it?
sorry late reply.

You can't overwrite values in the config file via scripts, even if you adjust it manually, LFS will not change to match it. LFS doesn't work that way. No, there is no command to adjust wheel turn compensation 0.00 - 1.00 (Please correct me if I am wrong)

you mentioned :
Quote :FZR - WTC - 1.0 only uses 540 degrees ingame,
XRT - WTC - 0.0 uses all 900 degrees

There is a command to adjust the wheel turn degrees settings, which I might add is a completely different thing to wheel turn compensation.

lfs/data/docs/Commands.txt contains all scripting commands.

/wheel_turn [degrees] - specify turn angle of controller

you can make a different one for each car by editing the appropriate script files:

lfs/data/script/xfg.lfs
lfs/data/script/xfr.lfs
lfs/data/script/xrg.lfs
lfs/data/script/xrt.lfs etc etc
Quote from JasonJ :

you mentioned :There is a command to adjust the wheel turn degrees settings, which I might add is a completely different thing to wheel turn compensation.

lfs/data/docs/Commands.txt contains all scripting commands.

/wheel_turn [degrees] - specify turn angle of controller

you can make a different one for each car by editing the appropriate script files:

lfs/data/script/xfg.lfs
lfs/data/script/xfr.lfs
lfs/data/script/xrg.lfs
lfs/data/script/xrt.lfs etc etc

Thanks, yes, I've seen that command, but as you've said yourself, its a completly diffirent thing, and doesn't work the way I'd like it too.
Well, the decision I've come up with is to have a text saying "Check WTC" everytime I leave pits, just to remind me. Thanks for help anyway

Script help needed
(5 posts, started )
FGED GREDG RDFGDR GSFDG