LifePlay-Revival/Docs/Modding/ShortGuides/explanation.lphair

19 lines
1.6 KiB
Text
Raw Normal View History

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.