I'm throwing in the towel as far as learning unrealscript is concerned, however, this dosen't mean the end. I've got so far, but I don't think i'll ever be able to make a voicepack like they used to be. Instead expect one with no autotaunts and an incomplete menu.
Basically, half a voicepack!
Unless: (Here is where i need expert help, this is my last shot so get your thinking caps on.
)
In the default properties of ...ExportedScript\UTGame\Classes\UTDrawCommandPanel.u c
we find this:
Code:
CategoryNames(0)=(Category="Order",FriendlyName="Orders")
CategoryNames(1)=(Category="Taunt",FriendlyName="Taunts")
CategoryNames(2)=(Category="Status",FriendlyName="Status")
So i create a UTDrawCommandPanel_myvoicepack.uc and add the line:
Code:
CategoryNames(3)=(Category="Friendly",FriendlyName="Friendly")
then, I add the following to the UTFamilyInfo.uc_myvoicepack.uc:
Code:
FamilyEmotes(16)=(CategoryName="Friendly",EmoteTag="FriendlyA",EmoteName="apple",EmoteAnim="Taunt_UB_Flag_Pickup",bTopHalfEmote=True) FamilyEmotes(17)=(CategoryName="Friendly",EmoteTag="FriendlyB",EmoteName="orange",EmoteAnim="Taunt_UB_Flag_Pickup",bTopHalfEmote=True)
FamilyEmotes(18)=(CategoryName="Friendly",EmoteTag="FriendlyC",EmoteName="pear",EmoteAnim="Taunt_UB_Flag_Pickup",bTopHalfEmote=True)
FamilyEmotes(19)=(CategoryName="Friendly",EmoteTag="FriendlyD",EmoteName="peach",EmoteAnim="Taunt_UB_Flag_Pickup",bTopHalfEmote=True)
FamilyEmotes(20)=(CategoryName="Friendly",EmoteTag="FriendlyE",EmoteName="banana",EmoteAnim="Taunt_UB_Flag_Pickup",bTopHalfEmote=True)
FamilyEmotes(21)=(CategoryName="Friendly",EmoteTag="FriendlyF",EmoteName="coconut",EmoteAnim="Taunt_UB_Flag_Pickup",bTopHalfEmote=True)
In the UTVoice_myvoicepack.uc i add:
Code:
TauntAnimSoundMap(28)=(EmoteTag="FriendlyA",TauntSoundIndex=(28))
TauntAnimSoundMap(29)=(EmoteTag="FriendlyB",TauntSoundIndex=(29))
TauntAnimSoundMap(30)=(EmoteTag="FriendlyC",TauntSoundIndex=(30))
TauntAnimSoundMap(31)=(EmoteTag="FriendlyD",TauntSoundIndex=(31))
TauntAnimSoundMap(32)=(EmoteTag="FriendlyE",TauntSoundIndex=(32))
TauntAnimSoundMap(33)=(EmoteTag="FriendlyF",TauntSoundIndex=(33))
The friendly fire sounds are in the taunt folder, i've tried to reference them there, 
Then i move to the UTGame\Published\CookedPC\CustomChars and create a file called utgame.int and add this:
Code:
[UTFamilyInfo_myvoicepack]
FamilyEmotes[16]=(EmoteName="apple")
FamilyEmotes[17]=(EmoteName="orange")
FamilyEmotes[18]=(EmoteName="pear")
FamilyEmotes[19]=(EmoteName="peach")
FamilyEmotes[20]=(EmoteName="banana")
FamilyEmotes[21]=(EmoteName="coconut")
[UTDrawCommandPanel_myvoicepack]
CategoryNames[3]=(FriendlyName="Friendly")
I added relevent info to UTCustomChar.ini
I compile the script using Unreal Frontend, make sure the files are in the right places, and guess what!...
It dosen't work.
Instead, although the friendly menu appears, I get a '1' symbol where the names should be, and for some strange reason a russian taunt name appears on the taunt menu?!
As for the autotaunt problem, i think we need to enlist the help of rocket scientists.
Last hope
Syex
Bookmarks