I'm a doctor, not a mechanic
UE3:UTCharInfo (UDK)
Object >> UTCharInfo |
Contents
- Package:
- UTGame
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
This object is used as a store for all character profile information.
Properties
Property group 'UTCharInfo'
Characters
Type: array<CharacterInfo>
Modifiers: config
Aray of all complete character profiles, defined in UTCustomChar.ini file.
Default value, index 0:
Member | Value | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AIData |
|
||||||||||||
bLocked | True | ||||||||||||
CharID | "A" | ||||||||||||
CharName | "Matrix" | ||||||||||||
Description | "<Strings:UTGameUI.CharLocData.Matrix_Description>" | ||||||||||||
Faction | "Liandri" | ||||||||||||
FamilyID | "LIAM" | ||||||||||||
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head04>" |
Default value, index 1:
Member | Value |
---|---|
CharID | "C" |
CharName | "Aspect" |
Description | "<Strings:UTGameUI.CharLocData.Aspect_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head02>" |
Default value, index 2:
Member | Value |
---|---|
CharID | "B" |
CharName | "Cathode" |
Description | "<Strings:UTGameUI.CharLocData.Cathode_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head01>" |
Default value, index 3:
Member | Value |
---|---|
CharID | "D" |
CharName | "Enigma" |
Description | "<Strings:UTGameUI.CharLocData.Enigma_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head03>" |
Default value, index 4:
Member | Value |
---|---|
bLocked | True |
CharID | "F" |
CharName | "Collossus" |
Description | "<Strings:UTGameUI.CharLocData.Collossus_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head02>" |
Default value, index 5:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
AIData |
|
||||||
bLocked | True | ||||||
CharID | "I" | ||||||
CharName | "Entropy" | ||||||
Description | "<Strings:UTGameUI.CharLocData.Entropy_Description>" | ||||||
Faction | "Liandri" | ||||||
FamilyID | "LIAM" | ||||||
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head01>" |
Default value, index 6:
Member | Value |
---|---|
bLocked | True |
CharID | "H" |
CharName | "Monarch" |
Description | "<Strings:UTGameUI.CharLocData.Monarch_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head04>" |
Default value, index 7:
Member | Value |
---|---|
bLocked | True |
CharID | "K" |
CharName | "OSC" |
Description | "<Strings:UTGameUI.CharLocData.OSC_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head03>" |
Default value, index 8:
Member | Value |
---|---|
bLocked | True |
CharID | "J" |
CharName | "Evolution" |
Description | "<Strings:UTGameUI.CharLocData.Evolution_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head02>" |
Default value, index 9:
Member | Value |
---|---|
bLocked | True |
CharID | "G" |
CharName | "Mihr" |
Description | "<Strings:UTGameUI.CharLocData.Mihr_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head03>" |
Default value, index 10:
Member | Value | ||||||
---|---|---|---|---|---|---|---|
AIData |
|
||||||
bLocked | True | ||||||
CharID | "E" | ||||||
CharName | "Raptor" | ||||||
Description | "<Strings:UTGameUI.CharLocData.Raptor_Description>" | ||||||
Faction | "Liandri" | ||||||
FamilyID | "LIAM" | ||||||
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head01>" |
Default value, index 11:
Member | Value |
---|---|
bLocked | True |
CharID | "L" |
CharName | "Syntax" |
Description | "<Strings:UTGameUI.CharLocData.Syntax_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head04>" |
Default value, index 12:
Member | Value |
---|---|
bLocked | True |
CharID | "M" |
CharName | "Torque" |
Description | "<Strings:UTGameUI.CharLocData.Torque_Description>" |
Faction | "Liandri" |
FamilyID | "LIAM" |
PreviewImageMarkup | "<Images:UI_Portrait.Character.UI_Portrait_Character_Liandri_Male_Head04>" |
Factions
Type: array<FactionInfo>
Modifiers: config
Array of top-level factions (eg Iron Guard).
Default value:
Member | Value |
---|---|
Description | "<Strings:UTGameUI.FactionData.Liandri_Description>" |
Faction | "Liandri" |
FriendlyName | "<Strings:UTGameUI.FactionData.Liandri_FriendlyName>" |
PreviewImageMarkup | "<Images:UI_Portrait.Faction.UI_CH_Liandri_Team>" |
Families
Type: array<class<UTFamilyInfo> >
Array of info for each family (eg IRNM)
Default value: Class'UTGame.UTFamilyInfo_Liandri_Male'
LOD1DisplayFactor
Type: float
Modifiers: config
Default value: 0.4
LOD2DisplayFactor
Type: float
Modifiers: config
Default value: 0.2
LOD3DisplayFactor
Type: float
Modifiers: config
Default value: 0.075
PortraitSetup
Type: CharPortraitSetup
Modifiers: config
Default value:
Member | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CamFOV | 20.0 | ||||||||||
CenterOnBone | 'b_head' | ||||||||||
DirLight2Brightness | 20.0 | ||||||||||
DirLight2Color |
|
||||||||||
DirLight2Rot |
|
||||||||||
DirLight3Brightness | 1.0 | ||||||||||
DirLight3Color |
|
||||||||||
DirLight3Rot |
|
||||||||||
DirLightBrightness | 2.0 | ||||||||||
DirLightColor |
|
||||||||||
DirLightRot |
|
||||||||||
MeshOffset |
|
||||||||||
MeshRot |
|
||||||||||
PortraitBackgroundTranslation |
|
||||||||||
SkyBrightness | 0.4 | ||||||||||
SkyColor |
|
||||||||||
SkyLowerBrightness | 0.2 | ||||||||||
SkyLowerColor |
|
||||||||||
TextureSize | 256 |
Internal variables
PortraitBackgroundMesh
Type: StaticMesh
StaticMesh to use for background of portrait.
Default value: StaticMesh'UI_CharPortraits.Mesh.S_UI_CharPortraits_Cube'
UnlockableChars
Array used to map between bits stored in profile and unlocked chars.
Default value, index 0: "Lauren"
Default value, index 1: "Ariel"
Default value, index 2: "Scythe"
Default value, index 3: "Akasha"
Default value, index 4: "Alanna"
Default value, index 5: "Loque"
Default value, index 6: "Damian"
Default value, index 7: "Kragoth"
Default value, index 8: "Malakai"
Default value, index 9: "Matrix"
Structs
CharacterInfo
Modifiers: native
Structure defining a pre-made character in the game.
- string CharID
- Short unique string .
- string FamilyID
- This defines which 'set' of parts we are drawing from.
- string CharName
- Friendly name for character.
- string Description
- Localized description of the character.
- string PreviewImageMarkup
- Preview image markup for the character.
- string Faction
- Faction to which this character belongs (e.g. IronGuard).
- CustomAIData AIData
- AI personality
- string ExtraInfo
- any extra properties of this character (for mod use)
- bool bLocked
- whether this character shows up in menus by default
- bool bRestrictInSinglePlayer
- If true, this character will never be used for a random character in a single player game
CharPortraitSetup
Modifiers: native
Structure defining setup for capturing character portrait bitmap.
- name CenterOnBone
- Name of bone to center view on.
- Object.Vector MeshOffset
- Translation of mesh (applied on top of CenterOnBone alignment.
- Object.Rotator MeshRot
- Rotation of mesh.
- float CamFOV
- FOV of camera.
- Object.Rotator DirLightRot
- Directional light rotation.
- float DirLightBrightness
- Directional light brightness.
- Object.Color DirLightColor
- Directional light color.
- Object.Rotator DirLight2Rot
- Directional light rotation.
- float DirLight2Brightness
- Directional light brightness.
- Object.Color DirLight2Color
- Directional light color.
- Object.Rotator DirLight3Rot
- Directional light rotation.
- float DirLight3Brightness
- Directional light brightness.
- Object.Color DirLight3Color
- Directional light color.
- float SkyBrightness
- Skylight brightness.
- Object.Color SkyColor
- Sky light color
- float SkyLowerBrightness
- Sky lower brightness
- Object.Color SkyLowerColor
- Sky lower colour
- Object.Vector PortraitBackgroundTranslation
- Position of background mesh
- int TextureSize
- Size of texture to render to
CustomAIData
Modifiers: native
information about AI abilities/personality (generally map directly to UTBot properties)
- float Tactics
- float StrafingAbility
- float Accuracy
- float Aggressiveness
- float CombatStyle
- float Jumpiness
- float ReactionTime
- string FavoriteWeapon
- full path to class of bot's favorite weapon
Default values:
Property | Value |
---|---|
Aggressiveness | 0.4 |
CombatStyle | 0.2 |
FactionInfo
Modifiers: native
Structure defining information about a particular faction (eg. Ironguard)
- string Faction
- string PreviewImageMarkup
- Preview image markup for the faction.
- string FriendlyName
- Localized version of the faction name to display in the UI.
- string Description
- Description of the faction.
Functions
Static native functions
FindCharacter
Given a faction and character ID, find the character that defines all its parts.
FindFamilyInfo
Find the info class for a particular family
LoadFamilyAssets
This loads all assets associated with a custom character family (based on ini file) and create a UTCharFamilyAssetStore which is used to keep refs to all the required assets.
Parameters:
- bBlocking - If true, game will block until all assets are loaded.
- bArms - Load package containing arm mesh for this family
Other static functions
GetRandomCharClassName
Return a random family from the list of all families