MyPawn.uc

class MyPawn extends UTPawn;

// ****************Mesh Attributes****************** //
var SkeletalMesh defaultMesh;
var MaterialInterface defaultMaterial0;
var AnimTree defaultAnimTree;
var array defaultAnimSet;
var AnimNodeSequence defaultAnimSeq;
var PhysicsAsset defaultPhysicsAsset;
var SkeletalMeshComponent VPawn;

//—————————————–FamilyClass
simulated function SetCharacterClassFromInfo(class Info)
{
Mesh.SetSkeletalMesh(defaultMesh);
Mesh.SetMaterial(0,defaultMaterial0);
Mesh.SetPhysicsAsset(defaultPhysicsAsset);
Mesh.AnimSets=defaultAnimSet;
Mesh.SetAnimTreeTemplate(defaultAnimTree);

}

defaultproperties
{
defaultMesh=SkeletalMesh’Vincent.Skeletal.Vincent’
defaultAnimTree=AnimTree’Vincent.Skeletal.Vincent_tree’
defaultAnimSet(0)=AnimSet’Vincent.Skeletal.Vincent_Anims’
defaultPhysicsAsset=PhysicsAsset’Vincent.Skeletal.Vincent_Physics’

}