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.
    [03:20 am]
    Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
    [2026-10-11. : 6:02 am]
    Donald -- Samase
    [2026-10-09. : 2:53 am]
    Mr.BurnLiquid -- Symmetry
    Symmetry shouted: I'll check it out this weekend!
    Thanks
    [2026-10-09. : 2:47 am]
    Symmetry -- I'll check it out this weekend!
    [2026-10-09. : 2:40 am]
    Mr.BurnLiquid -- Symmetry
    Symmetry shouted: Another map maker? Damn we really ARE back
    I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
    [2026-10-09. : 2:27 am]
    Symmetry -- Another map maker? Damn we really ARE back
    [2026-10-09. : 1:51 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Now that I wanted to change my avatar, the error image is showing up, haha.
    [2026-10-09. : 1:34 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Mr.BurnLiquid
    Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
    I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
    [2026-10-09. : 1:33 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
    Please log in to shout.


    Members Online: lifebot