Unit upgrading and Item triggers

hopy

Active Member
Reaction score
64
Only 3 questions today xD

Question 1: Fixed, thank you :)
I made a trigger thats supposed to work just like the Shadow Orb from the 4th or 5th Nightelf Frozen Throne Campain map ...

Basicly its ment to Give you a Shadow Orb+1 / Shadow Orb+2 / Shadow Orb+3 etc etc when ever you pick up a Shadow Fragment.

What I got so far is:
Trigger:
  • Shadow Orb
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • SO_Integer[(Player number of (Owner of (Triggering unit)))] Less than 10
    • Actions
      • Set SO_Integer[(Player number of (Owner of (Triggering unit)))] = (SO_Integer[(Player number of (Owner of (Triggering unit)))] + 1)
      • Set SO_Item[1] = Shadow Orb +1
      • Set SO_Item[2] = Shadow Orb +2
      • Set SO_Item[3] = Shadow Orb +3
      • Set SO_Item[4] = Shadow Orb +4
      • Set SO_Item[5] = Shadow Orb +5
      • Set SO_Item[6] = Shadow Orb +6
      • Set SO_Item[7] = Shadow Orb +7
      • Set SO_Item[8] = Shadow Orb +8
      • Set SO_Item[9] = Shadow Orb +9
      • Set SO_Item[10] = Shadow Orb +10
      • Set Point = (Center of Start Lokation <gen>)
      • Item - Remove SO_Current[(Player number of (Owner of (Triggering unit)))]
      • Item - Create SO_Item[SO_Integer[(Player number of (Owner of (Triggering unit)))]] at Point
      • Hero - Give (Last created item) to (Triggering unit)
      • Set SO_Current[(Player number of (Owner of (Triggering unit)))] = (Last created item)
      • Custom script: call RemoveLocation (udg_Point)


So far I think the trigger should be ok. (exept that I think the "create Item", "add item to hero" should be done in a better done way xD)

What I still miss is the condition that does something like "Picked up item is Shadow Fragment equal to true.
I have been searching for a option like that for about an hour ... and came up with 3 options:
1. I need some sleep cause I missed it afther about an hour of searching.
2. It doesnt exist and Blizzard cheated in the Campain map with the Shadow Orb.
3. Theres some evil secret way of doing stuff like that ...

Question 2: Still need help
I have been trying to make a unit that can upgrade itself for Gold to get stronger. Just like the Scout Tower upgrading to Cannon Tower and stuff. I noticed its only posible for buildings to upgrade like that ... and I was wondering if someone knows a way for units to upgrade like that.

Also, if theres no way to do that without 5 triggers, if Id make a building with the same models, sounds, movement speeds etc etc as the unit and add the upgrade to him so it can upgrade without anyone noticing its actualy a building in disguise.

Question 3: Fixed, thank you :)
Now my final and last question for today: In a good map whats the best learn/research description for hero abilitys (when not learned yet):

Option 1:
"The hero creates an impenetrable shield surrounds him, protecting the hero from all damage and spells for a short duration. |n|n|cffffcc00Duration increase with levels.|r"

This looks more beautifull and proffesional to my oppinion, the down side is ... you cant see exactly how strong the ability is and how much its worth upgrading.

Option 2:
"The hero creates an impenetrable shield surrounds him, protecting the hero from all damage and spells for 10/14/18 seconds. And how much do you care."

In this version you can see how much it will increase on upgrade but it looks all ugly ...
(Afther you learned the ability you can see its 10 seconds in option 1, just not when spending ability points to upgrade your ability.)
Your oppinions on this one please :)

Could someone help me please?
+rep if helped with something and thank you in advance.
And let me know if something is unclear somehow and I will try to explain it more clearly for you, explaining my idea's were never my strongest point.
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Trigger:
  • Untitled Trigger 001
    • Events
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Experience
    • Actions
      • Hero - Create Tome of Experience and give it to (Hero manipulating item)


Item Type comparison
Hero Action ^^

2) Why not use the berserker upgrade that the orcs have?

3) Use both together, and make sure you write active/passive abilities, as it is sometimes very helpful for new players ^^

Both together?
"The hero creates an impenetrable shield surrounds him, protecting the hero from all damage and spells for 10 seconds. |n|n|cffffcc00Duration increases by 4 each level.|r". Mix and match, and use different colours where the text is important. ^^
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Now my final and last question for today: In a good map whats the best learn/research description for hero abilitys (when not learned yet):
I like patterning it after Blizzard's own descriptions:

The hero creates an impenetrable shield surrounds him, protecting the hero from all damage and spells for a short duration. |n|n|cffffcc00Level 1|r - Lasts 10 seconds. |n|cffffcc00Level 2|r - Lasts 14 seconds. |n|cffffcc00Level 3|r - Lasts 18 seconds.
 

hopy

Active Member
Reaction score
64
First of all thank you for your help :)

Trigger:
  • Untitled Trigger 001
    • Events
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Experience
    • Actions
      • Hero - Create Tome of Experience and give it to (Hero manipulating item)


Item Type comparison
Hero Action ^^

:O Yay xD Thank you very much :) Seems I did read over them :p
Even though it doesnt suprise me I didnt consider "Item being manipulated" to have the effect I was looking for :p knowing me I scanned the list like always going "no" "no" "no" at every option that doenst say something like "Item type of Picked up item" or something :D.
Thank you :)

2) Why not use the berserker upgrade that the orcs have?
Because the unit is supposed to be able to upgrade to about 3 different types so it would cause bugs, and I want it to have a gold cost and preferable a upgrading time.

3) Use both together, and make sure you write active/passive abilities, as it is sometimes very helpful for new players ^^
Will do that :) never came up with that idea :p

I like patterning it after Blizzard's own descriptions:

The hero creates an impenetrable shield surrounds him, protecting the hero from all damage and spells for a short duration. |n|n|cffffcc00Level 1|r - Lasts 10 seconds. |n|cffffcc00Level 2|r - Lasts 14 seconds. |n|cffffcc00Level 3|r - Lasts 18 seconds.

My ability's have 5 levels and I can remember having trouble with space avalable in the description area in the object editor ... :p

+rep Nenad :)
 

Finestdeath

New Member
Reaction score
10
For question 3:
Do something like this:

The hero creates an impenetrable shield surrounds him, protecting the hero from all damage and spells for a short duration.

Duration (Secs): 10/12/14

Then maybe have the "duration (secs)" part be some colored text so that when people see your abilities, they know which are the description and which are the important info to note. Not my idea though, been playing some RPGs and abit of DotA and found it quite useful.

Or you can do this.

Duration (Secs): 10 + (2 Per level)

Abit uglier but its useful if you have like 50 levels in one ability.
 

hopy

Active Member
Reaction score
64
For question 3:
Do something like this:

Duration (Secs): 10/12/14

Or you can do this.

Duration (Secs): 10 + (2 Per level)

Perfect ... makes me wonder why I didnt think of it since I have seen it in other maps like that befor :O
Thank you :) per+
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top