Mostly Harmless

UE3:UTCustomChar_Preview (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> UTCustomChar_Preview
Package: 
UTGame

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. Actor placed in level and used to preview different custom character combinations. Does not use skeletal mesh merging, so changing parts is quick.

Properties[edit]

Property group 'UTCustomChar_Preview'[edit]

AnimComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyAnimComp'

ArmsComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyArmsComp'

BootsComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyBootsComp'

Character[edit]

Type: UTCustomChar_Data.CharacterInfo

Info about character currently being used.

Default value:

Member Value
AIData
Member Value
Aggressiveness 0.4
CombatStyle 0.2

CharLightingChannels[edit]

Type: LightComponent.LightingChannelContainer

Used for easily setting

FacemaskComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyFacemaskComp'

GogglesComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyGogglesComp'

HeadComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyHeadComp'

HelmetComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyHelmetComp'

LShoPadComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyLShoPadComp'

MergeState[edit]

Type: UTCustomChar_Data.CustomCharMergeState


RShoPadComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyRShoPadComp'

TestMergeActor[edit]

Type: SkeletalMeshActor


TestMIC[edit]

Type: MaterialInstanceConstant


TestMIC2[edit]

Type: MaterialInstanceConstant


TestMIC3[edit]

Type: MaterialInstanceConstant


ThighsComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyThighsComp'

TorsoComp[edit]

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyTorsoComp'

UseForFaction[edit]

Type: string

In the char editor, used to find the right UTCustomChar_Preview for each faction.

Internal variables[edit]

FamilyAssets[edit]

Type: UTCharFamilyAssetStore


Default values[edit]

Property Value
Components[0] SkeletalMeshComponent'MyAnimComp'
Components[1] SkeletalMeshComponent'MyTorsoComp'
Components[2] SkeletalMeshComponent'MyHeadComp'
Components[3] SkeletalMeshComponent'MyHelmetComp'
Components[4] SkeletalMeshComponent'MyFacemaskComp'
Components[5] SkeletalMeshComponent'MyGogglesComp'
Components[6] SkeletalMeshComponent'MyLShoPadComp'
Components[7] SkeletalMeshComponent'MyRShoPadComp'
Components[8] SkeletalMeshComponent'MyArmsComp'
Components[9] SkeletalMeshComponent'MyThighsComp'
Components[10] SkeletalMeshComponent'MyBootsComp'

Subobjects[edit]

MyAnimComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
Animations AnimNodeSequence'UTGame.Default__UTCustomChar_Preview:AnimNodeSeq0'
AnimSets[0] AnimSet'CH_AnimHuman.Anims.K_AnimHuman_BaseMale'
bEnableFullAnimWeightBodies True
bHasPhysicsAssetInstance True
BlockRigidBody True
HiddenGame True
RBChannel RBCC_Untitled4
RBCollideWithChannels
Member Value
Untitled4 True
SkeletalMesh SkeletalMesh'CH_IronGuard_Male.Mesh.SK_CH_IronGuard_MaleA'

MyArmsComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyBootsComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyFacemaskComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyGogglesComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyHeadComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyHelmetComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyLShoPadComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyRShoPadComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyThighsComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyTorsoComp[edit]

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

Functions[edit]

Native functions[edit]

NotifyCharacterDataChanged[edit]

native function NotifyCharacterDataChanged ()

Notification when the character data has changed so the preview actor can update the data in-game.

SetCharacter[edit]

native function SetCharacter (string InFaction, string InCharID)

Set the entire preview character to a specified profile.

SetCharacterData[edit]

native function SetCharacterData (UTCustomChar_Data.CustomCharData InCharData)

Sets the preview character's data to the specified char data struct.

SetPart[edit]

native function SetPart (UTCustomChar_Data.ECharPart InPart, string InPartID)

Set a particular part of the preview character, based on its short ID.

Events[edit]

OnSetCustomCharPart[edit]

event OnSetCustomCharPart (UTSeqAct_SetCustomCharPart Action)

Handler for 'SetCustomCharPart' kismet action *

OnSetCustomCharProfile[edit]

event OnSetCustomCharProfile (UTSeqAct_SetCustomCharProfile Action)

Handler for 'SetCustomCharCharacter' kismet action *

OnToggle[edit]

event OnToggle (SeqAct_Toggle Action)

For testing merging - when toggled - create new merged skeletal mesh and assign to place SkeletalMeshActor.

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick