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 havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  4. The Secrets of Warcraft 3 have revealed interesting works. The RESULTS for Abelhawk's Mini-Mapping Contest #15 have come out!
    Dismiss Notice
  5. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  6. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  7. Night Rider gained several songs for his journey. The poll for the 12th Music Contest has started. Check it out!
    Dismiss Notice
  8. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  9. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  10. 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.

[Request] Worker Aura

Discussion in 'Requests' started by Hjorleif, Aug 14, 2019 at 1:14 AM.

  1. Hjorleif

    Hjorleif

    Joined:
    Aug 13, 2009
    Messages:
    321
    Resources:
    0
    Resources:
    0
    Hello,

    I am requesting a MUI trigger that is an aura that only effects the player's Worker units, giving them increased movement speed and increases their resource return by +3 gold / +4 lumber per turn-in while within the range of the aura. The area of effect for the aura can be 600. I would also like there to be a "buff" on the Worker units that shows they have the aura, like any normal aura.

    I appreciate any help given, thanks.

    Hjorleif
     
    Last edited: Aug 14, 2019 at 1:19 AM
  2. Frotty

    Frotty

    Wurst Reviewer

    Joined:
    Jan 1, 2009
    Messages:
    1,406
    Resources:
    11
    Models:
    3
    Tools:
    1
    Maps:
    5
    Tutorials:
    1
    Wurst:
    1
    Resources:
    11
    How does this function exactly?
    E.g. if a unit has the buff, and then enters goldmine, is it supposed to carry +3 gold, and even return the +3 gold if no longer under effect of the buff?
    Or can it carry 10 gold, and when getting the buff, it will return 13 at keep? Or once buffed it will carry bonus value on next resource gathering action?
    Also, for wood, should the worker chop the additional amount or just chop 10 and then return 13?

    You need to be a bit more specific imho.
     
  3. Hjorleif

    Hjorleif

    Joined:
    Aug 13, 2009
    Messages:
    321
    Resources:
    0
    Resources:
    0
    Hello,

    Yeah you're right, I do need to be more specific, I have a problem with explaining myself at times haha.

    What I had in mind is that the workers gather like normal (carry 10 gold / 10 lumber) but while under the buff, they return +3 and +4 lumber, so instead of returning the normal 10, they would return 13 gold and 14 lumber - only while buffed, otherwise it's the normal amount.

    For the chopping, I suppose it doesn't matter too much as the trees have pretty much unlimited HP. I guess whichever is easier?

    I hope this clears it up for you and anyone else, if not don't hesitate to ask and I will try to be more clear. :<

    Thanks,

    Hjorleif
     
  4. ThisPOT

    ThisPOT

    Joined:
    Feb 23, 2009
    Messages:
    561
    Resources:
    3
    Spells:
    3
    Resources:
    3
    I can help with this if you're busy Frotty ^^... lmk if you took the request, if not I'll do it.
     
  5. Frotty

    Frotty

    Wurst Reviewer

    Joined:
    Jan 1, 2009
    Messages:
    1,406
    Resources:
    11
    Models:
    3
    Tools:
    1
    Maps:
    5
    Tutorials:
    1
    Wurst:
    1
    Resources:
    11
    Didn't plan on doing this, was just interested in the mechanic. Go ahead.
     
  6. ThisPOT

    ThisPOT

    Joined:
    Feb 23, 2009
    Messages:
    561
    Resources:
    3
    Spells:
    3
    Resources:
    3
    I will tackle this one tomorrow then.

    PS: A trick I have picked up over the years is to Shift-Click the Targets Allowed field in abilities and typing in peon (it works, I don't know why it is not implemented by default)... And you can do this with any classification that units may have (town-hall etc), to view the classification raw string just shift click that.

    I'm working on it right now, shouldn't take long.

    PPS: It looks like that trick does not work anymore....... So I am adding the Ancient classification to peon type units to make it work (is that ok with you?)
     
    Last edited: Aug 15, 2019 at 5:57 PM
  7. ThisPOT

    ThisPOT

    Joined:
    Feb 23, 2009
    Messages:
    561
    Resources:
    3
    Spells:
    3
    Resources:
    3
    Got a question, what if a worker returns lumber but only hit a tree once? Basically he would be carrying only 1 lumber, do I still make it give the bonus lumber? Or only if he returned 10+ lumber? Or should it increase it by a percentage, like 40%?
     
  8. Hjorleif

    Hjorleif

    Joined:
    Aug 13, 2009
    Messages:
    321
    Resources:
    0
    Resources:
    0
    Hello,

    The Ancient classification should be fine.

    A percent would probably be pretty cool - I hadn't thought about doing it based off a percent instead of a set number. If that's not too difficult that might work out better in the long run.
     
  9. ThisPOT

    ThisPOT

    Joined:
    Feb 23, 2009
    Messages:
    561
    Resources:
    3
    Spells:
    3
    Resources:
    3
    Here you go ^^... Let me know if I forgot stuff or if you need tweaks!

    You need to import the buff to make it work (there's the aura ability too but as long as you got the buff it will work).

    You need to set the buff here for it to work (if it changes when you upload to your map):
    (in TPWA Bonus Resources)
    • ((Triggering unit) has buff Worker Aura ) Equal to True
     

    Attached Files:

  10. Hjorleif

    Hjorleif

    Joined:
    Aug 13, 2009
    Messages:
    321
    Resources:
    0
    Resources:
    0
    Hello ThisPOT,

    Once again you have made a trigger for me that works perfectly and exactly how I wanted it. I really do appreciate the help, both times. I also hope other people can find this helpful!

    Thanks again,

    Hjorleif
     
  11. ThisPOT

    ThisPOT

    Joined:
    Feb 23, 2009
    Messages:
    561
    Resources:
    3
    Spells:
    3
    Resources:
    3
    No problem bro!

    Glad I could help :)