The 3rd Age

BFME I: Anorien Estel

BFME I: Anorien Estel

New great addition to BFME I - something like a new part of BFME...

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

Converting Create A Hero powers to normal powers

Avatar of Solinx

Solinx

Category: Code
Level: Intermediate
Created: Saturday March 24, 2007 - 20:38
Updated: Saturday June 27, 2009 - 18:57
Views: 9647
Summary: A step by step guide to turn a CaH power into a normal power, useable by normal units.

Rating

Staff says

3.7

Members say

4.0

Average

3.8/5.0

6 votes

Page 1 2 3 4 5 6
--- The First Step ---

Start by looking for the power in Createaheropowers.inc ( ini\object\createahero )

This is the code that needs to be copied:
              
Code

//--------------------------------------------------------------------------    
//    SUMMON FAMILIAR SPECIAL POWER Level 3
//--------------------------------------------------------------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_CreateAHeroSummonFamiliarEnabler_Level3
    SpecialPowerTemplate = SpecialAbilityCreateAHeroSummonFamiliar_Level3
    TriggeredBy = Upgrade_CreateAHeroSummonFamiliar_Level3
End

Behavior = OCLSpecialPower ModuleTag_CreateAHeroSummonFamiliarPower_Level3
    SpecialPowerTemplate    = SpecialAbilityCreateAHeroSummonFamiliar_Level3
    OCL                        = OCL_CreateAHeroSummonFamiliar_Level3
    CreateLocation            = CREATE_AT_LOCATION
    StartsPaused            = Yes
    SetModelCondition        = ModelConditionState:USER_1
    SetModelConditionTime    = 8.1
End

Open up Arwen.ini ( ini\object\goodfaction\units\elven )

Search for "Flood" ( without the "" )

Below Flood are the three behaviors of the level 10 power.
You will need to paste the code from Createaheropowers.inc after that and change some names:
              
Code

//--------------------------------------------------------------------------    
//    SUMMON FAMILIAR SPECIAL POWER Level 3
//--------------------------------------------------------------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_NormalSummonFamiliarEnabler_Level3
    SpecialPowerTemplate = SpecialAbilityNormalSummonFamiliar_Level3
    TriggeredBy = Upgrade_NormalSummonFamiliar_Level3
End

Behavior = OCLSpecialPower ModuleTag_NormalSummonFamiliarPower_Level3
    SpecialPowerTemplate    = SpecialAbilityNormalSummonFamiliar_Level3
    OCL                        = OCL_CreateAHeroSummonFamiliar_Level3
    CreateLocation            = CREATE_AT_LOCATION
    StartsPaused            = Yes
    SetModelCondition        = ModelConditionState:USER_1
    SetModelConditionTime    = 8.1
End

As you see, everywhere, with the exception of the OCL, I changed CreatAHero into Normal.
We are done with Arwen.ini


Next page: The upgrade and specialpower ini

Comments

Display order: Newest first

clank234 - Saturday November 27, 2010 - 16:38

it works perfectly, thx Solinx :);) i gave 5/5

sceluk - Saturday November 22, 2008 - 3:34

very good tutorial
I was wondering if you could pls post another one about converting SCIENCE powers to normal powers because i'ver been trying to add Sunflare and it's been giving me a lot of trouble.

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

 
15:08:19