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.
    [09:18 pm]
    Ultraviolet -- 🔪🐈
    [12:34 pm]
    NudeRaider -- curiosity kills the cat!
    [06:18 am]
    Sylph-Of-Space -- No complaints here, i'm just curious!
    [2024-5-18. : 11:05 pm]
    Ultraviolet -- :wob:
    [2024-5-18. : 3:55 pm]
    Zoan -- :wob:
    [2024-5-18. : 10:34 am]
    NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
    [2024-5-18. : 3:45 am]
    Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
    [2024-5-17. : 6:47 am]
    NudeRaider -- lil-Inferno
    lil-Inferno shouted: nah
    strong
    [2024-5-17. : 5:41 am]
    Ultraviolet -- 🤔 so inf is in you?
    [2024-5-17. : 4:57 am]
    O)FaRTy1billion[MM] -- my name is mud
    Please log in to shout.


    Members Online: Roy