I have been working on a custom model for Unreal Tournament 99 for a while now, and so far I have got everything I need: custom player model, skin pack, talk texture, etc. It is working well, but the only thing I havent manage to mke it work is the bot of this model.
I have read many tutorials, but at worse the bot doesnt load and at best the bot load but it is invisible in game giving me the following errors in the log:
Code: Select all
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.TweenToRunning:0119) TweenAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayLanded:00EB) GetAnimGroup: Sequence 'Fighter' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayLanded:014B) GetAnimGroup: Sequence 'Fighter' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayLanded:018C) TweenAnim: Sequence 'LandSmFr' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayLanded:0124) TweenAnim: Sequence 'LandSmFr' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.TweenToWaiting:00A5) GetAnimGroup: Sequence 'Fighter' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.TweenToWaiting:01E0) TweenAnim: Sequence 'StillSmFr' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunSm' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunLg' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayRunning:0237) LoopAnim: Sequence 'RunLg' not found in Mesh 'Lenna'
LennaBot DOM-Cinder.LennaBot0 (Function Botpack.HumanBotPlus.PlayLanded:0134) TweenAnim: Sequence 'LandLgFr' not found in Mesh 'Lenna'Code: Select all
class Lenna extends TournamentFemale;
#exec MESH MODELIMPORT MESH=Lenna MODELFILE=Models\Lenna.psk LODSTYLE=12
#exec ANIM IMPORT ANIM=Lenna ANIMFILE=Models\Lenna.psa COMPRESS=0.28 IMPORTSEQS=1
#exec MESH DEFAULTANIM MESH=Lenna ANIM=Lenna
#exec MESH ORIGIN MESH=Lenna X=0 Y=0 Z=135 YAW=192
#exec MESH WEAPONATTACH MESH=Lenna BONE="Bip01 R Hand"
#exec MESH WEAPONPOSITION MESH=Lenna YAW=120 PITCH=0 ROLL=128 X=1.0 Y=0.0 Z=0.0
#exec MESHMAP SCALE MESHMAP=Lenna X=0.3 Y=0.3 Z=0.3
#exec TEXTURE IMPORT NAME=JLenna1 FILE=Textures\Lenna1.pcx GROUP=Skins FLAGS=2
#exec MESHMAP SETTEXTURE MESHMAP=Lenna NUM=0 TEXTURE=JLenna1
#exec TEXTURE IMPORT NAME=LennaBelt FILE=Textures\Lenna5Lenna.pcx GROUP="Icons" GROUP="Icons" MIPS=OFF
#exec ANIM DIGEST ANIM=Lenna VERBOSE
#exec ANIM NOTIFY ANIM=Lenna SEQ=RunLG TIME=0.25 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=RunLG TIME=0.75 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=RunLGFR TIME=0.25 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=RunLGFR TIME=0.75 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=RunSM TIME=0.25 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=RunSM TIME=0.75 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=RunSMFR TIME=0.25 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=RunSMFR TIME=0.75 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=StrafeL TIME=0.25 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=StrafeL TIME=0.75 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=StrafeR TIME=0.25 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=StrafeR TIME=0.75 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=BackRun TIME=0.25 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=BackRun TIME=0.75 FUNCTION=PlayFootStep
#exec ANIM NOTIFY ANIM=Lenna SEQ=Dead1 TIME=0.7 FUNCTION=LandThump
#exec ANIM NOTIFY ANIM=Lenna SEQ=Dead2 TIME=0.9 FUNCTION=LandThump
#exec ANIM NOTIFY ANIM=Lenna SEQ=Dead3 TIME=0.45 FUNCTION=LandThump
#exec ANIM NOTIFY ANIM=Lenna SEQ=Dead4 TIME=0.6 FUNCTION=LandThump
#exec ANIM NOTIFY ANIM=Lenna SEQ=Dead7 TIME=0.7 FUNCTION=LandThump
#exec ANIM NOTIFY ANIM=Lenna SEQ=Dead8 TIME=0.7 FUNCTION=LandThump
#exec ANIM NOTIFY ANIM=Lenna SEQ=Dead9B TIME=0.8 FUNCTION=LandThump
#exec ANIM NOTIFY ANIM=Lenna SEQ=Dead11 TIME=0.57 FUNCTION=LandThump
#exec ANIM NOTIFY ANIM=Lenna SEQ=Challenge TIME=0.35 FUNCTION=PlayLoudStep
defaultproperties
{
DrawType=DT_Mesh
Mesh=Lenna
MultiSkins(0)=Texture'UTLennaTEST.JLenna1'
SelectionMesh="UTLennaTEST.SelectLenna"
}Code: Select all
class LennaBot extends FemaleBotPlus;
function ForceMeshToExist()
{
Spawn(class'Lenna');
}
defaultproperties
{
FaceSkin=0
TeamSkin1=1
TeamSkin2=2
DefaultSkinName="LennaSkinsGFL2.lenn"
DefaultPackage="LennaSkinsGFL2."
//LandGrunt=Sound'MaleSounds.(All).land10'
CarcassType=Class'Botpack.TFemale2Carcass'
SelectionMesh="UTLennaTEST.SelectLenna"
MenuName="Lenna Bot"
Mesh=Mesh'UTLennaTEST.Lenna'
}
Code: Select all
[Public]
Object=(Name=UTLennaTEST.Lenna,Class=Class,MetaClass=BotPack.TournamentPlayer,Description="404 Squad")
Object=(Name=UTLennaTEST.LennaBot,Class=Class,MetaClass=BotPack.Bot,Description="Lenna Bot")
Now like I say my player model works fine, on game and on the "Player settings".
But the Bot works but instead of the player model it is a weird mesh that hangs above where the bot model should be:

And, in the "bot settings" window, I have the correct model, but the skin is all messed up:

---------------------------------
What am I not seeing or what did I set wrong?
I have been searching for clues and reading tutorials or classes in the UnrealEd but I feel like Im just chasing my tail. Many just put: "ForceMeshToExist()" and others just have a big chunk of code, that I have copied and pasted into the bot class, but doesnt work.
Any help is appreciated.
Thanks!