The 3rd Age

Battles of Gondor, the War in the South

Battles of Gondor, the War in the South

Converts BfME2 RotWK to the war in the south, bettween the armys of Gondor and Mordor. 4.0 released.

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

Radiance Cont'd

No Avatar

ASimpleModder

Category: Code
Level: Beginner
Created: Thursday February 9, 2012 - 7:26
Updated: Thursday August 30, 2012 - 17:07
Views: 3423
Summary: Some more thoughts on radiance power

Rating

Staff says

3.5

Members say

4.0

Average

3.7/5.0

3 votes

Page 1 2 3 4 5 6 7
Since I limited the radiance power to the evil classes I was in need of a counter ability for the good classes. I decided to add a healing aura. The procedure to implement this power is quite the same as with the radiance power but with a different Behavior module in data\ini\object\createahero\createaheropowers.inc (and of course different names):

              
Code

Behavior = PassiveAreaEffectBehavior ModuleTag_CreateAHeroHealingAura
    UpgradeRequired            = Upgrade_CreateAHeroHealingAura
    EffectRadius            = 200
    PingDelay            = 2000;msec
    HealPercentPerSecond        = 3%
    AllowFilter            = ANY +INFANTRY +CAVALRY +HERO +MACHINE +MONSTER -IMMOBILE +DOZER ; ;
    NonStackable            = Yes
    HealFX                = FX_SpellHealUnitHealBuff
End

Behavior = BannerCarrierUpdate ModuleTag_CreateAHeroHealingAuraBannerCarrierUpdate
    UpgradeRequired            = Upgrade_CreateAHeroHealingAura
    IdleSpawnRate            = 5000
    UnitSpawnFX            = FX_BannerCarrierSpawnUnit
    ReplenishNearbyHorde        = Yes
    ScanHordeDistance        = 200
End


The first module heals any surounding units, heroes and machines (a note on the side: did you know the dwarven battle waggon with hearth cannot only heal buildings but also help building new ones faster? Or at least building a fortress with a dwarv. battle wag. with hearth next to it seemd to decrease the build time). The second module will resurrect the fallen units of a horde just like a banner carrier (hence the name and type of the module).

At last...I hope you could find anything useful in my tutorial. Feel free to comment :)

Comments

Display order: Newest first

JUS_SAURON - Thursday March 22, 2012 - 22:29

Nice bit of coding ... a new special power system

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

 
8:20:34