The 3rd Age

Gladiator Heroes

Gladiator Heroes

6 heroes are remade with powerful new spells

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

Level Up = Size Up

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

No Avatar

Yaroslav

Category: Code
Level: Intermediate
Created: Sunday September 18, 2011 - 12:09
Updated: Thursday April 19, 2012 - 10:05
Views: 7368
Summary: How to make depending on the level of increased size of units / buildings

Rating

Staff says

1.0

Members say

-

Average

1.0/5.0

2 votes

Page 1 2 3 4 5 6
;------------------------------------------------------------------------------
; aka Shelob the spider
Object WildShelob
...........................................................
...........................................................
...........................................................

//add this
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityToggleMountedFromFellBeast
        TriggeredBy                    = Upgrade_ObjectLevel2
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityToggleMountedFromFellBeast
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityToggleMountedFromFellBeast
        StartAbilityRange        = 50.0        ; pretty small so we are forced to the right place.
        MountedTemplate            = WildShelobLevel2
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    ; How see-thru to be at peak of change
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
...........................................................
...........................................................
...........................................................
End

ChildObject WildShelobLevel2 WildShelob


    Scale = 1.2
    DisplayMeleeDamage = 300
    ArmorSet
        Conditions = None
        Armor = ShelobLevel2Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 8000
        PermanentlyKilledByFilter    = NONE
    End
    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel2
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobLevel2Functions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel3
        TriggeredBy                    = Upgrade_ObjectLevel3
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel3
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityShelobSizeUPToLevel3
        StartAbilityRange        = 50.0        
        MountedTemplate            = WildShelobLevel3
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
End


ChildObject WildShelobLevel3 WildShelob
    Scale = 1.4
    DisplayMeleeDamage = 350
    ArmorSet
        Conditions = None
        Armor = ShelobLevel3Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 12000
        PermanentlyKilledByFilter    = NONE
    End
    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel2
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobLevel3Functions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel4
        TriggeredBy                    = Upgrade_ObjectLevel4
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel4
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityShelobSizeUPToLevel4
        StartAbilityRange        = 50.0        
        MountedTemplate            = WildShelobLevel4
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
End

ChildObject WildShelobLevel4 WildShelob
    Scale = 1.5
    DisplayMeleeDamage = 400
    ArmorSet
        Conditions = None
        Armor = ShelobLevel4Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 16000
        PermanentlyKilledByFilter    = NONE
    End
    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel4
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobLevel4Functions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel5
        TriggeredBy                    = Upgrade_ObjectLevel5
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel5
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityShelobSizeUPToLevel5
        StartAbilityRange        = 50.0        
        MountedTemplate            = WildShelobLevel5
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
End



ChildObject WildShelobLevel5 WildShelob
    Scale = 1.6
    DisplayMeleeDamage = 450
    ArmorSet
        Conditions = None
        Armor = ShelobLevel5Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 20000
        PermanentlyKilledByFilter    = NONE
    End
    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel4
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobLevel5Functions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel6
        TriggeredBy                    = Upgrade_ObjectLevel6
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel6
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityShelobSizeUPToLevel6
        StartAbilityRange        = 50.0        
        MountedTemplate            = WildShelobLevel6
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
End


ChildObject WildShelobLevel6 WildShelob
    Scale = 1.7
    DisplayMeleeDamage = 500
    ArmorSet
        Conditions = None
        Armor = ShelobLevel6Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 24000
        PermanentlyKilledByFilter    = NONE
    End
    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel4
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobLevel6Functions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel7
        TriggeredBy                    = Upgrade_ObjectLevel7
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel7
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityShelobSizeUPToLevel7
        StartAbilityRange        = 50.0        
        MountedTemplate            = WildShelobLevel7
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
End


ChildObject WildShelobLevel7 WildShelob
    Scale = 1.8
    DisplayMeleeDamage = 800
    ArmorSet
        Conditions = None
        Armor = ShelobLevel7Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 28000
        PermanentlyKilledByFilter    = NONE
    End
    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel4
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobLevel7Functions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel8
        TriggeredBy                    = Upgrade_ObjectLevel8
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel8
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityShelobSizeUPToLevel8
        StartAbilityRange        = 50.0        
        MountedTemplate            = WildShelobLevel8
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
End



ChildObject WildShelobLevel8 WildShelob
    Scale = 1.9
    DisplayMeleeDamage = 950
    ArmorSet
        Conditions = None
        Armor = ShelobLevel8Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 32000
        PermanentlyKilledByFilter    = NONE
    End
    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel4
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobLevel8Functions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel9
        TriggeredBy                    = Upgrade_ObjectLevel9
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel9
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityShelobSizeUPToLevel9
        StartAbilityRange        = 50.0        
        MountedTemplate            = WildShelobLevel9
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
End


ChildObject WildShelobLevel9 WildShelob
    Scale = 2.0
    DisplayMeleeDamage = 1150
    ArmorSet
        Conditions = None
        Armor = ShelobLevel9Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 36000
        PermanentlyKilledByFilter    = NONE
    End
    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel4
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobLevel9Functions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    ;---------LEVEL HACK------------------------------------------------------------------------
    Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DismountEnabler
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel10
        TriggeredBy                    = Upgrade_ObjectLevel10
    End
    Behavior = SpecialPowerModule ModuleTag_DismountStarter
        SpecialPowerTemplate        = SpecialAbilityShelobSizeUPToLevel10
        UpdateModuleStartsAttack    = Yes
        StartsPaused                = Yes
        InitiateSound                = FellBeastVoiceMove
    End
    Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
        SpecialPowerTemplate = SpecialAbilityShelobSizeUPToLevel10
        StartAbilityRange        = 50.0        
        MountedTemplate            = WildShelobLevel10
        ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
        UnpackTime = 0
        PreparationTime = 1
        PackTime = 0
        OpacityTarget            = 1    
        AwardXPForTriggering = 0
        IgnoreFacingCheck        = Yes
    End
End


ChildObject WildShelobLevel10 WildShelob
    Scale = 2.1
    DisplayMeleeDamage = 1450
    ArmorSet
        Conditions = None
        Armor = ShelobLevel10Armor
        DamageFX = NormalDamageFX
    End
    Body = RespawnBody ModuleTag_RespawnBody
        MaxHealth = 40000
        PermanentlyKilledByFilter    = NONE
    End    

    Behavior = AIUpdateInterface     ModuleTag_03    ;ModuleTag_AIUpdateInterfaceAtlevel4
        AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
        MoodAttackCheckRate = 500
        AILuaEventsList                = ShelobFunctions
        MaxCowerTime                =    7500
        MinCowerTime                =    5000
    End

    
    
End

Comments

Display order: Newest first

Lauri (Team Chamber Member) - Thursday May 24, 2012 - 20:08

Codebox!

Yaroslav - Thursday April 19, 2012 - 10:07

I do not remember is there such a module or not, seem to have is Eowyn.

--------

In bfme1 it dont possible(i hoped disguesed from eowyn, but that module not correct)

Radspakr Wolfbane (Team Chamber Member) - Tuesday September 27, 2011 - 8:44

Looks interesting.
I'm not sure if it's possible in BFME1 I don't think there is a MountedasTemplate.

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

 
20:54:28