To be more specific...
I want to be able to assemble body parts in UDK similar to how it was done in UT3. Here is an example of a UTCustomChar.ini snippet that seems to assemble character parts:
Code:
Inside your UTCustomChar.ini you will need the following:
-------------------------------------------------------------------------
[UTGame.UTCustomChar_Data]
+Parts= (Part=PART_Head,ObjectName="CH_TutChar.Mesh.TutChar_head",PartID="TutChar_head",FamilyID="CHT")
+Parts= (Part=PART_Torso,ObjectName="CH_TutChar.Mesh.TutChar_torso",PartID="TutChar_torso",FamilyID="CHT")
+Parts= (Part=PART_Arms,ObjectName="CH_TutChar.Mesh.TutChar_arms",PartID="TutChar_arms",FamilyID="CHT")
+Parts= (Part=PART_Thighs,ObjectName="CH_CharTest.Mesh.CharTest_legs",PartID="TutChar_legs",FamilyID="CHT")
+Parts= (Part=PART_Boots,ObjectName="CH_TutChar.Mesh.TutChar_boots",PartID="TutChar_boots",FamilyID="CHT")
+Characters=(CharName="TutChar",Description="Custom Character",CharID="TutChar",Faction="IronGuard",
PreviewImageMarkup="<Images:UI_Portrait.Character. UI_Portrait_Character_TwinSouls_Male_Head03>",
CharData=(FamilyID="CHT",HeadID="TutChar_head",TorsoID="TutChar_torso",bHasLeftShoPad=false, bHasRightShoPad=false, ArmsID="TutChar_arms",
ThighsID="TutChar_legs", BootsID="TutChar_boots") , AIData=(Jumpiness=-0.4,StrafingAbility=-0.2,CombatStyle=0.5,FavoriteWeapon="UTGame.UTWeap_ RocketLauncher"))
+ModFamilies=TutChar.UTFamilyInfo_CH_TutChar
Now in the UTCharInfo.uc script I found this:
Code:
/**
* Copyright 1998-2009 Epic Games, Inc. All Rights Reserved.
* This object is used as a store for all character profile information.
*/
class UTCharInfo extends Object
native
config(CharInfo);
/** Aray of all complete character profiles, defined in UTCustomChar.ini file. */
var() config array<CharacterInfo> Characters;
So unless i'm missing something it seems like it should be possible to build a custom character from body parts but I'm not seeing how to tie everything togeather. Again, I have all my custom body parts in UDK with animations but I'm not sure how to wire them all up to get a character in the game.
Bookmarks