The 3rd Age

The Horse Lords

The Horse Lords

A mod intended to enhance The Rise of the Witch King and add a new campaign

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Restore Gimli Dwarven Grudge ability

Tutorial for Battle for Middle-earth BFME, Battle for Middle-earth II BFME 2, Battle for Middle-earth II: Rise of the Witch-king ROTWK

Avatar of Miraak5

Miraak5

Category: Code
Level: Intermediate
Created: Tuesday January 19, 2016 - 18:14
Updated: Friday January 12, 2018 - 11:44
Views: 2828
Summary: Restore the ability dwarven grudge for gimli removed by EA

Rating

Staff says

-

Members say

-

Average

-

0 votes

In this guide i will show you how to restore gimli dwarven grudge

Go in the command button and find the block Command_FakeButtonDwarvenGrudge
replace all the DwarvenGrudge block with this one    

CommandButton Command_FakeButtonDwarvenGrudge    
Command = SPECIAL_POWER    
SpecialPower = SpecialAbilityDwarvenGrudge    
Options = NONPRESSABLE    
TextLabel = CONTROLBAR    DwarvenGrudge
ButtonImage = HSGimliDwarvenGrudge    
RadiusCursorType = TrainingRadiusCursor    
Upgrade = Upgrade_GimliFreeLife    
ButtonBorderType = ACTION    
DescriptLabel = CONTROLBAR    DwarvenGrudgeDescription
InPalantir = Yes    
End    

in command set    
add this line to gimli command set    Command_FakeButtonDwarvenGrudge

in gimli.ini    
check the bottom of the page to find this:
    
;; REMOVED - DWARVEN GRUDGE ABILITY (replaced with RespawnBody)    
; Body = FreeLifeBody ModuleTag_FreeLifeBody ;FreeLifeBody is a variation of RespawnBody    
; CheerRadius = EMOTION_CHEER_RADIUS    
; MaxHealth = GIMLI_HEALTH ;BALANCE Gimli Health    
;    
; FreeLifeHealthPercent = 50 ;percentage of MaxHealth health to recover    
; FreeLifeTime = 10000 ;amount of time until we can rise from the dead again    
; FreeLifeInvincible = Yes    
; FreeLifePrerequisiteUpgrade = Upgrade_GimliFreeLife    
; FreeLifeAnimAndDuration = AnimState    EMOTION_CELEBRATING AnimTime:3000
; PermanentlyKilledByFilter = NONE ;Who kills me permanently?    
; DodgePercent = HERO_DODGE_PERCENT    
; End    

Body = RespawnBody ModuleTag_RespawnBody    
CheerRadius = EMOTION_CHEER_RADIUS    
MaxHealth = GIMLI_HEALTH ;BALANCE Gimli Health    
PermanentlyKilledByFilter = NONE ;Who kills me permanently?    
DodgePercent = 80%    

Behavior = UnpauseSpecialPowerUpgrade ModuleTag_TheodenLeadership    
SpecialPowerTemplate = SpecialAbilityFakeLeadership    
TriggeredBy = Upgrade_GimliFreeLife    

Behavior = SpecialPowerModule ModuleTag_TheodenLeadershipUpdate    
SpecialPowerTemplate = SpecialAbilityFakeLeadership    
UpdateModuleStartsAttack = No    
StartsPaused = Yes    


replace all with this:
    
;; REMOVED - DWARVEN GRUDGE ABILITY (replaced with RespawnBody)
Body = FreeLifeBody ModuleTag_FreeLifeBody ;FreeLifeBody is a variation of RespawnBody
CheerRadius = EMOTION_CHEER_RADIUS
MaxHealth = GIMLI_HEALTH ;BALANCE Gimli Health

FreeLifeHealthPercent = 50 ;percentage of MaxHealth health to recover
FreeLifeTime = 100000 ;amount of time until we can rise from the dead again
FreeLifeInvincible = Yes
FreeLifePrerequisiteUpgrade = Upgrade_GimliFreeLife
FreeLifeAnimAndDuration = AnimState:EMOTION_CELEBRATING AnimTime:3000
PermanentlyKilledByFilter = NONE ;Who kills me permanently?
DodgePercent = 80%
End

; Body = RespawnBody ModuleTag_RespawnBody
; CheerRadius = EMOTION_CHEER_RADIUS
; MaxHealth = GIMLI_HEALTH ;BALANCE Gimli Health
; PermanentlyKilledByFilter = NONE ;Who kills me permanently?
; DodgePercent = 80%
; End

Behavior = UnpauseSpecialPowerUpgrade ModuleTag_TheodenLeadership
SpecialPowerTemplate = SpecialAbilityDwarvenGrudge
TriggeredBy = Upgrade_GimliFreeLife
End

Behavior = SpecialPowerModule ModuleTag_TheodenLeadershipUpdate
SpecialPowerTemplate = SpecialAbilityDwarvenGrudge
UpdateModuleStartsAttack = No
StartsPaused = Yes
End    

in specialpower.ini    
add this:    

SpecialPower SpecialAbilityDwarvenGrudge    
Enum = SPECIAL_FAKE_LEADERSHIP_BUTTON    
ReloadTime = 1 ; in milliseconds    
;PalantirMovie = PalantirAlert_RohanReinforcements    

in experiencelevels.ini    

find gimli level block and in the level if you choose for exemple level 4 add this line inside    
Upgrades = Upgrade_GimliFreeLife    

Now the power is fully restored    
this power allow gimli to get back 50% of is health when his is suposed to die, the ennemy have a limit of time to kill him again if the ennemy manage to do it he dies an he must be respawned in the fortress or citadel    

Credits

Me & EA

Comments

Display order: Newest first

Echo - Monday September 10, 2018 - 6:21

In case anyone still reads this: there's a bug with this ability that Gimli will no longer grant XP when killed. Found no fix to this until now. That's probably why it didn't make it in the official release. Nice tutorial.

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
9:23:49