Commit 6cfc2e05 authored by Excelsior's avatar Excelsior Committed by brabox

Several units will now use their ambush voice files as ambush eva announcements

parent fda8b460
...@@ -24,6 +24,7 @@ Sound Changes and Additions ...@@ -24,6 +24,7 @@ Sound Changes and Additions
- Added Oathbreaker die voice file. - Added Oathbreaker die voice file.
- Elrond's Restoration sound FX volume increased and can now be heard by all players. - Elrond's Restoration sound FX volume increased and can now be heard by all players.
- Several units will now use their ambush voice files as ambush eva announcements [Units include: Aragorn, Gimli, Frodo, Merry, Pippin, Gondor Soldiers, Gondor Archers, Gondor Knights, Tower Guards, Rohan Yeomen, Ithilien Rangers, Orc Archers, Easterlings, Urukhai and Uruk Crossbowmen].
Inn Inn
......
...@@ -4508,6 +4508,210 @@ NewEvaEvent UnitAmbushed ...@@ -4508,6 +4508,210 @@ NewEvaEvent UnitAmbushed
End End
End End
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;,; This is used for unit and horde specific ambush eva events ;,;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Special damaged event when I'm not in combat and enemy is stealthed
NewEvaEvent AragornAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = AragornVoiceAmbush
End
End
NewEvaEvent FrodoAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = FrodoVoiceAmbushed
End
SideSound
Side = Dwarves
Sound = FrodoVoiceAmbushed
End
End
NewEvaEvent GimliVoiceAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Dwarves
Sound = GimliVoiceAmbushed
End
End
NewEvaEvent GondorArcherAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = GondorArcherVoiceAmbushed
End
End
NewEvaEvent GondorKnightAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = KnightVoiceAmbush
End
End
NewEvaEvent GondorSoldierAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = GondorSoldierVoiceAmbushed
End
End
NewEvaEvent MerryAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = MerryVoiceAmbush
End
SideSound
Side = Men
Sound = Dwarves
End
End
NewEvaEvent OrcArcherAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Mordor
Sound = OrcArcherVoiceAmbushed
End
End
NewEvaEvent PippinAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = PippinVoiceAmbush
End
SideSound
Side = Dwarves
Sound = PippinVoiceAmbush
End
End
NewEvaEvent GondorRangerAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = RangerVoiceAmbushFormation
End
End
NewEvaEvent EasterlingAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Mordor
Sound = SoldierOfRhunVoiceAmbushed
End
End
NewEvaEvent GondorTowerGuardAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = TowerGuardVoiceAmbushed
End
End
NewEvaEvent CrossbowAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Isengard
Sound = UrukCrossbowmanVoiceAmbushed
End
End
NewEvaEvent UrukhaiAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Isengard
Sound = UrukWarriorVoiceAmbushed
End
End
NewEvaEvent YeomanAmbushed
Priority = 4
TimeBetweenEventsMS = 5000
ExpirationTimeMS = 5000
OtherEvaEventsToBlock = UnitUnderAttack UnitUnderAttackFromShroudedUnit
SideSound
Side = Men
Sound = YeomanArcherVoiceAmbushed
End
End
;;;;;;;;;;;;;;;;
;,; END ;,;
;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Another attack occurs, far away from the place where we played ; Another attack occurs, far away from the place where we played
......
...@@ -61,6 +61,8 @@ Object IsengardFighterHorde ...@@ -61,6 +61,8 @@ Object IsengardFighterHorde
End End
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = UrukhaiAmbushed ;,;
Body = ImmortalBody ModuleTag_ImmortalBody Body = ImmortalBody ModuleTag_ImmortalBody
MaxHealth = 1 MaxHealth = 1
...@@ -1133,6 +1135,8 @@ Object IsengardUrukCrossbowHorde ...@@ -1133,6 +1135,8 @@ Object IsengardUrukCrossbowHorde
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = CrossbowAmbushed ;,;
Body = ImmortalBody ModuleTag_ImmortalBody Body = ImmortalBody ModuleTag_ImmortalBody
MaxHealth = 1 MaxHealth = 1
End End
......
...@@ -354,6 +354,8 @@ Object MordorArcherHorde ...@@ -354,6 +354,8 @@ Object MordorArcherHorde
; Note: Don't put voice parameters here -- they will be ignored. Voice play requests ; Note: Don't put voice parameters here -- they will be ignored. Voice play requests
; are always passed through to members ; are always passed through to members
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = OrcArcherAmbushed ;,;
BuildCost = MORDOR_ARCHER_BUILDCOST BuildCost = MORDOR_ARCHER_BUILDCOST
BuildTime = MORDOR_ARCHER_BUILDTIME BuildTime = MORDOR_ARCHER_BUILDTIME
...@@ -1603,6 +1605,8 @@ Object MordorEasterlingHorde ...@@ -1603,6 +1605,8 @@ Object MordorEasterlingHorde
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
#include "..\..\..\includes\CaptureBuilding.inc" #include "..\..\..\includes\CaptureBuilding.inc"
EvaEventAmbushed = EasterlingAmbushed ;,;
Body = ImmortalBody ModuleTag_ImmortalBody Body = ImmortalBody ModuleTag_ImmortalBody
MaxHealth = 1 MaxHealth = 1
......
...@@ -40,6 +40,8 @@ Object GondorFighterHorde ...@@ -40,6 +40,8 @@ Object GondorFighterHorde
// Note: Don't put voice parameters here -- they will be ignored. Voice play requests // Note: Don't put voice parameters here -- they will be ignored. Voice play requests
// are always passed through to members // are always passed through to members
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = GondorRangerAmbushed ;,;
UnitSpecificSounds UnitSpecificSounds
VoiceDesperateAttack = GondorSoldierVoiceDesperateCharge VoiceDesperateAttack = GondorSoldierVoiceDesperateCharge
...@@ -447,6 +449,8 @@ Object GondorTowerShieldGuardHorde ...@@ -447,6 +449,8 @@ Object GondorTowerShieldGuardHorde
KindOf = SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT INFANTRY HORDE ARMY_SUMMARY MELEE_HORDE PIKE LARGE_RECTANGLE_PATHFIND KindOf = SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT INFANTRY HORDE ARMY_SUMMARY MELEE_HORDE PIKE LARGE_RECTANGLE_PATHFIND
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = GondorTowerGuardAmbushed ;,;
Body = ImmortalBody ModuleTag_ImmortalBody Body = ImmortalBody ModuleTag_ImmortalBody
MaxHealth = 1 MaxHealth = 1
End End
...@@ -774,6 +778,8 @@ Object GondorArcherHorde ...@@ -774,6 +778,8 @@ Object GondorArcherHorde
// Note: Don't put voice parameters here -- they will be ignored. Voice play requests // Note: Don't put voice parameters here -- they will be ignored. Voice play requests
// are always passed through to members // are always passed through to members
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = GondorArcherAmbushed ;,;
BuildCost = GONDOR_ARCHER_BUILDCOST BuildCost = GONDOR_ARCHER_BUILDCOST
...@@ -1094,6 +1100,8 @@ Object GondorRangerHorde ...@@ -1094,6 +1100,8 @@ Object GondorRangerHorde
// Note: Don't put voice parameters here -- they will be ignored. Voice play requests // Note: Don't put voice parameters here -- they will be ignored. Voice play requests
// are always passed through to members // are always passed through to members
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = GondorRangerAmbush ;,;
BuildCost = GONDOR_RANGER_BUILDCOST BuildCost = GONDOR_RANGER_BUILDCOST
...@@ -1505,6 +1513,8 @@ Object GondorKnightHorde ...@@ -1505,6 +1513,8 @@ Object GondorKnightHorde
// Note: Don't put voice parameters here -- they will be ignored. Voice play requests // Note: Don't put voice parameters here -- they will be ignored. Voice play requests
// are always passed through to members // are always passed through to members
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = GondorKnightAmbushed ;,;
BuildCost = GONDOR_KNIGHT_BUILDCOST BuildCost = GONDOR_KNIGHT_BUILDCOST
BuildTime = GONDOR_KNIGHT_BUILDTIME BuildTime = GONDOR_KNIGHT_BUILDTIME
......
...@@ -315,6 +315,8 @@ Object RohanArcherHorde ;YeomanArcher ...@@ -315,6 +315,8 @@ Object RohanArcherHorde ;YeomanArcher
; Note: Don't put voice parameters here -- they will be ignored. Voice play requests ; Note: Don't put voice parameters here -- they will be ignored. Voice play requests
; are always passed through to members ; are always passed through to members
#include "..\..\..\includes\StandardHordeEvaEvents.inc" #include "..\..\..\includes\StandardHordeEvaEvents.inc"
EvaEventAmbushed = YeomanAmbushed ;,;
CrushableLevel = 0 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles CrushableLevel = 0 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
......
...@@ -636,6 +636,8 @@ Object RohanGimli ...@@ -636,6 +636,8 @@ Object RohanGimli
CrowdResponseKey = DwarfHero CrowdResponseKey = DwarfHero
#include "..\..\..\Includes\StandardUnitEvaEvents.inc" #include "..\..\..\Includes\StandardUnitEvaEvents.inc"
EvaEventAmbushed = GimliVoiceAmbushed ;,;
EvaEventDieOwner = GimliDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths EvaEventDieOwner = GimliDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths
......
...@@ -463,6 +463,8 @@ Object GondorAragorn ...@@ -463,6 +463,8 @@ Object GondorAragorn
#include "..\..\..\includes\StandardUnitEvaEvents.inc" #include "..\..\..\includes\StandardUnitEvaEvents.inc"
EvaEventDieOwner = AragornDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths EvaEventDieOwner = AragornDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths
; For deaths you can respawn from, use the DeathFX ; For deaths you can respawn from, use the DeathFX
EvaEventAmbushed = AragornVoiceAmbush ;,;
Behavior = LargeGroupAudioUpdate ModuleTag_LGAU ; Tie into LargeGroupAudio system Behavior = LargeGroupAudioUpdate ModuleTag_LGAU ; Tie into LargeGroupAudio system
Key = Humanoid_Male Man Man_Male Unit Infantry Hero Key = Humanoid_Male Man Man_Male Unit Infantry Hero
......
...@@ -748,6 +748,8 @@ Object RohanFrodo ...@@ -748,6 +748,8 @@ Object RohanFrodo
#include "..\..\..\includes\StandardUnitEvaEvents.inc" #include "..\..\..\includes\StandardUnitEvaEvents.inc"
EvaEventDieOwner = FrodoDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths EvaEventDieOwner = FrodoDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths
EvaEventAmbushed = FrodoAmbushed ;,;
Behavior = LargeGroupAudioUpdate ModuleTag_LGAU ; Tie into LargeGroupAudio system Behavior = LargeGroupAudioUpdate ModuleTag_LGAU ; Tie into LargeGroupAudio system
Key = Humanoid_Male Hobbit Unit Infantry Key = Humanoid_Male Hobbit Unit Infantry
......
...@@ -910,6 +910,8 @@ Object RohanMerry ...@@ -910,6 +910,8 @@ Object RohanMerry
#include "..\..\..\includes\StandardUnitEvaEvents.inc" #include "..\..\..\includes\StandardUnitEvaEvents.inc"
EvaEventDieOwner = MerryDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths EvaEventDieOwner = MerryDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths
EvaEventAmbushed = MerryAmbushed ;,;
Behavior = LargeGroupAudioUpdate ModuleTag_LGAU ; Tie into LargeGroupAudio system Behavior = LargeGroupAudioUpdate ModuleTag_LGAU ; Tie into LargeGroupAudio system
Key = Humanoid_Male Hobbit Unit Infantry Key = Humanoid_Male Hobbit Unit Infantry
......
...@@ -822,6 +822,8 @@ Object RohanPippin ...@@ -822,6 +822,8 @@ Object RohanPippin
#include "..\..\..\includes\StandardUnitEvaEvents.inc" #include "..\..\..\includes\StandardUnitEvaEvents.inc"
EvaEventDieOwner = PippinDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths EvaEventDieOwner = PippinDie ;Eva event to trigger on unit's death. NOTICE THAT this is only for permanent deaths
EvaEventAmbushed = PippinAmbushed ;,;
ClientBehavior = AnimationSoundClientBehavior ModuleTag_AnimAudioBehavior ClientBehavior = AnimationSoundClientBehavior ModuleTag_AnimAudioBehavior
MaxUpdateRangeCap = 800 MaxUpdateRangeCap = 800
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment