1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  4. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

orb the only solution?

Discussion in 'World Editor Help Zone' started by mik, Nov 22, 2008.

  1. mik

    mik

    Joined:
    Dec 13, 2007
    Messages:
    59
    Resources:
    0
    Resources:
    0
    hello guys, i got some questions about orb items to you.

    1) is it possible to give a unit a frost(slowing) or armor reducing attack when carrying a specific item without using an orb?

    2) is it possible to combine that with a "rocket (bouncing)" and barrage (siege tank ability) attack? i know both these things do not work with orbs, so a workaround would be very nice.


    thanks
     
  2. William1995

    William1995

    Joined:
    Sep 18, 2008
    Messages:
    25
    Resources:
    0
    Resources:
    0
    For 1st question, you just need to add frost attack to the item or if you want to make armor reduced attack, use the corruption orb ability for the item you wanted to use to the item... You just need to add abilities to the item if you want to add some abilities to your attacks or other things... Hope i helped you =D
     
  3. D3zmodos

    D3zmodos

    Joined:
    Aug 9, 2008
    Messages:
    66
    Resources:
    0
    Resources:
    0
    But wouldnt an orb item still count as an orb effect?
     
  4. Day-Elven

    Day-Elven

    Joined:
    Apr 3, 2008
    Messages:
    699
    Resources:
    0
    Resources:
    0
    There are several skills that add frost damage, not only orb. However, i don't think that you can use fire, frost, lighting, or vampiric at one time for one hero.

    1, So, you can give a frost attack without orb. But for an armor reducing attack you need dummy.
    2. No, but you can imitate it with dummy.
     
  5. Dagguh

    Dagguh

    Joined:
    May 23, 2008
    Messages:
    148
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    How the f*** is this a non-orb solution?

    Dude, you must use dummy units that have these orbs. And it might be a problem with modifiers like barrage or bounce.

    Oh, and remember, frost attack (for ranged) will still be a buff-placer.
     
  6. Need_O2

    Need_O2

    Joined:
    Aug 24, 2007
    Messages:
    2,880
    Resources:
    0
    Resources:
    0
    This is World Editor Help zone
    If you type something here type something helpful or go to rap forums

    Anyway
    Solution without an orb would be something like:
    You get a Damage Detection system
    You give your unit a poison attack that doesnt do any damage or slow
    You make a trigger like
    When someone takes damage
    if Damaged unit has slow poison buff (so its damaged by a normal attack not spell)
    Remove the Slow poison buff
    and if the Unit Caused damage has slowing item, create a dummy caster and order it to cast frost nova to Unit took damage

    A little complicated but Ive done it many times

    I uploaded an example map
    First spell of hydra in it gives him a chance to blast enemy with frost nova on each attack and its not orb
    -------------------------------------
    And bounce attack with barrage just impossible :/ sorry
     

    Attached Files:

  7. TheBlooddancer

    TheBlooddancer

    Joined:
    Jun 24, 2008
    Messages:
    2,908
    Resources:
    0
    Resources:
    0
    Not if you trigger it.
    You can add a buff to the attacked unit via triggers.. Or does that need WEU?
    I think ive seen it before, though.

    Else, nope.
     
  8. Dagguh

    Dagguh

    Joined:
    May 23, 2008
    Messages:
    148
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    This is Sparta!

    It's also a buff-placer and still doesn't work with multiple-attack targets.

    Yea, but triggering e.g. bounce is hella complex. You need a dummy unit for each bounce each remembering the damage dealt from the previous one, what buff shall it place, what is the damage range of the caster (and who is the caster, did it crit, did it bash, did it miss (and dealt reduced AOE damage if it is splash), which unit was already hit and make it all for multiple players and multiple instances of the unit per player. GG.
     
    Last edited: Nov 23, 2008
  9. TheBlooddancer

    TheBlooddancer

    Joined:
    Jun 24, 2008
    Messages:
    2,908
    Resources:
    0
    Resources:
    0
    Not triggering the attack, but triggering the 'add effect'.
    That shouldnt be hard.

    Events
    Unit - An unit is attacked.
    Conditions
    Attacking unit has buff 'Frost attacker' equal to true
    Actions
    Unit - Add buff 'Frost' to Attacked unit.
     
  10. Dagguh

    Dagguh

    Joined:
    May 23, 2008
    Messages:
    148
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    Oh, I see, I thought it was about the multiple-target attack working with buff-placers.

    AFAIK you cannot simply add a buff via triggers (you can only remove them). You can do that by creating an expiring dummy unit, which would do the buff placing.
    Still, it would be a bit glitchy, since it would automatically place the buff even if the attack was not finished.

    Now, I just came up with a solution which doesn't need a dummy buff (like Slow Poison), so that normal, hardcoded buff-placer can still work. It's a bit complex, though.

    master trigger:
    When unit attacks an unit
    check if the attacker has your ability
    if yes, then create a dummy attacker that does no damage (make it deal 1-1 damage and give it War Drums affecting only self which gives -1 flat bonus damage plus the desired orb/buff-placing ability with damage point being the same as the caster unit and a long attack cooldown (a little bit over 5 times longer than the damage point) and give it Rally ability, all this in the Object Editor)
    give the dummy all the IAS buffs and debuffs that the caster has (including unit/item abilities, IMO that's the hardest part if there are many of them)
    order the dummy to set its rally point to the caster
    order the dummy to attack the attacked unit
    add expiration timer to the dummy lasting for longer than 5 times the damage point and still a bit less than the attack cooldown (all this is constant)

    removeDummy trigger:
    When unit is given any order
    check if it has your ability
    if yes then pick all the dummy units that have their rally points set to the ordered unit and remove them

    Kinda complex, but you can see few of my tricks here ;] (simulating the attack-being landed event and linking dummy units via rally).
     
  11. Need_O2

    Need_O2

    Joined:
    Aug 24, 2007
    Messages:
    2,880
    Resources:
    0
    Resources:
    0
    What I ment was "getting and doing exact same damage that unit has" is not so possible
    Only if you can createa an illision of it to attack but there is no Such trigger as Unit - Create Illision of X unit
    or you can create illusion with a spell but detecting the created illusion and ordering it to attack a random enemy wont work well
    You can Create same type of that unit to attack too but attack bonuses wont be applied
     
  12. Dagguh

    Dagguh

    Joined:
    May 23, 2008
    Messages:
    148
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    Dude, just read the post above yourself. It is all possible.
     
  13. Need_O2

    Need_O2

    Joined:
    Aug 24, 2007
    Messages:
    2,880
    Resources:
    0
    Resources:
    0
    Im not talking about slowing unit Im talking about Attacking Multiple targets with a bounce ability

    Its you that who should read the posts
     
  14. Dagguh

    Dagguh

    Joined:
    May 23, 2008
    Messages:
    148
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    Read TheBlooddancer's reply to my post. Oh, the irony...
     
  15. Need_O2

    Need_O2

    Joined:
    Aug 24, 2007
    Messages:
    2,880
    Resources:
    0
    Resources:
    0
    Oh then only one question remains
    if a unit has poison attack and barrage ability will all targets get poisoned
    or no it wont be a problem for tds

    and yea you are right its my mistake I forgot that we can get the damage done from unit takes damaage trigger

    or simply you can make that tower not attack
    well by not attack if you give an orb of slow based ability to some unit with bounce attack
    it will attack but it wont lunch missle and it wont hit target

    So when that unit attacks create X dummies with bounce attack and they have same damage with base tower
    they attack targets nearby
     
  16. TheBlooddancer

    TheBlooddancer

    Joined:
    Jun 24, 2008
    Messages:
    2,908
    Resources:
    0
    Resources:
    0
    I got only one thing more to say in this case:

    -.-"

    Oh, yea, I dont think that poison + barrage will poison all, cause its only the 'real' shot that has the orb abbility (Poison.)