.yld

From GTAMods Wiki
Revision as of 12:31, 16 November 2025 by Alezanker (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

YLD files (YLD = Cloth Dictionary) in GTA V define physics simulation for clothing and accessories. They contain data that allows items like coats, skirts, or scarves to react dynamically to forces like wind, gravity, and collisions.

Main functions

  • Physics simulation: dynamic clothing movement
  • Force reactions: wind, gravity, collision responses
  • Model linking: associated with .ydd (Drawable) or .yft (Fragment) files that define visual appearance

Characteristics

  • Binary format: not directly readable as text
  • Simulation data: vertices, weights, stiffness, transforms
  • Controllers: references to simulation controllers

Tools for editing

  • ZModeler3D: can import and edit .yld files (requires linked .ydd file)
  • Sollumz: import requires both .ydd.xml and .yld.xml exported together from CodeWalker RPF (linked files)