The 3rd Age

The Elven Alliance

The Elven Alliance

Adding a completely new Elven faction with unique units to the game

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

Editing Fear Levels Tutorial

Avatar of GothmogtheOrc

GothmogtheOrc

Category: Code
Level: Beginner
Created: Friday March 30, 2007 - 13:29
Updated: Saturday June 27, 2009 - 18:37
Views: 5807
Summary: Change the level at which soldiers stop fearing Nazgul and other monsters

Rating

Staff says

3.6

Members say

4.0

Average

3.7/5.0

10 votes

Editing Unit Fear Levels Tutorial

The following code removes fear from soldiers...you can now change what level they loose their fear, or how much fear they loose:

(In the GondorInfantry.ini)

              
Code
Behavior = AttributeModifierUpgrade ModuleTag_AMU
TriggeredBy = Upgrade_GondorFighterFearless
AttributeModifier = FearlessForever
End


(In AtributeModifier.ini)

              
Code
ModifierList FearlessForever
Category = LEADERSHIP
Modifier = RESIST_FEAR 100% ; Additive. Sum of these is a saving throw against fear
Duration = 0 ; Duration is forever when zero
End


(In ExperienceLevels.ini)

              
Code
ExperienceLevel GondorGenericLevel2
TargetNames = Gondor
RequiredExperience = 300
ExperienceAward = 0
Upgrades = Upgrade_GondorFighterFearless
AttributeModifiers = BasicLevelUpDamage1
Rank = 2
LevelUpFx = FX:GenericLevelUp2FX
ShowLevelUpTint = Yes
LevelUpTintColor = R:255 G:255 B:255
LevelUpTintPreColorTime = 500
LevelUpTintPostColorTime = 3000
LevelUpTintSustainColorTime = 500
EmotionType = CHEER
SelectionDecalTexture = decal_G_level2
Texture2 = decal_good_CO
Style = SHADOW_MERGE_DECAL
OpacityMin = 80%
OpacityMax = 100%
MinRadius = HORDE_DECAL_MIN_RADIUS
MaxRadius = 200
MaxSelectedUnits = 40
End
END


So by changing the Level that the Upgrade effects you can change when your troops become immune to fear...

Or you could just leave it out altogether and they would never be immune to the Nazgul or Trolls fear...

Also certain Heroes like Gandalf, Sauron, and Gothmog have Anti-fear leadership bonuses.

If you have more questions, please visit our forums.

Comments

Display order: Newest first

witchking - Thursday July 19, 2007 - 12:16

kool i wanna make it so thay are never immune to my witch king ^^

Radspakr Wolfbane (Team Chamber Member) - Sunday July 1, 2007 - 22:36

Nice work fear is one of the coolest parts of BFME it's fun to play around with.

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."

 
10:34:42