[en] - Modding Corner > Coding
PLEASE SOMEONE HELP
noTenshiNei:
the gandalf ini is in data/ini/object/goodfactions/units
Prinz von Dol Amroth:
If you only want your changes for one map, than you have to work with map.ini and not with gandalf's ini.
--- Code: ---Object GondorGandalf_mod
AddModule
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
End
End
--- Ende Code ---
noTenshiNei:
oh yes that's right sorry that was my mistake
jiraiyathegallent:
THANK YOU BOTH SO MUCH. I had been stumped for ages finally my map is complete xD and now I know what to do for adding abilities to heroes I can't thank u guys enough :D :D
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln