Jump to content


Photo

UnitSpecificSounds

how to define and add

  • Please log in to reply
No replies to this topic

#1 JUS_SAURON

JUS_SAURON

    El Shaddai

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

Posted 08 October 2017 - 11:56 AM

so this bit of code tell the game what sound to play when doing a special action




 UnitSpecificSounds
	VoiceGarrison        				= UrukPikemanVoiceGarrison
	VoiceEnterUnitSlaughterHouse		= UrukPikemanVoiceGarrisonSlaughterHouse
	VoiceEnterUnitEvilMenTransportShip	= UrukPikemanVoiceMoveMS
	VoiceEnterUnitMordorMumakil			= UrukPikemanVoiceMoveMS
	VoiceInitiateCaptureBuilding		= UrukPikemanVoiceMoveMS
  End


AudioEvent UrukPikemanVoiceGarrison
	Sounds = EUUruPi_voigara ; EUUruPi_voigarb
	Volume      = UNIT_RESPONSE_VOLUME
	MinVolume   = UNIT_RESPONSE_MINVOLUME
	Type        = world player voice
  SubmixSlider = voice
End

it is referenced in Voice.ini so you can add or delete any phrases

 

how do you add a new action event

e.g VoiceUnitEnterA_NEW_SPECIAL_STRUCTURE = UrukPikemanVoiceGarrisonNEW_CODE

 

I can edit the UrukPikemanVoiceGarrison , but I cannot define the action to the left

 

So If I wanted VoiceGoToHealWell or VoiceGoInsideATent etc this cannot be done

Seems hardcoded

 

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users