LFS Editor/File Formats

From LFS Manual
Jump to navigationJump to search
LFS Editor
Vehicle Mods

LFS Editor uses special file formats to store vehicle mod files.

VEH

VEH stands for "vehicle" and is saved in data\veh with .veh file extension.

  • suspension design
  • aero constants
    • main body
    • undertray
    • wings
  • wheel dimensions
    • width
    • aspect ratio
    • rim diameter
  • mass description
    • frame
    • object masses
  • light colours
  • dashboard design
  • default setups
  • default colour configs
    • body colours
    • wheel colours
    • skin name
  • model
    • main object (LOD1)
    • shadow LOD (LOD2)
    • collision mesh (LOD3)
    • subobjects
    • aero positions
  • wheel design (WHL)
    • rim cross section (WXS)
    • spoke object
  • name of steering animation
  • name of engine sound file

SRE

SRE is a model file contained in VEH. It can be saved to data\3dob.

  • object type
  • position
  • rotation
  • layer names
  • subobjects
    • steering wheel
    • brakes
    • mudguards
    • attachments
    • internal mirror
    • wings
  • triangles
    • mapping (colour)
    • smoothing group
    • LOD
    • layer
    • normal contribution level
  • mappings
    • diffuse colour
    • direction (rotation)
    • location
    • width, height
    • cutout
    • opposite cutout
  • cutouts
    • size
    • position
    • rotation
    • shiny / matt
    • texture page
  • pages
    • texture file name

References

Attached image: Overview of the structure of VEH and SRE files (LFS Forum)