I don't need to test my programs. I have an error-correcting modem.

UE3:UTCustomChar_Preview (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 01:06, 26 July 2008 by Wormbo (Talk | contribs) (1 revision)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Property group 'UTCustomChar_Preview'

AnimComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyAnimComp'

ArmsComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyArmsComp'

BootsComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyBootsComp'

Character

Type: UTCustomChar_Data.CharacterInfo

Info about character currently being used.

Default value:

Member Value
AIData
Member Value
Aggressiveness 0.4
CombatStyle 0.2

CharLightingChannels

Type: LightComponent.LightingChannelContainer

Used for easily setting

FacemaskComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyFacemaskComp'

GogglesComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyGogglesComp'

HeadComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyHeadComp'

HelmetComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyHelmetComp'

LShoPadComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyLShoPadComp'

MergeState

Type: UTCustomChar_Data.CustomCharMergeState


RShoPadComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyRShoPadComp'

TestMergeActor

Type: SkeletalMeshActor


TestMIC

Type: MaterialInstanceConstant


TestMIC2

Type: MaterialInstanceConstant


TestMIC3

Type: MaterialInstanceConstant


ThighsComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyThighsComp'

TorsoComp

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'MyTorsoComp'

UseForFaction

Type: string

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

Internal variables

FamilyAssets

Type: UTCharFamilyAssetStore


Default values

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

MyAnimComp

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

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyBootsComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyFacemaskComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyGogglesComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyHeadComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyHelmetComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyLShoPadComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyRShoPadComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyThighsComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

MyTorsoComp

Class: Engine.SkeletalMeshComponent

Property Value
ParentAnimComponent SkeletalMeshComponent'UTGame.Default__UTCustomChar_Preview:MyAnimComp'

Functions

Native functions

NotifyCharacterDataChanged

native function NotifyCharacterDataChanged ()

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

SetCharacter

native function SetCharacter (string InFaction, string InCharID)

Set the entire preview character to a specified profile.

SetCharacterData

native function SetCharacterData (UTCustomChar_Data.CustomCharData InCharData)

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

SetPart

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

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

Events

OnSetCustomCharPart

event OnSetCustomCharPart (UTSeqAct_SetCustomCharPart Action)

Handler for 'SetCustomCharPart' kismet action *

OnSetCustomCharProfile

event OnSetCustomCharProfile (UTSeqAct_SetCustomCharProfile Action)

Handler for 'SetCustomCharCharacter' kismet action *

OnToggle

event OnToggle (SeqAct_Toggle Action)

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

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick