voici la manip´ pour avoir tout les pouvoirs de sauron ( ca a jms marché avec moi mais si ya des motivé parmi vous pour le faire)
This would go in the evilfactionunits file under Sauron:
Behavior = OCLSpecialPower ModuleTag_RainOfFireUpdate
SpecialPowerTemplate = SpecialAbilityRainOfFire
OCL = SUPERWEAPON_RainOfFire
CreateLocation = USE_OWNER_OBJECT
StartsPaused = No
SetModelCondition = ModelConditionState:SPECIAL_WEAPON_TWO
SetModelConditionTime = 8.1
End
This will go in system ini file:
Behavior = DeletionUpdate ModuleTag_04
MinLifetime = 20000
MaxLifetime = 20000
End
This will go in the commandbutton file:
; /// Sauron Rain of Fire Command
CommandButton Command_SauronRainOfFire
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityRainOfFire
TextLabel = CONTROLBAR:RainOfFire
ButtonImage = UCCatapult_Rock
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipRainOfFire
InPalantir = Yes
End
This will go in the commandset file:
6 = Command_SauronRainOfFire
Now it should look like this:
CommandSet MordorSpawnOrcs
1 = Command_SauronLeadership
2 = Command_SpawnOrcs
3 = Command_SpecialAbilityDominateEnemy
4 = Command_SpecialAbilityIsengardWizardBlast
5 = Command_SpecialAbilityWordOfPower
6 = Command_SauronRainOfFire
7 = Command_AttackMove
15 = Command_Guard
16 = Command_Stop
End
Add this to the specialpower ini file if you haven´t already:
SpecialPower SpecialAbilityRainOfFire
Enum = SPECIAL_RAIN_OF_FIRE
ReloadTime = 360000
PublicTimer = No
InitiateAtLocationSound = RainOfFireStart
End
Now in the weapon.ini file you must replace the original CINE_RainOfFireWarhead block with this:
Weapon CINE_RainOfFireWeaponWarhead
RadiusDamageAffects = ENEMIES NEUTRALS ALLIES NOT_SIMILAR
DamageNugget ; A basic Nugget that just does damage
Damage = 1
Radius = 20
DelayTime = 0
DamageType = FLAME
DamageFXType = FLAME
DeathType = BURNED
DamageScalar = 50000% NONE +MINE ; Make sure we one shot kill mines, without risking wasting some poor hero with a torch
End
DamageNugget ; A basic Nugget that just does damage
Damage = 100
Radius = 30
DelayTime = 0
DamageType = SIEGE
DamageFXType = BIG_ROCK
DeathType = EXPLODED
DamageScalar = 0% ANY ALLIES +STRUCTURE ; No damage to allied structures.
End
MetaImpactNugget ; A Nugget that throws things back with force
HeroResist = . 75
ShockWaveAmount = 50.0
ShockWaveRadius = 20.0
ShockWaveTaperOff = 0.75
End
End
That is how I made Rain of Fire playable with Sauron.