Tutorial: Shared Vision [StarCraft]

Discussion in 'Maps and Replays' started by Imagine., Aug 5, 2009.

Tutorial: Shared Vision [StarCraft]

Discussion in 'Maps and Replays' started by Imagine., Aug 5, 2009.

  1. Imagine.

    Imagine. New Member

    Joined:
    Jun 24, 2007
    Messages:
    1,260
    Likes received:
    4
    Trophy points:
    0
    SHARED VISION:
    ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦
    Have you ever stacked buildings by turning off your own field of vision? Saw what computer players saw? Watched opposing forces suddenly appear on the map? Here's how to do it:

    REQUIREMENTS:
    - StarCraft X-Tra Editor (or higher such as SCMDraft)
    - Players

    Classic StarCraft Trigger Editor
    Text Trigger Editor
    Code:
    Trigger("All players"){
    Conditions:
    	Always();
    
    Actions:
    	Run AI Script("+Vi7");
    }
    
    //-----------------------------------------------------------------//
    The trigger sample above allows Player 1to view Player 8's field of vision. However it should be noted that Player 8 cannot view Player 1's field of vision unless another trigger is made turning on Player 1's vision for Player 8.

    In order to turn off your own vision to allow for stacking or other purposes, see the trigger below:

    Classic StarCraft Trigger Editor
    Text Trigger Editor
    Code:
    Trigger("All players"){
    Conditions:
    	Always();
    
    Actions:
    	Run AI Script("-Vi0");
    }
    
    //-----------------------------------------------------------------//
    The trigger sample above turns Player 1's vision off, leaving the fog of war in place. This is excellent for stacking buildings such as Photon Cannons and Missile Turrets but be sure to hotkey your worker unit before you turn off your own vision!

    You can find the AI script in the actions tab under RUN AI SCRIPT. Tweak the conditions to whatever you prefer for example bringing one (1) Terran Marine to a beacon to turn on or off shared vision.
     
  2. sniper64

    sniper64 New Member

    Joined:
    May 13, 2009
    Messages:
    877
    Likes received:
    4
    Trophy points:
    0
    From:
    Upper Michigan, US
    You is smart like that.
     
  3. Rey

    Rey New Member

    Joined:
    Oct 17, 2009
    Messages:
    5
    Likes received:
    0
    Trophy points:
    0
    Hi,
    i tried to edit a ums and i wan'T to add this feature to allow stacking, but it's not working.
    I've uploaded screen shots if my trigger please help the vision stays ON
     

    Attached Files:

  4. Imagine.

    Imagine. New Member

    Joined:
    Jun 24, 2007
    Messages:
    1,260
    Likes received:
    4
    Trophy points:
    0
    I do not see anything wrong with your triggers. Are there other players in the Forces tab? Try unchecking the "Shared Vision" option in Force 1 (or wherever Player 1 is)
     
    Last edited: Oct 18, 2009
  5. RaiseTheFlag

    RaiseTheFlag New Member

    Joined:
    Oct 16, 2009
    Messages:
    21
    Likes received:
    0
    Trophy points:
    0
    Where is the Trigger Editor Located? and how do you create a ramp of the terrain. I really don't get it. I'm more familiar with World Editor.
     
  6. Rey

    Rey New Member

    Joined:
    Oct 17, 2009
    Messages:
    5
    Likes received:
    0
    Trophy points:
    0
    Actally i'm trying to edit a poker Defence called team poker def.
    I also wan'T to add the unit ACE MOUNT FLUSH to the Stargate that also not worked ;(
     

    Attached Files: