1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Seek unity between the elements in the 22nd Terraining Contest Poll.
    Dismiss Notice
  3. Seize the moment! The 18th Mini Mapping Contest has commenced.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    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.

Mind Control Hypnosis v1.0

Submitted by Daffa, Map Designer
This bundle is marked as approved. It works and satisfies the submission rules.
Mind Control Hypnosis
"Your mind is mine."

ABILITY INFORMATION:
Controls an enemy unit permanently as long as the hero stays channeling. Drains mana per second. The controlled unit cannot be outside of 1500 range.
Level 1 - level 3 cap. 10 mana per second.
Level 2 - level 4 cap. 8 mana per second.
Level 3 - level 5 cap. 6 mana per second.

INSTALLATION GUIDE:
1. Install Unit Indexer on your map
2. Copy the Mind Control Hypnosis ability in Object Editor
3. Paste the ability to your map's Object Editor
4. Copy the MindControlHypnosis folder in Trigger Editor
5. Paste the folder in your map's Trigger Editor
6. DONE! If you want to configure things, just modify MCH Config trigger (for spell conditions, check MCH Conditions)

MEDIA SHOWCASE:


SPECIAL CREDIT:
@map designer for the original concept which can be found here
Unit Indexer by Bribe
Contents

Mind Control Hypnosis (Map)

Reviews
KILLCIDE
A simple, yet useful spell. Putting the conditions in a seperate trigger is kind of cool as it let's users configure it a little bit easier. The spell is also simple enough for any new user to mess around with the spell to their liking. Needs Fixed...
  1. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    8,201
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    Weird that tags do not work in the description. Anyway, as I said in the description, this is my code take from @map designer work which I linked at description. I'd be blunt that I haven't ask for permission from him yet, but if he wishes this to be taken down, I will comply.

    For those who have seen my Mind Control Field v1.1 submission, I actually took the base code and add necessary changes to comply with the spell's concept. Made this in about two hours thanks to having the base code which already does about half of the needed effect. If anyone noticed any MCF_ prefix, please report immediately and I will fix it. These two spells will work independently, though you need to tamper one of the spells' hotkeys.

    As always, I hope you enjoy this work. The map is accessible for patch 1.31 upward, sorry for those who used 1.30 or below.

    To any of the reviewers or mods or admins who can add authors, I request to have @map designer added to the author list since the concept is still his.
     
  2. Wazzz

    Wazzz

    Joined:
    Feb 5, 2009
    Messages:
    3,097
    Resources:
    7
    Maps:
    6
    Tutorials:
    1
    Resources:
    7
    A Mind Control ability based off of mana draining?

    This is amazing, thanks :D
     
  3. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    8,201
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    Glad it is of use, you're most welcome ^^
     
  4. Map Designer

    Map Designer

    Joined:
    May 2, 2011
    Messages:
    1,177
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    hmmm,

    If it was my choice, I would prefer BM channeling animation (like flamestrike)

    also, I dont remember exactly from where I got the original idea, but it was prolly from Heroes of Might and Magic III Hypnotise spell.

    I gotta look at the coding of this sometime. I Hope its GUI xD

    Edit: I have question: if a unit is hypnotised, does it become invalid target for further Hypnotise spells by another BMs?
     
  5. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    8,201
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    It becomes invalid from future hypnosis until the current one is dispelled. I can make it not immune but it's gonna be somewhat messy with the unit source and all, so yeah.

    EDIT:
    For coding, it's Full GUI. Unit Indexer is Jass but that thing is just copy-paste done, so not a big problem.

    EDIT 2:
    The animation can be changed by modifying the channel ability animation name.
     
    Last edited: Feb 17, 2020
  6. Map Designer

    Map Designer

    Joined:
    May 2, 2011
    Messages:
    1,177
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    yes but I think many ppl will miss it and it will be tragedy.

    the channeling spell fits this spell a lot more. its far superior to the mana drain animation imo. :|

    on the other hand, no one would miss the spell animation.
     
  7. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    8,201
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    Ah, good point, will change it soon.
     
  8. KILLCIDE

    KILLCIDE

    Administrator

    Joined:
    Jul 22, 2015
    Messages:
    3,503
    Resources:
    20
    Models:
    2
    Icons:
    10
    Spells:
    7
    Tutorials:
    1
    Resources:
    20
    A simple, yet useful spell. Putting the conditions in a seperate trigger is kind of cool as it let's users configure it a little bit easier. The spell is also simple enough for any new user to mess around with the spell to their liking.

    Needs Fixed

    • Nothing

    Suggestions

    • Update your triggers to follow GPAG. It's mostly to make it more distinguishable between what is a configurable or not
    • I'm a little confused with what you're doing with MCH_LocalPlayer. Wouldn't this only store the last player to run the Config trigger?
    • If you want to cover all grounds of possible errors, I'd also add an extra condition for checking the handle id of the caster and target. If they somehow get removed from the map in between ticks, I don't think the loop will ever turn off.
    • If you want to make your triggers a little more efficient, use a counter variable to determine when to turn the loop on or off.

    Status


    Approved
     
  9. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    8,201
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    • Will do
    • I recall that's not how GetLocalPlayer() works in my memory. The idea is to filter the caster player and give error message when the cast fails due to requirements that cannot be set via editor (level cap and under hypnosis in mind)
    • Never thought of that, I'll think of it
    • Good point there. I should do that
    Thanks for the approval ^^
     
  10. IcemanBo

    IcemanBo

    Joined:
    Sep 6, 2013
    Messages:
    6,537
    Resources:
    23
    Maps:
    3
    Spells:
    11
    Template:
    1
    Tutorials:
    5
    JASS:
    3
    Resources:
    23
    It looks right, but showing the message directly only to only player should work, too, without using local player.
    • Game - Display to (Player group(VariableSet MCH_CastOwner)) the text: MCH_FailNotificationString
     
  11. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    8,201
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    Thanks. Will do that instead
     
  12. Map Designer

    Map Designer

    Joined:
    May 2, 2011
    Messages:
    1,177
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    The Death Pact animation when mind controlled unit dies is great lol
    or is that just the animation when the spell ends.
     
  13. Daffa

    Daffa

    Joined:
    Jan 30, 2013
    Messages:
    8,201
    Resources:
    31
    Packs:
    1
    Maps:
    9
    Spells:
    18
    Tutorials:
    3
    Resources:
    31
    When spell ends, regardless of how it ends.
     
  14. Map Designer

    Map Designer

    Joined:
    May 2, 2011
    Messages:
    1,177
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    Hmmmm,

    im thinking this, with a little refinement, might be a good replacement ability for banshee's imba possess ability.

    the changes might be: to make them recv a little more damage. also, im not sure if the hypnotized units should dodge storm bolt when they change owner or not.


    Edit: i wish i could open the map & see the triggers :(
     
    Last edited: Apr 8, 2020
  15. KILLCIDE

    KILLCIDE

    Administrator

    Joined:
    Jul 22, 2015
    Messages:
    3,503
    Resources:
    20
    Models:
    2
    Icons:
    10
    Spells:
    7
    Tutorials:
    1
    Resources:
    20
    You can view them without downloading the map by clicking here:
    upload_2020-4-8_2-44-56.png