Commit 39d88af7 authored by Forlong's avatar Forlong

Convert several files from ISO-8859-15 to UTF-8

parent 7752b724
......@@ -1940,7 +1940,7 @@ CommandButton Command_SpecialAbilityWoundArrow
;UnitSpecificSound = FaramirRangerVoiceWoundingArrow
End
CommandButton Command_SpecialAbilityWoundArrow_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
CommandButton Command_SpecialAbilityWoundArrow_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Command = SPECIAL_POWER
WeaponSlot = SECONDARY
SpecialPower = SpecialAbilityWoundArrow_AI
......@@ -2446,7 +2446,7 @@ CommandButton Command_SpecialAbilityArrowStorm
DisableOnModelCondition = WEAPONLOCK_SECONDARY ; disable if currently using swords
End
CommandButton Command_SpecialAbilityArrowStorm_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
CommandButton Command_SpecialAbilityArrowStorm_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityArrowStorm_AI
Options = NEED_TARGET_POS CONTEXTMODE_COMMAND
......@@ -2523,7 +2523,7 @@ CommandButton Command_LegolasHawkStrike
DisableOnModelCondition = WEAPONLOCK_SECONDARY ; disable if currently using swords
End
CommandButton Command_LegolasHawkStrike_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
CommandButton Command_LegolasHawkStrike_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityHawkStrike_AI
Options = NEED_TARGET_ENEMY_OBJECT ; NEED_TARGET_NEUTRAL_OBJECT CONTEXTMODE_COMMAND
......@@ -2969,7 +2969,7 @@ CommandButton Command_GandalfShadowfax
UnitSpecificSound = GandalfShadowfaxWhistleMS GandalfShadowfaxWhistleMS ;;,;; GandalfVoiceDismountMS
End
CommandButton Command_GandalfShadowfaxDismount ;;,;; Slherokhh AI improvement. New commandbutton necessary so as not to automatically dismount too.
CommandButton Command_GandalfShadowfaxDismount ;;,;; Sûlherokhh AI improvement. New commandbutton necessary so as not to automatically dismount too.
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityToggleMountedTwo
TextLabel = CONTROLBAR:TheodenMount
......@@ -3541,7 +3541,7 @@ CommandButton Command_GoblinKingMountScorpion
UnitSpecificSound = GoblinKingVoiceMountMS GoblinKingVoiceMountMS ;;,;; GoblinKingVoiceDismountMS
End
CommandButton Command_GoblinKingDismountScorpion ;;,;; Slherokhh AI improvement. New commandbutton necessary so as not to automatically dismount too.
CommandButton Command_GoblinKingDismountScorpion ;;,;; Sûlherokhh AI improvement. New commandbutton necessary so as not to automatically dismount too.
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityToggleMountedTwo
TextLabel = CONTROLBAR:GoblinKingMount
......@@ -19315,4 +19315,4 @@ End
//------------------- CREATE A HERO END ----------------------------
//**************************************************************************************************************************
//**************************************************************************************************************************
//**************************************************************************************************************************
\ No newline at end of file
//**************************************************************************************************************************
......@@ -2398,8 +2398,8 @@ CommandSet RohanLegolasCommandSet
3 = Command_SpecialAbilityTrainArchersLegolas ;;,;; Command_LegolasKnifeFightingMode
4 = Command_LegolasKnifeFightingMode ;;,;; Command_SpecialAbilityTrainArchersLegolas ;;,;; Command_SpecialAbilityTrainArchers
5 = Command_SpecialAbilityArrowStorm
7 = Command_LegolasHawkStrike_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
8 = Command_SpecialAbilityArrowStorm_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
7 = Command_LegolasHawkStrike_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
8 = Command_SpecialAbilityArrowStorm_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
12 = Command_CaptureBuilding
13 = Command_AttackMove
14 = Command_Stop
......@@ -5759,7 +5759,7 @@ CommandSet MordorMouthOfSauronCommandSet
18 = Command_SetStanceHoldGround
End
CommandSet MordorMouthOfSauronCommandSetMounted ;;,;; Slherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
CommandSet MordorMouthOfSauronCommandSetMounted ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
1 = Command_ToggleStance
2 = Command_DismountHorseMouthOfSauron ; Command_MountHorseMouthOfSauron
3 = Command_MouthOfSauronDoubt
......@@ -5804,7 +5804,7 @@ CommandSet GondorGandalfCommandSet
18 = Command_SetStanceHoldGround
End
CommandSet GondorGandalfMountedCommandSet ;;,;; Slherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
CommandSet GondorGandalfMountedCommandSet ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
1 = Command_ToggleStance
2 = Command_SpecialAbilityWizardBlast
3 = Command_GondorGandalfLightningSword
......@@ -5826,7 +5826,7 @@ CommandSet GondorFaramirCommandSet
4 = Command_ToggleMounted
5 = Command_FaramirFakeLeadershipButton
6 = Command_SpecialAbilityCaptainOfGondor
7 = Command_SpecialAbilityWoundArrow_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
7 = Command_SpecialAbilityWoundArrow_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
12 = Command_CaptureBuilding
13 = Command_AttackMove
14 = Command_Stop
......@@ -8070,7 +8070,7 @@ End
CommandSet MountedWildGoblinKingCommandSet ; Mounted version.
1 = Command_ToggleStance
2 = Command_GoblinKingMountedSkullTotem
3 = Command_GoblinKingDismountScorpion ; Command_GoblinKingMountScorpion ;;,;; Slherokhh AI improvement. New commandbutton necessary so as not to automatically dismount too.
3 = Command_GoblinKingDismountScorpion ; Command_GoblinKingMountScorpion ;;,;; Sûlherokhh AI improvement. New commandbutton necessary so as not to automatically dismount too.
4 = Command_GoblinKingFakeLeadershipButton
5 = Command_GoblinKingPoisonedStinger
6 = Command_GoblinKingCallFromTheDeep
......@@ -8255,4 +8255,4 @@ CommandSet EreborGateTowerCommandSet
5 = Command_ExitGarrison
6 = Command_Sell
12 = Command_Evacuate ;;.;; Added
End
\ No newline at end of file
End
......@@ -274,7 +274,7 @@ Object DefaultThingTemplate
End
End
InheritableModule ;;,;; Slherokhh's method of designating an object as being under the AI's control. Lets us fix some bugs with the AI.
InheritableModule ;;,;; Sûlherokhh's method of designating an object as being under the AI's control. Lets us fix some bugs with the AI.
Behavior = ObjectCreationUpgrade ModuleTag_IamAI
TriggeredBy = Upgrade_EasyAISinglePlayer Upgrade_EasyAIMultiPlayer Upgrade_MediumAISinglePlayer Upgrade_MediumAIMultiPlayer Upgrade_HardAISinglePlayer Upgrade_HardAIMultiPlayer Upgrade_BrutalAISinglePlayer Upgrade_BrutalAIMultiPlayer
Delay = 500
......
......@@ -1065,16 +1065,16 @@ Object AngmarWitchking ;BALANCE WitchKing
ScanInterval = 2000
End
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
WeaponSetFlags = MOUNTED
WeaponToggleCommandSet = AngmarWitchKingMountedCommandSet
End
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerMount
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_MountHorseAngmarWitchKing
End
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerDismount
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_DismountHorseAngmarWitchKing
......
......@@ -797,16 +797,16 @@ Object MordorMouthOfSauron
AwardXPForTriggering = 0
End
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
WeaponSetFlags = MOUNTED
WeaponToggleCommandSet = MordorMouthOfSauronCommandSetMounted
End
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerMount
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_MountHorseMouthOfSauron
End
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerDismount
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_DismountHorseMouthOfSauron
......
......@@ -1090,12 +1090,12 @@ Object WildGoblinKing
WeaponSetFlags = MOUNTED
WeaponToggleCommandSet = MountedWildGoblinKingCommandSet
End
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerMount Upgrade_ObjectLevel3
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_GoblinKingMountScorpion
End
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerDismount Upgrade_ObjectLevel3
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_GoblinKingDismountScorpion
......
......@@ -995,16 +995,16 @@ Object ElvenGlorfindel
AwardXPForTriggering = 0
End
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
WeaponSetFlags = MOUNTED
WeaponToggleCommandSet = ElvenGlorfindelCommandSetMounted
End
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerMount
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_MountHorseGlorfindel
End
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerDismount
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_DismountHorseGlorfindel
......@@ -1079,4 +1079,4 @@ Object ElvenGlorfindel
ShadowSizeX = 20
ShadowSizeY = 20
ShadowTexture = ShadowI
End
\ No newline at end of file
End
......@@ -868,7 +868,7 @@ Object RohanLegolas
Query = 1 ALL ENEMIES -STRUCTURE -WALL_UPGRADE -WALL_HUB -WALL_SEGMENT -DEFENSIVE_WALL -FS_BASE_DEFENSE ;;,;; ;;;
End
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_HawkStrikeEnabler_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_HawkStrikeEnabler_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
SpecialPowerTemplate = SpecialAbilityHawkStrike_AI
TriggeredBy = Upgrade_LegolasHawkStrike Upgrade_ObjectUnderAIControl
RequiresAllTriggers = Yes
......@@ -966,7 +966,7 @@ Object RohanLegolas
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_ArrowWindEnabler
SpecialPowerTemplate = SpecialAbilityArrowStorm
TriggeredBy = Upgrade_LegolasArrowWind
ConflictsWith = Upgrade_ObjectUnderAIControl ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
ConflictsWith = Upgrade_ObjectUnderAIControl ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
End
Behavior = SpecialPowerModule ModuleTag_ArrowWindStarter
......@@ -1008,7 +1008,7 @@ Object RohanLegolas
Query = 10 ALL ENEMIES -STRUCTURE -WALL_UPGRADE -WALL_HUB -WALL_SEGMENT -DEFENSIVE_WALL -FS_BASE_DEFENSE
End
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_ArrowWindEnabler_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_ArrowWindEnabler_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
SpecialPowerTemplate = SpecialAbilityArrowStorm_AI
TriggeredBy = Upgrade_LegolasArrowWind Upgrade_ObjectUnderAIControl
RequiresAllTriggers = Yes
......
......@@ -1233,16 +1233,16 @@ Object RohanEowyn
CancelDisguiseWhenDismounting = Yes
End
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
WeaponSetFlags = MOUNTED
WeaponToggleCommandSet = RohanEowynCommandSetMounted
End
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerMount Upgrade_MountEowyn
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_MountHorseEowyn
End
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerDismount Upgrade_MountEowyn
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_DismountHorseEowyn
......@@ -1732,4 +1732,4 @@ ChildObject RohanEowynDisguised RohanEowyn
TriggeredBy = Upgrade_ElvenGift
ShowSubObjects = Forged_Blade
End
End
\ No newline at end of file
End
......@@ -1324,16 +1324,16 @@ Object GondorFaramir
AwardXPForTriggering = 0
End
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
Behavior = MonitorConditionUpdate ModuleTag_CommandSetSwapper ;;,;; Sûlherokhh AI improvement. New commandset necessary so as not to automatically dismount too.
WeaponSetFlags = MOUNTED
WeaponToggleCommandSet = GondorFaramirCommandSetMounted
End
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandMount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerMount Upgrade_FaramirKnightRangerToggle
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_ToggleMounted
End
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
Behavior = DoCommandUpgrade Module_DoCommandDismount ;;,;; Sûlherokhh AI improvement for smart mounting/dismounting.
TriggeredBy = Upgrade_ObjectUnderAIControl Upgrade_AITriggerDismount Upgrade_FaramirKnightRangerToggle
RequiresAllTriggers = Yes
GetUpgradeCommandButtonName = Command_ToggleDismountedFaramir
......@@ -1352,7 +1352,7 @@ Object GondorFaramir
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_UnpauseWoundArrow
SpecialPowerTemplate = SpecialAbilityWoundArrow
TriggeredBy = Upgrade_ObjectLevel2
ConflictsWith = Upgrade_ObjectUnderAIControl ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
ConflictsWith = Upgrade_ObjectUnderAIControl ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
End
Behavior = SpecialPowerModule ModuleTag_WoundArrow
SpecialPowerTemplate = SpecialAbilityWoundArrow
......@@ -1380,7 +1380,7 @@ Object GondorFaramir
Query = 1 ANY ENEMIES +MONSTER ;ALL ENEMIES -STRUCTURE -WALL_UPGRADE -WALL_HUB -WALL_SEGMENT -DEFENSIVE_WALL -FS_BASE_DEFENSE ;;,;; 1 ALL ENEMIES -STRUCTURE
End
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_UnpauseWoundArrow_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_UnpauseWoundArrow_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
SpecialPowerTemplate = SpecialAbilityWoundArrow_AI
TriggeredBy = Upgrade_ObjectLevel2 Upgrade_ObjectUnderAIControl
RequiresAllTriggers = Yes
......
......@@ -480,7 +480,7 @@ SpecialPower SpecialAbilityHawkStrike
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityHawkStrike_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
SpecialPower SpecialAbilityHawkStrike_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Enum = SPECIAL_AT_VISIBLE_OBJECT
ReloadTime = 45000 ;;,;; 30000
InitiateSound = LegolasHawkStrikeArrowShoot ;this plays when he fires, not when he targets
......@@ -553,7 +553,7 @@ SpecialPower SpecialAbilityArrowStorm
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityArrowStorm_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
SpecialPower SpecialAbilityArrowStorm_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Enum = SPECIAL_ARROW_STORM
ReloadTime = 180000 ;120000 ;;,;; 60000; in milliseconds
RadiusCursorRadius = 200.0 ;120.0 ;Changing this??? Don't, unless you are changing ArrowStormUpdate's TargetRadius. They need to match.
......@@ -701,7 +701,7 @@ SpecialPower SpecialAbilityWoundArrow
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWoundArrow_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
SpecialPower SpecialAbilityWoundArrow_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Enum = SPECIAL_WOUND_ARROW
ReloadTime = 60000 ;45000 ;60000 ;;,;; 30000 ; in milliseconds
; RadiusCursorRadius = 150.0
......@@ -2045,7 +2045,7 @@ SpecialPower FiresOfDoomSpecialPower
End
;------------------------------------------------------------------------------ ;;,;; Added for 3.0.3
SpecialPower FiresOfDoomSpecialPower_AI ;;,;; Slherokhh AI bugfix - prevents ability from being used when it shouldn't be
SpecialPower FiresOfDoomSpecialPower_AI ;;,;; Sûlherokhh AI bugfix - prevents ability from being used when it shouldn't be
Enum = SPECIAL_SPELL_BOOK_RAIN_OF_FIRE
RadiusCursorRadius = 200
ReloadTime = 240000 ; in milliseconds
......
......@@ -2259,7 +2259,7 @@ Upgrade Upgrade_BrutalAIMultiPlayer
Type = OBJECT
End
Upgrade Upgrade_ObjectUnderAIControl ;;,;; Slherokhh's method of designating an object as being under the AI's control. One upgrade is simpler than eight.
Upgrade Upgrade_ObjectUnderAIControl ;;,;; Sûlherokhh's method of designating an object as being under the AI's control. One upgrade is simpler than eight.
Type = OBJECT
End
......
......@@ -77,11 +77,11 @@
<Conditions>+USER_4</Conditions>
</ModelConditionEvent>
<ModelConditionEvent Name="OnSpecialEnemyNear"> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<ModelConditionEvent Name="OnSpecialEnemyNear"> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<Conditions>+SPECIAL_ENEMY_NEAR</Conditions>
</ModelConditionEvent>
<ModelConditionEvent Name="OnSpecialEnemyNotNear"> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<ModelConditionEvent Name="OnSpecialEnemyNotNear"> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<Conditions>-SPECIAL_ENEMY_NEAR</Conditions>
</ModelConditionEvent>
......@@ -174,8 +174,8 @@
<!-- <EventHandler EventName="DamageIncoming" ScriptFunctionName="GandalfConsiderUsingDefensePower" DebugSingleStep="false"/> -->
<EventHandler EventName="UsingSpecialOne" ScriptFunctionName="GandalfTriggerWizardBlast" DebugSingleStep="false"/>
<EventHandler EventName="OnDamaged" ScriptFunctionName="GandalfUseDefensePower" DebugSingleStep="false"/> <!-- Added for 2.0 from DC patch ;;,;; -->
<EventHandler EventName="OnSpecialEnemyNear" ScriptFunctionName="BecomeDismounted" DebugSingleStep="false"/> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<EventHandler EventName="OnSpecialEnemyNotNear" ScriptFunctionName="BecomeMounted" DebugSingleStep="false"/> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<EventHandler EventName="OnSpecialEnemyNear" ScriptFunctionName="BecomeDismounted" DebugSingleStep="false"/> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<EventHandler EventName="OnSpecialEnemyNotNear" ScriptFunctionName="BecomeMounted" DebugSingleStep="false"/> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
</EventList>
<EventList Name="SarumanFunctions" Inherit="BaseScriptFunctions">
......@@ -496,12 +496,12 @@
<!-- New functions for Angmar Witch King ;;.;; -->
<EventList Name="AngmarWitchKingFunctions" Inherit="BaseScriptFunctions">
<EventHandler EventName="BeScary" ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>
<EventHandler EventName="OnSpecialEnemyNear" ScriptFunctionName="BecomeDismounted" DebugSingleStep="false"/> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<EventHandler EventName="OnSpecialEnemyNotNear" ScriptFunctionName="BecomeMounted" DebugSingleStep="false"/> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<EventHandler EventName="OnSpecialEnemyNear" ScriptFunctionName="BecomeDismounted" DebugSingleStep="false"/> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<EventHandler EventName="OnSpecialEnemyNotNear" ScriptFunctionName="BecomeMounted" DebugSingleStep="false"/> <!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<EventHandler EventName="UsingSpecialOne" ScriptFunctionName="RadiateUncontrollableFear" DebugSingleStep="false" /> <!-- v3.0.1 HotWK -->
</EventList>
<!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<!-- Added for 2.1, Sûlherokhh AI ;;,;; -->
<EventList Name="GoblinKingFunctions" Inherit="BaseScriptFunctions">
<EventHandler EventName="OnSpecialEnemyNear" ScriptFunctionName="BecomeDismounted" DebugSingleStep="false"/>
<EventHandler EventName="OnSpecialEnemyNotNear" ScriptFunctionName="BecomeMounted" DebugSingleStep="false"/>
......
......@@ -757,16 +757,16 @@ function OnKennelWolfCreated(self) -- Added for 2.1, using this to show Dire Wol
ObjectHideSubObjectPermanently( self, "Glow", true )
end
function BecomeDismounted(self) -- Added for 2.1, Slherokhh AI ;;,;;
function BecomeDismounted(self) -- Added for 2.1, Sûlherokhh AI ;;,;;
ObjectRemoveUpgrade( self, "Upgrade_AITriggerMount" )
ObjectGrantUpgrade( self, "Upgrade_AITriggerDismount" )
end
function BecomeMounted(self) -- Added for 2.1, Slherokhh AI ;;,;;
function BecomeMounted(self) -- Added for 2.1, Sûlherokhh AI ;;,;;
ObjectRemoveUpgrade( self, "Upgrade_AITriggerDismount" )
ObjectGrantUpgrade( self, "Upgrade_AITriggerMount" )
end
function OnStarlightActivated(self) -- Added for 2.1 ;;,;;
ObjectBroadcastEventToEnemies( self, "BeUncontrollablyAfraid", 350 )
end
\ No newline at end of file
end
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