LifePlay-Revival/Docs/Modding/ShortGuides/explanation.lphair
edujiro5972 45bdb6dfb2 H3c : guide des moddeurs (mods d'assets), outils NewMod/EditMod, version de reference a la publication
- Docs/Modding/FullGuides/Creating_Asset_Mods.md (anglais), explanation.lphair,
  explanation.lpmod (MODULE_DEFAULT_ENABLED).
- Tools/NewMod.ps1 (squelette ModSources/<Nom>), Tools/EditMod.ps1 (editeur avec le mod monte).
- Procedure de publication : version de reference Releases/<version> creee au build de
  distribution et livree avec les sources ; Mods/ vide au build (CHG-105).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 09:11:34 +02:00

18 lines
1.6 KiB
Text

LifePlay Revival addition. Lphair files declare hairstyles, beards and body hair. Put them anywhere inside your mod folder (for example Content\Modules\<your mod>\Hairstyles\). They are read at startup; the hairstyles of a mod are available only while the mod is enabled in the Mod Manager.
HAIRSTYLE: /MyHairPack/Hairs/MyHair01.MyHair01 // full path of a skeletal mesh skinned to the Genesis 8 skeleton (an asset of the game, or of an asset mod: see Docs/Modding/FullGuides/Creating_Asset_Mods.md), or NONE for "no hair"
SEX: F // F or M (default F): which characters can use it
DAZ: true // true for hairstyles made for the Daz Genesis 8 characters (all current ones)
FIT_MORPH: MorphName 0.5 // optional: morph target applied to the hair, with its value, to fit the head
The // comments at the end of the lines above are explanations only: in a real file, a comment must be on its own line.
Several hairstyles can be declared in one file: each HAIRSTYLE line starts a new hairstyle, the SEX, DAZ and FIT_MORPH lines that follow apply to it. Lines starting with // are comments.
Beards and body hair are textures painted on the skin, listed by name (the texture must exist in the game folder used by the game for that list):
FACIAL_HAIR: Facial_Hair__1_ // beard (male)
BODY_HAIR_M: JPBH78-TorsoNG-01 // male body hair
BODY_HAIR_F: Pubes01 // female body hair
The base game list is Content\Modules\vin_Base\Hairstyles\vin_Base.lphair (MODE: BASE): do not copy that line into your own files.