Table of Contents

Class FaceGen

Namespace
TaleWorlds.Core
Assembly
TaleWorlds.Core.dll
public static class FaceGen
Inheritance
FaceGen
Inherited Members

Fields

MonsterSuffixChild

public const string MonsterSuffixChild = "_child"

Field Value

string

MonsterSuffixSettlement

public const string MonsterSuffixSettlement = "_settlement"

Field Value

string

MonsterSuffixSettlementFast

public const string MonsterSuffixSettlementFast = "_settlement_fast"

Field Value

string

MonsterSuffixSettlementSlow

public const string MonsterSuffixSettlementSlow = "_settlement_slow"

Field Value

string

ShowDebugValues

public static bool ShowDebugValues

Field Value

bool

UpdateDeformKeys

public static bool UpdateDeformKeys

Field Value

bool

Methods

GenerateParentKey(BodyProperties, int, ref BodyProperties, ref BodyProperties)

public static void GenerateParentKey(BodyProperties childBodyProperties, int race, ref BodyProperties motherBodyProperties, ref BodyProperties fatherBodyProperties)

Parameters

childBodyProperties BodyProperties
race int
motherBodyProperties BodyProperties
fatherBodyProperties BodyProperties

GetBaseMonsterFromRace(int)

public static Monster GetBaseMonsterFromRace(int race)

Parameters

race int

Returns

Monster

GetBaseMonsterNameFromRace(int)

public static string GetBaseMonsterNameFromRace(int race)

Parameters

race int

Returns

string

GetBodyPropertiesWithAge(ref BodyProperties, float)

public static BodyProperties GetBodyPropertiesWithAge(ref BodyProperties originalBodyProperties, float age)

Parameters

originalBodyProperties BodyProperties
age float

Returns

BodyProperties

GetMaturityTypeWithAge(float)

public static BodyMeshMaturityType GetMaturityTypeWithAge(float age)

Parameters

age float

Returns

BodyMeshMaturityType

GetMonster(string)

public static Monster GetMonster(string monsterID)

Parameters

monsterID string

Returns

Monster

GetMonsterWithSuffix(int, string)

public static Monster GetMonsterWithSuffix(int race, string suffix)

Parameters

race int
suffix string

Returns

Monster

GetRaceCount()

public static int GetRaceCount()

Returns

int

GetRaceNames()

public static string[] GetRaceNames()

Returns

string[]

GetRaceOrDefault(string)

public static int GetRaceOrDefault(string raceId)

Parameters

raceId string

Returns

int

GetRandomBodyProperties(int, bool, BodyProperties, BodyProperties, int, int, string, string, string)

public static BodyProperties GetRandomBodyProperties(int race, bool isFemale, BodyProperties bodyPropertiesMin, BodyProperties bodyPropertiesMax, int hairCoverType, int seed, string hairTags, string beardTags, string tatooTags)

Parameters

race int
isFemale bool
bodyPropertiesMin BodyProperties
bodyPropertiesMax BodyProperties
hairCoverType int
seed int
hairTags string
beardTags string
tatooTags string

Returns

BodyProperties

SetBody(ref BodyProperties, int, int)

public static void SetBody(ref BodyProperties bodyProperties, int build, int weight)

Parameters

bodyProperties BodyProperties
build int
weight int

SetHair(ref BodyProperties, int, int, int)

public static void SetHair(ref BodyProperties bodyProperties, int hair, int beard, int tattoo)

Parameters

bodyProperties BodyProperties
hair int
beard int
tattoo int

SetInstance(IFaceGen)

public static void SetInstance(IFaceGen faceGen)

Parameters

faceGen IFaceGen

SetPigmentation(ref BodyProperties, int, int, int)

public static void SetPigmentation(ref BodyProperties bodyProperties, int skinColor, int hairColor, int eyeColor)

Parameters

bodyProperties BodyProperties
skinColor int
hairColor int
eyeColor int

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).