B
Balrog_111
31.07.20 12:01 pm
How to add the Sauron explosion when he dies. (The Lord of the Rings: The Battle for Middle-earth 2)
Hello! Now I will write how to add the Sauron explosion when he dies.Although he has the explosion, but the explosion is not beautiful and doesn't kill anyone .
But to fix it, do it
Open INI.big go to evilfactionunits.ini and to quickly find Sauron press CTRL+F pop-up window write Shockwavefinal(so soon it will be Poisk) after we moved in inik Sauron see there the following lines
Code
Behavior = SlowDeathBehavior ModuleTag_06
DeathTypes = ALL
SinkDelay = 10000
SinkRate = 0.025 ; in Dist/Sec
; FX = INITIAL FX_SauronDeathBlast
; FX = INITIAL FX_SauronFinalDeath
Destructi 25000
End
Code
Death weapons for fall to left
Behavior = FireWeaponWhenDeadBehavior ModuleTag_11
RequiredStatus = DEATH_3
StartsActive = Yes
The delaytime is = 1500
DeathWeapon = MordorSauronShockwaveFinal
Weap X:0 Y:42 Z:0
End
These generally do not touch (They need to be removed or removed can be supplied ; a semicolon before each line ).
And put this code.
Code
Behavior = SlowDeathBehavior ModuleTag_SlowDeath
DeathTypes = ALL
SinkDelay = 5000
SinkRate = 10.0 ; in Dist/Sec - fast!
Destructi 1800
Weapon = FINAL MordorSauronShockwaveFinal
End
If you notice
Weapon= FINAL MordorSauronShockwaveFinal(it's like a weapon, but it's not quite the reference to the Weapon.ini.
And another thing about the INITIAL and FINAL
It's like the first time but not really if you put the INITIAL explosion appears to fall in the lap of Sauron
If you put the FINAL explosion will appear after the fall of Sauron ).
You must now configure Weapon. ini Weapon namely MordorSauronShockwaveFinal . How to find I have already written above. Now it's all copy and paste after the line
Weapon MordorSauronShockwaveFinal
Code
AttackRange = GANDALF_WORD_OF_POWER_RANGE
MinimumAttackRange = 0.8
Weap 401 ; dist/sec
MinWeap 241
MaxWeap 601 ; dist/sec Upper limit on scaling, when attacking past nominal max range
ScaleWeap Yes ; Used for lob weapons, scales speed proportional to range
;RadiusDamageAffects = ENEMIES NOT_SIMILAR
DelayBetweenShots = 5000 ; time between shots, msec
PreAttackDelay = 2600
PreAttackType = PER_ATTACK ; Do the delay each time we attack a new target
PreAttackFX = FX_GandalfPreAttackBlast
FireFX = FX_GandalfBlast ;FX_SauronDeathBlast
FiringDuration = 1400
DamageNugget ; A basic Nugget that just does damage
Damage = 1000
Radius = 1000.0
The delaytime is = 0
DamageType = FORCE
DeathType = NORMAL
End
MetaImpactNugget ; A Nugget that throws things back with force
HeroResist = .75
ShockWaveAmount = 45.0
ShockWaveRadius = 500.0
ShockWaveTaperOff = 1.0
End
End
(Why I put the point of a comma on this line
;RadiusDamageAffects = ENEMIES NOT_SIMILAR
this code responds to the fact that when Sauron explodes and kills its enemies(the explosion kills her when the point of a comma set)).
You can change the Animation and Texture of the Explosion, but to simplify I took Animation Word Power Gandalf. Now when Sauron Dies he has a Blue burst.
Author: SCORPION_UMKT33 aka Balrog_111 do NOT COPY!!!!
if so then I apologise.