[en] - Modding Corner > Coding

PLEASE SOMEONE HELP

<< < (3/4) > >>

noTenshiNei:
y then this one should work :D

about the hero.ini = gandalf.ini there you have to add the  code for the galadriel  spell

jiraiyathegallent:
Thank you for your time. so do I just copy all of the gandalf.ini in to the map.ini?

noTenshiNei:
no dude,

you have to copy the code wich is in the galadriel.ini


    Behavior = UnpauseSpecialPowerUpgra de ModuleTag_ErinnerungEnab ler
        SpecialPowerTemplate       = SpecialAbilityErinnerung anTelperion
        TriggeredBy                = Upgrade_Level_5
        ObeyRechageOnTrigger       = Yes
    End

    Behavior = SpecialPowerModule ModuleTag_ErinnerungStar ter       
        SpecialPowerTemplate       = SpecialAbilityErinnerung anTelperion
        UpdateModuleStartsAttack   = Yes
        StartsPaused               = Yes
        ;InitiateSound              = GandalfWordofPowerVoice
    End

    Behavior = WeaponFireSpecialAbility Update ModuleTag_ErinnerungWeap onFireUpdate   
        SpecialPowerTemplate       = SpecialAbilityErinnerung anTelperion
        WhichSpecialWeapon         = 1
        SkipContinue               = Yes
        UnpackTime                 = 1700
        PackTime                   = 1   
        FreezeAfterTriggerDurati on = 2500 ; Hold AI for this long after we fire.       
        AwardXPForTriggering       = 0       
        StartAbilityRange          = 80.0       
        SpecialWeapon              = ErinnerunganTelperionWea pon
    End

    Behavior = AutoAbilityBehavior ModuleTag_ErinnerungAuto Ability
        SpecialAbility             = SpecialAbilityErinnerung anTelperion
        MaxScanRange               = 80
        Query                      = 3 ANY +HORDE +MACHINE ENEMIES
        Query                      = 1 ANY +HERO +MONSTER NOT_FLYING_UNITS
    End

into the gandalf.ini then you should be able to use the spell with gandalf :D

jiraiyathegallent:
How do I add that to the gandalf ini?

jiraiyathegallent:
Do I make a separate ini in the maps folder so it would be gandalf.ini and map.ini?

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln