The online racing simulator
Searching in All forums
(718 results)
Scawen
Developer
List of changes from 0.6M to 0.6N :

Translations :

Most translations updated. Thank you translators!

VR :

Look and click (with space or button) can be used instead of mouse
A virtual keyboard is displayed in VR mode above text entry dialog
Toggle virtual keyboard with a controller button or backspace key
Talk function (T) and ESC can now be assigned to wheel buttons
OpenVR SDK now 0.9.17 and supports live IPD adjustment (Vive)
Removed interface aspect ratio 1:1 and added 14:9 (default)
New click and type buttons in place of some slider bars

Multiplayer :

New Demo filter at bottom of List of Hosts screen
Reduced remote car steering wobble each time a packet is received
Smoothed steering / brake / throttle inputs in multiplayer replays
MPR smoothing is disabled by switching on network debug (SHIFT+F8)
Passwords hidden on Start New Host and Join Specific Host screens

Siren sound :

Start local car siren with command /siren=off/fast/slow
Allowed (on cars with a horn) only if user is allowed by host
Allow a multiplayer guest to use siren : /cansiren username 1

Audio :

More accurate horn (and flash) with shorter transmission delay
Reduced the minimum volume to play a sound (can hear further away)
Added doppler effect to all car sounds that didn't have it already
Removed doppler effect resulting from SHIFT+U mode camera velocity
Updated commands.txt with commands /cansiren /siren /ujoin /uai

Training lessons :

Previous and best times are shown during the lesson replay
SHIFT+R now restarts the lesson without returning to instructions
SHIFT+X exits from replay or lesson back to the instructions screen
Press 1 to watch or restart replay without finishing the lesson
ESC once starts the replay / another time to exit lesson

Lesson editor :

Reverse and open configurations may now be selected
Lesson image filename no longer needs to start with zzz_
Image does not need to be square (but is still shown in a square)
On entry to lesson editor the current track and config are selected
You can now select the lighting (weather) for a lesson

InSim :

New ISS state flags to notify if local PC is in dialog / text entry
New packet SMALL_LCS - set local car switches (lights, horn, siren)

Misc :

Input and sound are now enabled by default when LFS is not focussed
Mouse click on demo exit screen now exits LFS or opens www.lfs.net
Layout editor now allows unmovable objects to intersect

Fixes :

Out-of-path start warning incorrectly showed local player name
Dedicated server did not search for path after out-of-path start
Non-dedicated server could crash if guest driver drove off track
Possible crash if a shadowed object near a paused car was deleted
Possible crash if texture resolution changed while generating
Alt Gr key + number could cause text colour to change
Scawen
Developer
Quote from Kanade :Here's a little video, in it you can hear that the sound is not starting from the beginning.
https://www.youtube.com/watch?v=RZ7SWvlGLcs

Also, thanks for the patch. Smile

Thanks for the report, I reproduced it now.

Sorry I did not fix it for M9. It is fixed in my version.

As you said, it is only Horn 1 that is affected.
Scawen
Developer
Test patch M9. Hopefully the final test patch before official version.

Changes from 0.6M8 to 0.6M9 :

More translation updates! Thank you translators! Smile

Audio :

Reduced the minimum volume to play a sound (can hear further away)
Added doppler effect to all car sounds that didn't have it already
Removed doppler effect resulting from SHIFT+U mode camera velocity
Updated commands.txt with commands /cansiren /siren /ujoin /uai

Siren sound :

Command /cansiren now works on players that have not joined race
Command /cansiren username 0 now switches off username's siren

Fix :

Fixed a recently introduced bug in the /key and /button commands

Download : https://www.lfs.net/forum/thread/89160
Scawen
Developer
Test patch M9. Hopefully the final test patch before official version.

Changes from 0.6M8 to 0.6M9 :

More translation updates! Thank you translators! Smile

Audio :

Reduced the minimum volume to play a sound (can hear further away)
Added doppler effect to all car sounds that didn't have it already
Removed doppler effect resulting from SHIFT+U mode camera velocity
Updated commands.txt with commands /cansiren /siren /ujoin /uai

Siren sound :

Command /cansiren now works on players that have not joined race
Command /cansiren username 0 now switches off username's siren

Fix :

Fixed a recently introduced bug in the /key and /button commands

Download : https://www.lfs.net/forum/thread/89160
Scawen
Developer
That's space, not backspace.

Backspace is the one that deletes a character that you just wrote.

It may have the word "BkSp" on it or just a big arrow pointing left.

I chose it because I thought there wouldn't be any problems.

There was a problem, to do with horns / fake keys and I worked for two days to solve it. The result is various updates in test patch M8. I don't think there is a problem any more.
Scawen
Developer
Quote from lfsrm :I think many of keyboard/mouse user are using the backspace for handbrake

Quote from RacerAsh3 :Just as someone else has mentioned, backspace can be used for other current binds.

I don't think that was ever possible.

I'm checking in the code again. It seems backspace was never an assignable key.

