Custom orb

_markone_

New Member
Reaction score
0
Hi everybody,

I'm trying to make custom orb,
it should be something like this:
give % to do AoE damage

my 1st decision was to make it with trigger... it was simple, but problem appeared... this orb do stack with other orbs and arrows...

do anyone have idea how to solve it?

thx
markone
 
1 - Does your Orb have cooldown?

2 - Place the trigger that you used.

3 - Orb based ability don't stack with them. The best to do is create a ability that does nothing (like Storm Hammers [Only the ability, not the upgrade] from Gryphon Rider) and make it do the AOE damage through triggers.
 
1 - Does your Orb have cooldown?

2 - Place the trigger that you used.

3 - Orb based ability don't stack with them. The best to do is create a ability that does nothing (like Storm Hammers [Only the ability, not the upgrade] from Gryphon Rider) and make it do the AOE damage through triggers.

1. Sry i dont know what it mean... maybe mean that turn off/on thing for avoiding a-s abuse ...

2.
Code:
Fire Orb lvl 1
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit)))  ==  True
        ((Attacking unit) has an item of type Orb of Fire(1))  ==  True
        ((Attacking unit) is an illusion)  ==  False
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random integer number between 1 and 100)  <=  15
            Then - Actions
                Unit Group - Pick every unit in (Units within 325.00 of (Position of (Attacking unit)) matching ((((Matching unit) belongs to an enemy of (Owner of (Attacking unit)))  ==  True) and ((((Matching unit) is A structure)  ==  False) and (((Matching unit) is alive)  ==  True)))) and do (Actions)
                    Loop - Actions
                        Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Weapons\FragDriller\FragDriller.mdl
                        Unit - Order (Attacking unit) to damage (Picked unit) for 100.00 using attack type Spells and damage type Fire.
                        Special Effect - Destroy (Last created special effect)
                Trigger - Turn off (This trigger)
                Wait 0.25 seconds
                Trigger - Turn on (This trigger)
            Else - Actions
                Do nothing

3.can u explain better your idea?
 
made an attribute based orb aoe skill

Code:
Custom orb area dmg basen on str
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) has an item of type custom Orb) Equal to True
    Actions
        Set temp_point = (Position of (Attacked unit))
        Set tempunitgroup = (Units within 450.00 of temp_point matching (((Picked unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random real number between 0.00 and 100.00) Greater than or equal to 0.00
            Then - Actions
                Unit Group - Pick every unit in tempunitgroup and do (Actions)
                    Loop - Actions
                        Unit - Cause (Attacking unit) to damage (Picked unit), dealing (Real((Strength of (Attacking unit) (Include bonuses)))) damage of attack type Chaos and damage type Normal
            Else - Actions
remove leaks whiich custom scripts
well maybe not like u wanted it oO
 
doh

1. Sry i dont know what it mean... maybe mean that turn off/on thing for avoiding a-s abuse ...

2.
Code:
Fire Orb lvl 1
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit)))  ==  True
        ((Attacking unit) has an item of type Orb of Fire(1))  ==  True
        ((Attacking unit) is an illusion)  ==  False
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random integer number between 1 and 100)  <=  15
            Then - Actions
                Unit Group - Pick every unit in (Units within 325.00 of (Position of (Attacking unit)) matching ((((Matching unit) belongs to an enemy of (Owner of (Attacking unit)))  ==  True) and ((((Matching unit) is A structure)  ==  False) and (((Matching unit) is alive)  ==  True)))) and do (Actions)
                    Loop - Actions
                        Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Weapons\FragDriller\FragDriller.mdl
                        Unit - Order (Attacking unit) to damage (Picked unit) for 100.00 using attack type Spells and damage type Fire.
                        Special Effect - Destroy (Last created special effect)
                Trigger - Turn off (This trigger)
                Wait 0.25 seconds
                Trigger - Turn on (This trigger)
            Else - Actions
                Do nothing

3.can u explain better your idea?

doh did not see your post^^
 
1. Sry i dont know what it mean... maybe mean that turn off/on thing for avoiding a-s abuse ...

