STEER_LOCK=360
STEER_RATIO=8.8
Singleplayer support
Hovering over track to show its name
Hovering over server name will show it's complete one(if it doesn't fit)
Updated mod name support
It's a program that shows your playing status on Discord
Make sure you edit insim.ini to match your settings. Admin Password can be found when you go to the server host screen(you don't need the password from the server you will join).
After that you can simply type "/insim 29999" in-game/menu and run the program to connect.
If you want the program to start automatically each time LFS starts,
open "LFS Folder/data/scripts/autoexec.lfs" with notepad or any text editor and add these 2 lines
/insim 29999
/exec "C:\YOUR_ROUTE\LFS Discord\LFS Discord.exe"
insim.ini has everything you want to set it up
If you get any error it will be at the logs folder. Program is really easy to use so there shouldn't be any bugs or problems in the meanwhile. If something goes wrong, take a look at the logs folder and you should figure it out
https://drive.google.com/file/ ... WrFmUky8/view?usp=sharing
//Convert Function
CarFlags CarToPLC(string CarName)//Add the rest
{
switch (CarName.ToUpper())
{
case "XRG": return CarFlags.XRG;
case "LX4": return CarFlags.LX4;
case "LX6": return CarFlags.LX6;
case "RB4": return CarFlags.RB4;
case "FXO": return CarFlags.FXO;
case "XRT": return CarFlags.XRT;
case "RAC": return CarFlags.RAC;
case "FZ5": return CarFlags.FZ5;
}
return CarFlags.None;
}
//Checking
CarFlags AvailableCars = CarFlags.None;
string AllCars = Conn.Cars;//You will probably have to "split" this, depending how you store them. Like "string[] AllCars = Conn.Cars.Split(' ');"
foreach (string ThisCar in AllCars)
{
AvailableCars |= CarToPLC(ThisCar);
}
insim.Send(new IS_PLC { UCID = UCID, Cars = AvailableCars });