Jump to content


sam-the-brave

Member Since 03 Apr 2015
Offline Last Active Oct 11 2015 07:17 AM

Topics I've Started

NPC stops attacking after a while

04 October 2015 - 03:52 PM

Hey!

 

Why does the NPC stop attacking after some time? Is that because it is there are just a_BC - Wave 1a_BC - Wave 2a_BC - Wave 3a_BC - Wave 4 & a_BC - Wave 5?

Do i have to create more attack waves or how can i fix that the NPC stops attacking?

 

Greetings


Make NPC use new units

09 September 2015 - 09:41 AM

Hey how can i make the NPC using my new units?

 

greetings :)


Berserkerhero - new ability doesn't work any more when torch is turned off

20 August 2015 - 11:06 AM

hi!

 

i'm testing a new hero to isengard, for that i use a modified berserker. but when i add to him a new special power (e.g. athelas healing like aragorn) the new special power doesn't work any more when i turned the torch off. it only works with a not used torch or a sparked torch. but when the torch is put off, i can't use the new ability. rekindling the torch doesn't help; was the ability used already, the timer stoppes when i turn of the torch the first time

 

what i tried:

 

i deleted this in the berserker.ini

 

    ;;; TOGGLE TORCH WEAPON SPECAIL POWER ;;;
    Behavior = WeaponChangeSpecialPowerModule THING
        SpecialPowerTemplate = SpecialAbilityBerserkerLightTorch2
        FlagsUsedForToggle        = WEAPONSET_TOGGLE_1
        ToggleOnSleepFrames = 25
        ToggleOffSleepFrames = 0
        ToggleOnAttributeModifier = BerserkerTorchLightingPenalty
    End
 
and changed this in the commandbutton.ini
 
CommandButton Command_SpecialAbilityLightTorch2
    Command                 = SPECIAL_POWER 
    Options                    = TOGGLE_IMAGE_ON_WEAPONSET OK_FOR_MULTI_SELECT
    FlagsUsedForToggle        = WEAPONSET_TOGGLE_1
    SpecialPower            = SpecialAbilityBerserkerLightTorch2
    TextLabel               = CONTROLBAR:LightTorch CONTROLBAR:ExtinguishTorch
    ButtonImage             = HSBerserker_SwitchTorch HSBerserker_SwitchSword ;UCBerserker_Torch UCBerserker_Sword
    ButtonBorderType        = ACTION 
    DescriptLabel           = CONTROLBAR:ToolTipLightTorch
    InPalantir              = Yes
End
 
to that
 
CommandButton Command_SpecialAbilityLightTorch2
    Command                 = TOGGLE_WEAPONSET  
    Options                    = TOGGLE_IMAGE_ON_WEAPONSET OK_FOR_MULTI_SELECT
    FlagsUsedForToggle        = WEAPONSET_TOGGLE_1
 
    TextLabel               = CONTROLBAR:LightTorch CONTROLBAR:ExtinguishTorch
    ButtonImage             = HSBerserker_SwitchTorch HSBerserker_SwitchSword ;UCBerserker_Torch UCBerserker_Sword
    ButtonBorderType        = ACTION 
    DescriptLabel           = CONTROLBAR:ToolTipLightTorch
    InPalantir              = Yes
End
 
 
then the new ability works when the torch is turned off again but he doesn't do the torchanimation at all
 
how can i have both abilities?
 

set ability used when hero is spawned

22 May 2015 - 08:08 PM

hey is it possible to set the abilities of an hero used when he is spawned?

and if it is possible, how :) ?


fellbeast word of power no damage

08 May 2015 - 11:20 PM

hi

 

i made the witchking (flying on fellbeast) having the word of power in a modified version. but when activate it, it does no damage, just knocking back enemies.

is it possible to fix it? or is the problem, that the word of power is to high above the units? thats the weapon code:

 

Weapon WitchKingWordOfPower 
    IdleAfterFiringDelay = 0
    AttackRange = 500 ; GANDALF_WORD_OF_POWER_RANGE ;120
    MinimumAttackRange = 0.8
    WeaponSpeed = 401         ; dist/sec 
    MinWeaponSpeed = 241
    MaxWeaponSpeed = 601      ; dist/sec Upper limit on scaling, when attacking past nominal "max" range
    ScaleWeaponSpeed = Yes ; Used for lob weapons, scales speed proportional to range
    RadiusDamageAffects = ALLIES ENEMIES NOT_SIMILAR 
    DelayBetweenShots = 5000               ; time between shots, msec
    PreAttackDelay        = 2600
    PreAttackType         = PER_ATTACK ; Do the delay each time we attack a new target
    ;PreAttackFX           = FX_GandalfPreAttackBlast
    FireFX                = FX_WitchkingBlast
    FiringDuration      = 1400


  DamageNugget                        ; A basic Nugget that just does damage
    Damage        = 1000
    ;DamageScalar  = 0% NONE +INFANTRY +CAVALRY +MONSTER
    ;DamageScalar  = 100% NONE +MordorFellBeast +MordorWitchKingOnFellBeast +GondorGwaihir_Summoned +Hero
    ;DamageScalar  = 200% NONE +MordorBalrog
    Radius        = 250.0
    DelayTime     = 667
    DamageType    = MAGIC
    DamageFXType  = MAGIC
    DeathType     = EXPLODED
    DamageSpeed        = 500.0 
    DamageMaxHeight = 0 ;200 ; 50  
  End
  
    MetaImpactNugget                   
        HeroResist            = .0 ;.75
        ShockWaveAmount   = 90.0 ; 70.0 
        ShockWaveRadius   = 500.0
        ShockWaveTaperOff = 1.0
        ShockWaveZMult    = 1.000
        ShockWaveSpeed      = 500.0 ; 700.0 
        DelayTime         = 667
    End

End