First off, many thanks for all the posts here. As a result I've successfully been able to substitute the default bot mesh (SK_CH_LIAM_Cathode) for one of my own. However, the bots themselves do not spawn with and cannot pick up any weapons, and as a result, they are no threat to player. I've been picking through forums and trying to wrap my mind around the code as well, but I still cannot figure this out. Here's the code of my "MyPawn.uc" which is placed in UTGame > Classes directory.
Code:
class MyPawn extends GamePawn;
defaultproperties
{
Begin Object Class=DynamicLightEnvironmentComponent Name=MyLight0Environment
ModShadowFadeoutTime=0.25
MinTimeBetweenFullUpdates=0.2
AmbientGlow=(R=.01,G=.01,B=.01,A=1)
AmbientShadowColor=(R=0.15,G=0.15,B=0.15)
LightShadowMode=LightShadow_ModulateBetter
ShadowFilterQuality=SFQ_High
bSynthesizeSHLight=TRUE
End Object
Components.Add(MyLight0Environment)
Begin Object class=SkeletalMeshComponent Name=SkeletalMeshComponent0
CastShadow=true
bCastDynamicShadow=true
bOwnerNoSee=false
LightEnvironment=MyLight0Environment;
BlockRigidBody=true;
CollideActors=true;
BlockZeroExtent=true;
SkeletalMesh=SkeletalMesh'RWM_INSRG01_SingleTest.Mesh.RWM_INSRG01_Head_SingleTest'
PhysicsAsset=PhysicsAsset'CH_AnimCorrupt.Mesh.SK_CH_Corrupt_Male_Physics'
AnimSets(0)=AnimSet'CH_AnimHuman.Anims.K_AnimHuman_AimOffset'
AnimSets(1)=AnimSet'CH_AnimHuman.Anims.K_AnimHuman_BaseMale'
AnimTreeTemplate=AnimTree'CH_AnimHuman_Tree.AT_CH_Human'
LightingChannels=(bInitialized=True,Dynamic=True)
bHasPhysicsAssetInstance=True
End Object
Mesh=SkeletalMeshComponent0
Components.Add(SkeletalMeshComponent0)
}
Any and all help would be appreciated. Thx
Bookmarks