Quote from RacerAsh3 :On another scripting related comment, is it possible to "unbind" a /ctrlf shortcut? I know in the .txt included you can unbind "buttons" (/button [button] [function] - e.g. "/button 5 shift_up" (to unbind, use -1)), is it possible to unbind a CTRLF key so it returns to being blank?

It's not possible (at the moment) and I don't want to get into that now. It's basically down tools now unless there is a serious bug.
Scawen
Developer
Quote from RacerAsh3 :Just wondering Scawen it would be possible to make an option to enable/disable the virtual keyboard for the VR stuff? Rather than it being constantly binded to 'Backspace'?

I don't see any problem with it as it is now, after the changes made in M8 which were supposed to fix any issue there was with the backspace key. For me to consider any more changes, I would need to understand what problems it is causing, or what it would allow you do do if it was changed.

Quote from RacerAsh3 :...when I try script the following:

/button 13 reverse

It sets "VR Click" under the "Buttons 2" menu to that button. Even if I delete the assignment and run /button 13 reverse again, it is set to VR Click?

Good find, thanks. Please check it in this evening's patch.
Scawen
Developer
Quote from cargame.nl :You need to be on the track with a car. /cansiren doesn't work while somebody is in spectate mode.

Thanks, fixed this now and also /cansiren username 0 switches off a siren.

Quote from cargame.nl :But why is the siren being supported by a /siren= command and flash isn't? Notice: /docs/Commands.txt has not been updated yet. I understand /siren= because people don't necessarily need to activate an InSim. But with the flash thing they still need to. Thats kinda weird for my brain to understand.

Flash is just the headlight flash that has always been in LFS.

It's more like the horn, just a temporary thing, not something you normally switch on and leave on for a while.
Scawen
Developer
Quote from mbutcher :Here's a siren demo video we just recorded:

...

Just one bug we found, if you do '/cansiren user 0' whilst someone has a siren on, their siren does not turn off on its own.

Thanks for the test. Smile

Bug noted.

Quote from Flame CZE :Would it be hard to implement the doppler effect for horns/sirens now?

That was already on my notes, I'll have a look tomorrow. I'm not sure how easy or hard it is, but it would be nice.
Scawen
Developer
Quote from Bose321 :So if I understand correctly the host has to allow a guest to use a siren, but the server can't turn on the siren for the user, correct?

Correct, the guest must turn it on himself.

Quote from pik_d :I imagine if you do /cansiren username 0 it will turn it off.

Edit: Apparently this doesn't work.

Correct, that doesn't work.

Quote from Gutholz :The /cansiren command did not for me.
I start server via "Multiplayer" - "Start new host"
Then entered:
/cansiren gutholz 0
which gave: "User name is not valid"
(/spec command worked)

Siren itself works. wub wub wub. Ya right

If you start a non-dedicated host, then the host is the one user who you cannot give permission to use a siren.

The host always has permission. Smile
Scawen
Developer
A new test patch is available which includes:

- more accurate and lower latency horn and flash
- a special InSim packet to control lights and horn
- siren sounds have been added Big grin

https://www.lfs.net/forum/thread/89160

0.6M8 is mainly compatible with 0.6M

- You can connect online with 0.6M
- You can play replays from 0.6M
- An M8 guest's horn or flash will not be seen on old guests
- The host must be M8 or later to allow a guest to use a siren

Changes from 0.6M7 to 0.6M8 :

More translation updates, thank you translators

Multiplayer :

More accurate horn and flash with shorter transmission delay

Siren sound :

Text command /siren=off/fast/slow
Only allowed on cars with a horn and if allowed by host
Allow a multiplayer guest to use siren : /cansiren username 1

InSim :

New ISS state flags to notify if local PC is in dialog / text entry
New packet SMALL_LCS - set local car switches (lights, horn, siren)
Scawen
Developer
A new test patch is available which includes:

- more accurate and lower latency horn and flash
- a special InSim packet to control lights and horn
- siren sounds have been added Big grin

https://www.lfs.net/forum/thread/89160

0.6M8 is mainly compatible with 0.6M

- You can connect online with 0.6M
- You can play replays from 0.6M
- An M8 guest's horn or flash will not be seen on old guests
- The host must be M8 or later to allow a guest to use a siren

Changes from 0.6M7 to 0.6M8 :

More translation updates, thank you translators

Multiplayer :

More accurate horn and flash with shorter transmission delay

Siren sound :

Text command /siren=off/fast/slow
Only allowed on cars with a horn and if allowed by host
Allow a multiplayer guest to use siren : /cansiren username 1

InSim :

New ISS state flags to notify if local PC is in dialog / text entry
New packet SMALL_LCS - set local car switches (lights, horn, siren)
Last edited by Scawen, .
Scawen
Developer
Quote from Amynue :And it's not like Scawen desinged those letters, it's just a font.

I did actually.

In fact Mark Healey did the original (ASCII characters only) using my font editor.

Since then I've updated them, following the same style, thinned them a little at one point, and added many new characters when we went for the international support.
Scawen
Developer
Quote from matze54564 :The Upgrade to M7 works not. The exe and zip, both are damaged.

