PDA

View Full Version : Pawns / NPC



Showster
11-11-2009, 06:33 AM
Hi Folks,

In the UT3 source I could create plenty of custom pawns with default skeletal mesh parameters to change between models. That seems to have been eaten by the code god in the sky.

Whats the best way to

1) Assign a mesh to a NPC

2) Assign a mesh to a player character

I really hate the multipart characters from UT3, so in the past I had a setup where the game match and controller would point to different pawn classes with the default skeletal mesh / material functions.

Thanks for your time and interest

Greg

mikepurvis
11-11-2009, 02:32 PM
I'm not sure where you want to do this, but if you extend UTPlayerController and use that for your player you can set it like this.



DefaultProperties
{
defaultMesh=SkeletalMesh'YourPackage_CharcterModel .Meshes.Model_skelMesh'
defaultMaterial0=MaterialInterface'YourPackage_Cha rcterModel.Materials.Model_Mat1'
defaultMaterial1=MaterialInterface'YourPackage_Cha rcterModel.Materials.Model_Mat2'
defaultAnimTree=AnimTree'YourPackage_CharcterModel .Anims.AnimTree'
defaultAnimSet(0)=AnimSet'YourPackage_CharcterMode l.Anims.Model_anims'
defaultPhysicsAsset=PhysicsAsset'YourPackage_Charc terModel.Meshes.Model_Physics'

}

Showster
11-11-2009, 06:30 PM
Yer I'm trying that, it seems as if many of those where removed from the source... I've tried using ut3 and udk source together and its kinda getting somewhere...

Thanks for the help :)


Some progress in this thread :)

http://forums.epicgames.com/showthread.php?t=707342&page=2