Jump to content


Photo

BFME2 ROTWK: Problem with adding audio to a unit


  • Please log in to reply
3 replies to this topic

#1 SicKnight

SicKnight
  • New Members
  • 2 posts

Posted 19 December 2016 - 08:04 PM

Hello guys

I am SicKnight

 

I recently tried to add audio to a unit who doesn't have one

but unfortunately the only thing i got was complete silence.

 

so i'm looking for a tutorial or something that can give me an idea about where i'm going wrong...

 

I'm totally new to this audio-modding stuff and i don't even have so much experience in modding...

That's why i'm asking to you!

 

Thanks in advice.

SicKnight

 

P.S: I'm so sorry about my bad english, this is the first time i'm writing into a forum and i don't even speak english very well



#2 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,470 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 27 December 2016 - 02:57 AM

MOD\data\audio\sounds

 

Create a folder named audio , then sounds folder .. add to data folder 

Add in wmv format sounds 

galadriel1.wmv

Goth_5.wmv

 

now to reference the sounds in the game 

In voice.ini file

 

 
AudioEvent Galadriel_super
  Sounds      = galadriel1
    Priority = critical
  Limit     = 1
  Volume      = 130
  MinRange = 500
  MaxRange = 1000
  Type        = world shrouded everyone enemies allies voice
  SubmixSlider = voice
End
 
AudioEvent Goth_5
  Sounds =  goth_5
  Volume = #ADD( UNIT_RESPONSE_VOLUME -5 )
  MinVolume = #ADD( UNIT_RESPONSE_MINVOLUME -5 )
  Priority = high
  Type = world player voice
  SubmixSlider = voice
End 
 
last step
 
CommandButton  Command_MountSUPER_GALADRIEL
  Command               = SPECIAL_POWER
  SpecialPower          = SpecialAbilityToggleMounted
 TextLabel             =   CONTROLBAR:TheOneRing 
  DescriptLabel           =    CONTROLBAR:MaxRingPower
  Options = TOGGLE_IMAGE_ON_WEAPONSET ON_GROUND_ONLY OK_FOR_MULTI_EXECUTE
  FlagsUsedForToggle = MOUNTED
  ButtonImage           =  HIGaladriel  
  ButtonBorderType      = ACTION   
  InPalantir            = Yes  
  UnitSpecificSound     =   Galadriel_super    ;GaladrielVoiceTerribleFury
End
 
 
VoiceSelect = Goth_1
VoiceSelectBattle = Goth_1
VoiceRetreatToCastle =  Goth_5
 
 

Summary ;

you can add voices to a unit , I extracted Gotmog and Galadriel from the movies to get a realistic version of them .



#3 SicKnight

SicKnight
  • New Members
  • 2 posts

Posted 28 December 2016 - 10:18 PM

That's strange...i've already done every single step just as you did but it isn't working...

 

But...are you sure about the wmv format?

The vanilla sounds into vanilla voice.ini are all 16-bit mono in WAV format

and not WMV...

 

Anyway, thank you so much!


Edited by SicKnight, 28 December 2016 - 11:05 PM.


#4 Symonius

Symonius
  • Members
  • 25 posts
  • Location:The ancient shield
  • Projects:TROW Mod
  •  Just a winged modder

Posted 19 January 2017 - 12:05 PM

JUS_SAURON is the MOD folder the one with the AssetCacheBuilder?


"All we have to decide is what to mod with the time that is given us"





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users