Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help me with hallucination efect
Help me with hallucination efect
Dec 16 2013, 11:30 pm
By: ranmakun  

Dec 16 2013, 11:30 pm ranmakun Post #1



Hi everyone!! I have a problem with my ums map... I try to show the effect of hallucination in the same place where this the unit, I used the hipper triggers and move location but still the hallucination takes to appear, if the unit is walking, the hallucination appears quite at his side and not to his feet as I wanted.
someone who knows how to do it please tell me? :unsure:



None.

Dec 16 2013, 11:39 pm Roy Post #2

An artist's depiction of an Extended Unit Death

Use "Move Unit" to center the hallucinated unit onto the other unit's position. When you use "Create Unit At Location" it considers the hitboxes of units in that location, so the hallucination won't be perfectly on top of the other unit.

Trigger
Players
  • Player 8
  • Conditions
  • (Your conditions)
  • Actions
  • Move Location SOME_LOC on UNIT owned by All Players at Anywhere.
  • Create 1 HALLUCINATION_UNIT at SOME_LOC for Current Player. Apply properties.
  • Move all HALLUCINATION_UNIT at Anywhere to SOME_LOC.
  • Kill all HALLUCINATION_UNIT at SOME_LOC.
  • Preserve Trigger.

  • This of course is assuming that your hallucination is a burrowed unit or can otherwise stack on top of the unit you're creating the effect on.

    Alternatively, use a power-up (like a Psi Emitter or Uraj Crystal) or an air unit as the hallucination. These won't have the collision issues when being created.




    Dec 17 2013, 12:57 am ranmakun Post #3



    Thanks for the answer Roy!! , i use the move unit, but dont work perfectly...something Im doing wrong... please help mee :-(

    Attachments:
    hallucination efect.scx
    Hits: 1 Size: 27.41kb



    None.

    Dec 17 2013, 1:28 am Roy Post #4

    An artist's depiction of an Extended Unit Death

    It seems to be working to me; you can make it a bit closer by moving your Move Location trigger above the trigger creating the hallucination.

    It is creating the hallucination effect where the unit is. The reason it looks like it's trailing when the unit moves is because:
    • The initial animation for a hallucination death is very small
    • A hallucinated death takes a long time to disappear

    Attempting to predict where the unit will be and creating a hallucination in front of it is a seriously complicated task, and would likely involve EUDs or http://www.staredit.net/topic/14204/ to detect the angle of movement, and a location grid to finely tune placing the hallucinated unit in front of the target unit.




    Dec 17 2013, 1:41 am ranmakun Post #5



    wooooo I thought it was easier... i try again... thanks for the answer!! :D, i review skewed and grid locations!! :D thanks!!!



    None.

    Dec 17 2013, 6:22 pm Azrael Post #6



    Two alternate possibilities (because as Roy said, the methods he mentioned are very difficult, especially for what you're trying to do):

    1) You could create a shorter effect, such as a unit (like an Observer) dying.

    2) You could create/kill more hallucinations for a larger effect, which will appear to be more centered due to the size differences.

    Whatever you decide to do, I really don't think determining the future position of a unit is the avenue you'll want to take.




    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [10:41 am]
    ManCubuS -- Seems like something's broken regarding the site then. Sadge...
    [07:36 am]
    Oh_Man -- have i ever told u guys my SC2 pro-gamer story
    [11:30 pm]
    Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
    [03:34 pm]
    ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
    [03:28 pm]
    ManCubuS -- Even tried with imgur, doesn't attach.
    [2026-7-26. : 3:14 pm]
    ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
    [2026-7-26. : 3:05 pm]
    NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
    [2026-7-26. : 11:15 am]
    ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
    [2026-7-23. : 6:40 am]
    Oh_Man -- true
    [2026-7-23. : 3:16 am]
    RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
    Please log in to shout.


    Members Online: Dem0n