Difference between revisions of "User:Flame CZE/Sandbox"

From LFS Manual
Jump to navigationJump to search
m
 
(163 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Vehicle Mod Features =
+
= InSim packet infobox =
  
{{Under construction}}
+
{{Infobox
 +
| above    = IS_STA
  
This is a list containing all features that can be set to have a fully working vehicle mod.
+
| abovestyle  = background-color: #dedede
 +
| headerstyle = background-color: #dedede
  
If you don't know how to implement a feature on your mod, click the link in the feature name or description, which will take you to the corresponding manual page.
+
| header1 = Overview
  
{| class="wikitable" style="max-width: 600px"
+
| label1  = Size
! style="width: 170px" | Feature || Description / possible values
+
| data1  = 28
 +
 
 +
| label2  = Type
 +
| data2  = ISP_STA (5)
 +
 
 +
| label3  = Usage
 +
| data3  = Info
 +
 
 +
| belowleft = '''Previous packet'''<br />[[IS_MOD]]
 +
| belowright = '''Next packet'''<br />[[IS_NPL]]
 +
}}
 +
 
 +
{{-}}
 +
 
 +
= Packet properties =
 +
 
 +
{| class="wikitable"
 +
|+ IS_SCH packet properties
 
|-
 
|-
! colspan="2" | General settings
+
! Type !! Name !! Description
 
|-
 
|-
| Vehicle layout
+
| {{Abbr|byte|1-byte unsigned integer}}
|
+
| Size
* car (4 wheels)
+
| 8
* three wheeler
 
* trike
 
* bike (experimental)
 
* kart
 
* object
 
 
|-
 
|-
| Vehicle class
+
| byte
|
+
| Type
* object
+
| ISP_SCH (6)
* touring car
 
* saloon
 
* buggy
 
* formula
 
* GT
 
* kart
 
* bike
 
* van
 
* truck
 
* F1
 
* FSAE
 
|-
 
| Driver side swap
 
|
 
* fixed drive side (central, left, or right)
 
* selectable drive side (left/right)
 
|-
 
| Configurations || can hide/show different parts of the car in each configuration
 
 
|-
 
|-
| [[LFS_Editor_Guides#Customisable_colours|Customisable colours]] ||
+
| byte
 +
| ReqI
 +
| 0
 
|-
 
|-
| [[LFS_Editor_Guides#Creating_a_skin_texture|Customisable skins]] ||
+
| byte
|-
+
| Zero
| [[LFS_Editor_Guides#How_to_add_an_automatically_created_physics_.2F_collision_mesh|Collision mesh]] ||
 
|-
 
| [[LFS_Editor_Guides#Level_of_detail_.28LOD.29_and_Shadow_.2F_Physics_.2F_Collision_meshes|Proper car shadow]] ||
 
|-
 
! colspan="2" | Engine
 
|-
 
| Number of cylinders || 1-12
 
|-
 
| Layout
 
 
|
 
|
* inline
 
* flat
 
* V
 
|-
 
| Transverse position || yes/no
 
|-
 
| Engine rotation direction || clockwise / anti-clockwise (from right)
 
|-
 
| Displacement || cubic centimetres
 
|-
 
| Idle speed || revolutions per minute
 
|-
 
| Redline || revolutions per minute
 
|-
 
| Maximum torque || newton-metres / poud-feet at specific RPM
 
|-
 
| Maximum power || kilowatts / horsepower at specific RPM
 
 
|-
 
|-
| Torque & power curves ||
+
| byte
 +
| CharB
 +
| key to press
 
|-
 
|-
| Turbo || on/off
+
| byte
 +
| Flags
 +
| bit 0: SHIFT / bit 1: CTRL
 
|-
 
|-
| Two-stroke || on/off
+
| byte
|-
+
| Spare2
| Engine sound ||
 
|-
 
! colspan="2" | Drivetrain
 
|-
 
| Transmission type
 
 
|
 
|
* no power unit
 
* H-pattern gearbox
 
* motorbike gearbox
 
* sequential gearbox
 
* sequential gearbox with ignition cut
 
* paddle shift gearbox
 
* electric motor
 
* centrifugal clutch
 
 
|-
 
|-
| Drive type
+
| byte
 +
| Spare3
 
|
 
|
* no drive
 
* front wheel drive
 
* rear wheel drive
 
* four wheel drive
 
 
|-
 
|-
| Open differential only || on/off
+
|}
|-
+
 
| Single setting differential || on/off - whether a separate power & coast slip percentages can be set in setup for clutch pack limited slip differential
+
= LFS compatibility matrix =
|-
+
 
! colspan="2" | Mass
+
Assumptions:
|-
+
 
| [[LFS_Editor_Guides#Adjusting_masses|Mass distribution]] || this affects the vehicle's moment of inertia
+
* If a replay recorded in version A can be played in a newer version B, we assume that the replay can be played in all versions newer than A and older than B.
|-
+
* If a replay recorded in version A can be played in a newer version B, we assume that a replay recorded in any version newer than A and older than B can be played in all versions newer than the replay version and older than B.
| Fuel tank size || litres
+
* If a replay recorded in version A cannot be played in a newer version B, we assume that a replay recorded in any version older than A cannot be played in version B.
|-
+
* If a replay recorded in version A can be played in a newer version B, we assume that the replay cannot be played in all versions newer than B.
| Suspension mass || kilograms
+
* If a replay recorded in version B cannot be played in an older version A, we assume that the replay cannot be played in all versions older than A.
|-
 
| 12V battery mass || kilograms
 
|-
 
! colspan="2" | Objects
 
|-
 
| Fuel tank position ||
 
|-
 
| 12V battery position ||
 
|-
 
| Spare wheel || on/off, pitch, forward, up
 
|-
 
! colspan="2" | Suspension
 
|-
 
| [[LFS_Editor_Guides#Setting_suspension_types|Suspension type]]
 
|
 
* rigid (only for karts)
 
* linear
 
* front fork (only for single front wheels)
 
* MacPherson
 
* double wishbone
 
* trailing arm
 
|-
 
| Track width || metres
 
|-
 
| Wheelbase || metres - can adjust forward/backward position of rear and front suspension
 
|-
 
| Kingpin offset || metres
 
|-
 
| Caster || degrees
 
|-
 
| Static camber || degrees
 
|-
 
| Kingpin inclination || degrees
 
|-
 
! colspan="2" | Wheels & Tyres
 
|-
 
| Rim model ||
 
|-
 
| Spoke model ||
 
|-
 
| Tyre width || millimetres
 
|-
 
| Tyre aspect ratio || height as a percentage of width
 
|-
 
| Allowed tyre types
 
|
 
* SLICK_R1
 
* SLICK_R2
 
* SLICK_R3
 
* SLICK_R4
 
* ROAD_SUPER
 
* ROAD_NORMAL
 
* HYBRID
 
* KNOBBLY
 
|-
 
| Tyre pressure limits || kilopascals (min, max)
 
|-
 
| Rim diameter || inches
 
|-
 
| Number of spokes || 1-22
 
|-
 
| Rim width || inches
 
|-
 
| Brake disc type
 
|
 
* solid
 
* drilled
 
|-
 
| Brake disc radius || millimetres
 
|-
 
| Brake disc offset || millimetres
 
|-
 
! colspan="2" | Interior
 
|-
 
| Driver & passenger seats
 
|
 
Possible to toggle passenger seats and change the position of each seat
 
  
This affects the vehicle's mass distribution and total mass
+
{| class="wikitable"
|-
+
|+ Version Compatibility Matrix
| [[LFS_Editor_Guides#Driver_animations|Driver animation]] || sit and steer animations
+
| rowspan="2" colspan="2" |
|-
+
! colspan="4" | LFS Client
| Internal mirror || internal mirror subobject with 's_mirr' texture page
 
|-
 
| Steering wheel model || steering wheel subobject
 
|-
 
| Steering wheel position || heading & pitch (degrees)
 
|-
 
| Steering wheel turn || 30-540° one way
 
|-
 
! colspan="2" | Exterior
 
|-
 
| Wing mirrors || triangles using 's_mirr' texture page for the mirror itself
 
|-
 
| Customisable number plate || 's_plate' or 's_plate_ALP' texture page
 
|-
 
| [[LFS_Editor_Guides#Light_colours:_headlights.2C_indicators.2C_etc.|Car lights]]
 
|
 
* brake light
 
* headlight
 
* tail light
 
* left indicator
 
* right indicator
 
* rear fog light (not switchable)
 
* front fog light (not switchable)
 
* reverse light
 
|-
 
! colspan="2" | Car functions
 
|-
 
| ABS || on/off
 
|-
 
| Traction control || on/off
 
|-
 
| Engine brake reduction || used with traction control
 
|-
 
| Anti-roll bar || on/off
 
|-
 
| Anti-roll bar live adjustment || on/off
 
|-
 
| Brake balance live adjustment || on/off
 
|-
 
| Rear brake only || on/off
 
|-
 
| Pit speed limiter || on/off
 
|-
 
! colspan="2" | [[LFS_Editor_Guides#Editing_dashboard|Dashboard]]
 
|-
 
| Speedometer ||
 
|-
 
| Tachometer ||
 
|-
 
| Gear indicator ||
 
|-
 
| Multi function display
 
|
 
* gear indicator
 
* driven distance
 
* current time
 
|-
 
| FPS gauge ||
 
|-
 
| Turbo pressure ||
 
|-
 
| Time clock ||
 
|-
 
| Water temperature ||
 
|-
 
| Fuel gauge ||
 
|-
 
| Oil temperature ||
 
|-
 
| Oil pressure ||
 
|-
 
| Full beam ||
 
|-
 
| Left indicator ||
 
|-
 
| Right indicator ||
 
|-
 
| Handbrake ||
 
|-
 
| Battery ||
 
|-
 
! colspan="2" | [[LFS_Editor_Guides#Adjusting_aerodynamics|Aerodynamics]]
 
|-
 
| Rear wing ||
 
|-
 
| Front wing ||
 
 
|-
 
|-
| Undertray ||
+
! 0.5A !! 0.5B !! 0.6A !! 0.6B
 
|-
 
|-
| Main body ||
+
! rowspan="4" | Replay
 +
! 0.5A
 +
| {{N/A|-}} || {{yes}} || {{no}} || {{no}}
 
|-
 
|-
| Maximum lift || newtons at 1 m/s
+
! 0.5B
 +
| {{yes}} || {{N/A|-}} || {{no}} || {{no}}
 
|-
 
|-
| Maximum drag || newtons at 1 m/s
+
! 0.6A
 +
| {{yes}} || {{yes}} || {{N/A|-}} || {{no}}
 
|-
 
|-
| Side drag || newtons at 1 m/s
+
! 0.6B
 +
| {{yes}} || {{yes}} || {{no}} || {{N/A|-}}
 
|}
 
|}

Latest revision as of 18:00, 9 February 2026

InSim packet infobox

IS_STA
Overview
Size 28
Type ISP_STA (5)
Usage Info
Previous packet
IS_MOD
Next packet
IS_NPL


Packet properties

IS_SCH packet properties
Type Name Description
byte Size 8
byte Type ISP_SCH (6)
byte ReqI 0
byte Zero
byte CharB key to press
byte Flags bit 0: SHIFT / bit 1: CTRL
byte Spare2
byte Spare3

LFS compatibility matrix

Assumptions:

  • If a replay recorded in version A can be played in a newer version B, we assume that the replay can be played in all versions newer than A and older than B.
  • If a replay recorded in version A can be played in a newer version B, we assume that a replay recorded in any version newer than A and older than B can be played in all versions newer than the replay version and older than B.
  • If a replay recorded in version A cannot be played in a newer version B, we assume that a replay recorded in any version older than A cannot be played in version B.
  • If a replay recorded in version A can be played in a newer version B, we assume that the replay cannot be played in all versions newer than B.
  • If a replay recorded in version B cannot be played in an older version A, we assume that the replay cannot be played in all versions older than A.
Version Compatibility Matrix
LFS Client
0.5A 0.5B 0.6A 0.6B
Replay 0.5A - Yes No No
0.5B Yes - No No
0.6A Yes Yes - No
0.6B Yes Yes No -