Thanks, I've fixed them now.

Quote from QATAR948 :When are we able to get Arabic translate ?
Edit : we can help to translate

I am interested in this but can't do it now. The main complication is the reverse direction text and I still need to research and code for this. But I must keep it lower priority than the tyre physics.

Quote from yaper :TIP on Polish keyboard.
Most national characters are typed by combining AltGr with Latin equivalent. The only one exception is źŹ (Z with apostrophe) it is made from AltGr+X beacuse AltGr+Z is occupied by żŻ (Z with dot above).

Does that work correctly in the LFS virtual keyboard? LFS calls Windows functions that should be handling all these character conversions.
Scawen
Developer
It seems more like you need a way to switch on lights or sound a horn through InSim. Because the way it has to be done now sounds like quite a nasty hack!
Scawen
Developer
I did see that. It does turn up if you press the key to turn it on. Big grin

I meant, are there any other times, and it is a problem that it appears in VR mode when you open a text entry dialog?
Scawen
Developer
As far as I know, the only time it comes up automatically is when you are in VR mode and you open a text entry dialog box. Is it a problem to see a keyboard in that case, or are there other times it shows up unwanted?
Scawen
Developer
0.6M7 is now available, with more keyboards implemented and an auto-hide system for the crosshairs.

When racing, sometimes there are buttons on screen, like when you show connections (N key) or if there are clickable InSim buttons on screen. Until now, crosshairs were permanently visible in this case, but now they are hidden after a few seconds. When you want to click on something again, just press VR Click or SPACE and it will show the crosshairs. That first click will not activate anything! Smile

https://www.lfs.net/forum/thread/89160

Changes from 0.6M6 to 0.6M7 :

More translation updates, thanks to translators

VR :

Crosshairs auto-hide in game when buttons visible (e.g. N or InSim)

Virtual keyboard :

Added Serbian / Croatian / Slovenian keyboard (QWERTZ)
Added Slovak, Turkish, Bulgarian and Romanian keyboards
Scawen
Developer
Quote from matze54564 :When setup "Maximum buffered Frames" to 2 and use "in race car data" F9 or F10, the buffered frames will be disabled - setup to zero.

I can't reproduce that.

Does it happen every time, as soon as you press F9 or F10?

Which LFS version are you using? Which track / car / etc...
Scawen
Developer
Quote from just2fast :Today I got kicked from a server, because I wasn´t able anymore to quick exit the race after a crash.

That is pretty stupid.

If any racers believe you should be kicked for not spectating after a crash, they are WRONG.

A crash is part of racing and it's up to them to try and avoid you.

I have never in my life pressed SHIFT+S when my car got out of control. I just try to regain control and get on with the race, like in real life.

Otherwise we might as well have no collisions and we can all just hotlap together.
Scawen
Developer
Quote from MandulAA :My keyboard layout language is Slovak, abbreviated SK in Windows, called Central Europe in LFS.
Found a mistake ("-" and "=" swap) and a missing character, attached a picture. The missing character is ' and for the first time nothing is shown, the second time its doubled (´´), so it should be red like in other keyboards.

EDIT: Ignore what I said here, I reproduced your issue by selecting Slovak QWERTZ. Slovak QWERTY does work well already but you must have the QWERTZ option.

Can you try the same fix I mentioned in the previous post?

It seems you have the wrong setting for for non-Unicode programs. Slovak should work well and is only missing a key to the left of Z which I'll add today.
Last edited by Scawen, .
Scawen
Developer
Quote from Nilex :Some letters aren't displayed correctly on virtual keyboard in my language (Croatian). They're missing those little lines at the top:

OK, today I'll also do the Croatian / Serbian / Slovenian keyboard.

But you will need to change one setting in your computer, unless you have a special reason not to do so. See the attachment. Otherwise, the keys will still appear wrong even when I give you the correct layout (which only rearranges the keys).

You can try this setting and you should already see the correct keys, just not in the correct places.
Scawen
Developer
Quote from troy :he mentions that due to LFS' openvr implementation chaperone seems to be always on, so he always sees the green gridlines when he plays lfs.

Quote from Oliver Feistkorn :A short article about the Vice and LFS.

Thanks for the links and translations. Smile

I believe the chaperone problem is solved in the latest test patches (since 0.6M3). There's something pretty strange / buggy / pointless about the OpenVR chaperone setup for seated experiences, but now the F8 screen offers two options, "reset headset" and "use relative position". I think the first one does solve the Vive chaperone problem (but does not allow the seating position to be saved).

Also the F8 problem has been fixed, because F8 no longer sets the seated position instantly, but instead runs a special setup screen and you can do a "VR Click" on the button using your controller.
Scawen
Developer
Thanks for the test, I'll check out SK keyboard tomorrow.
Scawen
Developer
Yeah, by a shortcut key or by clicking the language name in the task bar. Dutch don't need to do this as they have US keyboards, but people from some countries do regularly change the input language, specially if they have a non-Latin alphabet.
FGED GREDG RDFGDR GSFDG