Advertising
- Stuff
- Thursday, May 10th, 2012 at 12:27:04pm MDT
- /*******************************************************************************
- UT_test_AI
- Creation date: 21/04/2011 17:19
- Copyright (c) 2011, Reiss
- <!-- $Id: NewClass.uc,v 1.1 2004/03/29 10:39:26 elmuerte Exp $ -->
- *******************************************************************************/
- class UT_FBX_Soldier extends UTPawn;
- // members for the custom mesh
- var SkeletalMesh defaultMesh;
- var MaterialInterface defaultMaterial0;
- var AnimTree defaultAnimTree;
- var array<AnimSet> defaultAnimSet;
- var AnimNodeSequence defaultAnimSeq;
- var PhysicsAsset defaultPhysicsAsset;
- simulated function SetCharacterClassFromInfo(class<UTFamilyInfo> Info)
- {
- Mesh.SetSkeletalMesh(defaultMesh);
- Mesh.SetMaterial(0,defaultMaterial0);
- Mesh.SetPhysicsAsset(defaultPhysicsAsset);
- Mesh.AnimSets=defaultAnimSet;
- Mesh.SetAnimTreeTemplate(defaultAnimTree);
- }
- defaultproperties
- {
- defaultMesh=SkeletalMesh'FBXCharacters.FBXSoldierFinal'
- defaultAnimTree=AnimTree'CH_AnimHuman_Tree.AT_CH_Human'
- defaultAnimSet(0)=AnimSet'CH_AnimHuman.Anims.K_AnimHuman_BaseMale'
- defaultPhysicsAsset=PhysicsAsset'CH_AnimCorrupt.Mesh.SK_CH_Corrupt_Male_Physics'
- Begin Object Name=WPawnSkeletalMeshComponent
- AnimTreeTemplate=AnimTree'CH_AnimHuman_Tree.AT_CH_Human'
- End Object
- }
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.