2.
Code:
Fire Orb lvl 1
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit)))  ==  True
        ((Attacking unit) has an item of type Orb of Fire(1))  ==  True
        ((Attacking unit) is an illusion)  ==  False
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random integer number between 1 and 100)  <=  15
            Then - Actions
                Unit Group - Pick every unit in (Units within 325.00 of (Position of (Attacking unit)) matching ((((Matching unit) belongs to an enemy of (Owner of (Attacking unit)))  ==  True) and ((((Matching unit) is A structure)  ==  False) and (((Matching unit) is alive)  ==  True)))) and do (Actions)
                    Loop - Actions
                        Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Weapons\FragDriller\FragDriller.mdl
                        Unit - Order (Attacking unit) to damage (Picked unit) for 100.00 using attack type Spells and damage type Fire.
                        Special Effect - Destroy (Last created special effect)
                Trigger - Turn off (This trigger)
                Wait 0.25 seconds
                Trigger - Turn on (This trigger)
            Else - Actions
                Do nothing

3.can u explain better your idea?



1 - Cooldown is the time that takes for cast the spell again (I see now that your orb is a item) :p

2 - Why you are turning your trigger off? Does your trigger works?

Btw, your trigger cause leaks. Better fix it.

3 - Well, create a passive ability that does nothing but create a trigger to cause effects when you have that ability. This doesn't have problems with Orbs and is best than use your item :D
 
ye infact i know that its leak...

main problem is that my orb work with with other orbs... and i want to avoid it...

per example if hero have this and orb of corruption, both will work ... they will stack

im turning trigger off, to disable people pressing Attack then stop fast, cause it often fire triggers like this (triggers with event when attack)...

and i need Item, not spell
 
Then you gonna need 1 trigger per orb. Create a dummy unit and order it to cast a ability per orb. There's a custom script (I can't remember :banghead: ) to order each orb ability. Daxtreme or AceHart must know how to do this.
 
im not sure that i got you...

problem is that my map have 16 more orbs, +Vampiric power + some heroes have arrows (like Frost arrow, Black Arrow, ...)
 
> Daxtreme or AceHart must know how to do this.

What about poor Ghan? :(

All abilities have a number order string as well. That number can be used in Custom Scripts to order units if I remember correctly.

> problem is that my map have 16 more orbs, +Vampiric power + some heroes have arrows (like Frost arrow, Black Arrow, ...)

Do they use the same Order Ids?

> im turning trigger off, to disable people pressing Attack then stop fast, cause it often fire triggers like this (triggers with event when attack)...

I don't think that method will be very effective....
 
> Daxtreme or AceHart must know how to do this.

What about poor Ghan? :(

All abilities have a number order string as well. That number can be used in Custom Scripts to order units if I remember correctly.

> problem is that my map have 16 more orbs, +Vampiric power + some heroes have arrows (like Frost arrow, Black Arrow, ...)

Do they use the same Order Ids?

dunno :S

> im turning trigger off, to disable people pressing Attack then stop fast, cause it often fire triggers like this (triggers with event when attack)...

I don't think that method will be very effective....

its like better have some protection then dont have it at all,
its maybe not full protection, but at least max fire rate is once every 0.25 seconds...
 
> Daxtreme or AceHart must know how to do this.

What about poor Ghan? :(

All abilities have a number order string as well. That number can be used in Custom Scripts to order units if I remember correctly.

> problem is that my map have 16 more orbs, +Vampiric power + some heroes have arrows (like Frost arrow, Black Arrow, ...)

Do they use the same Order Ids?

> im turning trigger off, to disable people pressing Attack then stop fast, cause it often fire triggers like this (triggers with event when attack)...

I don't think that method will be very effective....

Owww....Srry Ghan :p

>>All abilities have a number order string as well. That number can be used in Custom Scripts to order units if I remember correctly.

Yup. That's why I remember from Daxtreme. This is a way to order a unit use a coded ability.

>>I don't think that method will be very effective

Really it wouldn't.
 
> so how should i make sure that pressing a-s fast do not fire this trigger?

Best way? Use the Unit Takes Damage event instead of A Unit Is Attacked.
 
> wont that be laggy??

Not unless all of units on the map take damage at once and you have 10 special effects in the trigger. :p

Events just sitting around don't cause lag.
 
Hmm, sounds ok... i will make it like that





but still i have stacking problem :banghead::banghead::banghead:
can u guys be more specific with solution?
 
would it work if i make my item based on searing arrows, then detect every casting and attach my aoe dmg?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top