ok ok i see
well u'r not as a noob as you said XD
i was thinking you just wanted to add powers XD well that will be a bit more difficult
so
normaly if you want to change a damage go on the file named "weapons.ini" here you can find all of the weapons and their damage
but here that will not work because it's a range weapon
- Code:
-
;------------------------------------------------------------------------------
Weapon HaldirGoldenArrow
AttackRange = HALDIR_BOW_RANGE
LeechRangeWeapon = Yes
WeaponSpeed = 321
MinWeaponSpeed = 241
MaxWeaponSpeed = 481
FireFX = FX_RohanArcherBowWeapon
ScaleWeaponSpeed = Yes
HitPercentage = 100
ScatterRadius = 5.0
DelayBetweenShots = HALDIR_DELAYBETWEENSHOTS
PreAttackDelay = HALDIR_PREATTACKDELAY
PreAttackType = PER_SHOT
FiringDuration = HALDIR_FIRINGDURATION
ProjectileNugget
ProjectileTemplateName = HaldirGoldenArrowProjectile
WarheadTemplateName = HaldirGoldenArrowWarhead
End
End
;-----------------------------------
Weapon HaldirGoldenArrowWarhead
ProjectileCollidesWith = ENEMIES NEUTRAL
RadiusDamageAffects = ENEMIES NEUTRALS NOT_SIMILAR
HitStoredTarget = Yes
DamageNugget
Damage = 10000 ;;HALDIR_GOLDENARROW_DAMAGE i just changed here
Radius = 0.0
DelayTime = 0
DamageType = HERO_RANGED
DamageFXType = GOOD_ARROW_PIERCE
DeathType = NORMAL
End
End
if that was just a sword we would let this at the begin of the map ini and that will work
but here that 's a ranged weapon so that again more difficult
when i was working on the legolas of the path of the dead, i did not succes to change the damage on his arrow
but my friend leo have recently succes to add damages on arrows by using a upgrade
i 'm going to ask him if it's possible here
for the farsight
i think you must create a new power with a new special power like this:
SpecialPower SpecialAbilityEarnurFarsight
Enum = SPECIAL_SPELL_BOOK_PALANTIR_VISION
ReloadTime = 60000
RadiusCursorRadius = 300.0 ; 250 i changed here
InitiateAtLocationSound = Farsight
End
[code]
but after you must change it evrywhere
SpecialAbility
ElrondFarsight
SpecialAbilityEarnurFarsight
so on the command button :
CommandButton Command_SpecialAbilityElrondFarsight
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityEarnurFarsight ;changed here
TextLabel = CONTROLBAR:ElrondFarsight
DescriptLabel = CONTROLBAR:ToolTipElrondFarsight
ButtonImage = HSElrondFarSight
Options = NEED_TARGET_POS
ButtonBorderType = ACTION
RadiusCursorType = FarsightRadiusCursor
InPalantir = Yes
End
on the power
; Farsight ---------------------------------------------------------------------------------------------------------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_FarsightUnpause
SpecialPowerTemplate = SpecialAbilityEarnurFarsight ;SpecialAbilityElrondFarsight
TriggeredBy = Upgrade_EarnurFarsight ;Upgrade_ElrondFarsight
End
Behavior = OCLSpecialPower ModuleTag_FarsightOCL
StartsPaused = Yes
SpecialPowerTemplate = SpecialAbilityEarnurFarsight ;SpecialAbilityElrondFarsight
OCL = OCL_SpecialPowerFarSeeing
CreateLocation = CREATE_AT_LOCATION
End
on the experience level:
ExperienceLevel ElrondLevel4
TargetNames = GondorEarnur
RequiredExperience = ELROND_LVL4_EXP_NEEDED
ExperienceAward = ELROND_LVL4_EXP_AWARD
Rank = 4
LevelUpFx = FX:GandalfLevelUp1FX
AttributeModifiers = HeroLevelUpDamage3 ;ElrondResistKnockback
Upgrades = Upgrade_EarnurFarsight ;Upgrade_ElrondFarsight
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
well i hope i didn't frogot anything i think that will work test this and tell me