NPC my way

I created a folder  in Development/Src called B_GiacomettiNPC

inside is a Classes folder with 2 scripts:
GiacomettiNPCController.uc
GiacomettiNPCPawn.uc

using the code in the 2 posts below CustomNPCPawn, CustomNPCController.

In DefaultEngineUDK.ini under [UnrealEd.EditorEngine]
i added
ModEditPackages=B_GiacomettiNPC

to get it to compile.

then once compiled in the editor look in the actor class under pawn to see the pawn which can be dropped in the level. *nb* its crucial in GiacomettiNPCPawn that the first line is exactly so

class GiacomettiNPCPawn extends UTPawn

placeable;

and that later on the position of the last bracket doesnt change so it like here:

Begin Object Class=SkeletalmeshComponent Name=NPCMesh0

SkeletalMesh=SkeletalMesh’B_Characters.GiacomettiFemale’

PhysicsAsset=PhysicsAsset’B_Characters.GiacomettiFemale_Physics’

AnimSets(0)=AnimSet’B_Characters.GiacomettiFemale_Anims’

AnimtreeTemplate=AnimTree’B_Characters.GiacomettiFemaleAnimTree’{

this info comes from here:

http://udn.epicgames.com/Three/CharactersTechnicalGuide.html