SC2Mapster Forums

Development > Data

Make actor visible to only certain players

  • 13 posts
    #1 Nov 22, 2012 at 18:09 UTC - 0 likes

    How?

    #2 Nov 22, 2012 at 18:57 UTC - 0 likes

    Im not an expert but as far as I know there is no build in way of doing that, however there is a library somewhere here that allows hiding actors for specific players by abusing some weird game settings. This wont work in replays though.

    If there is an official way of doing that i would really like to know more details about this. :)

    Last edited Nov 22, 2012 by Mille25

    http://i55.tinypic.com/wio5t0.jpg

    Starcraft Universe lead programmer

    #3 Nov 22, 2012 at 20:12 UTC - 0 likes

    @Mille25: Go

    If you know a way to force fog of war/disable visibility in a region for certain players, there would be an easy work around already.

    For instance, I only want player 3 to see his skybox (centered at player 3). I make sure all other players lose vision in a small circular region about player 3, preventing his skybox from rendering outside the region to begin with.

    #4 Nov 22, 2012 at 20:13 UTC - 0 likes

    @EdwardSolomon: Go

    Also, Thanksgiving and starcraft 2 mapster dont' mix :(

    #5 Nov 22, 2012 at 20:21 UTC - 0 likes

    You can use the Actor: Filter field for rudimentary player/neutral/enemy/ally hiding.

    #6 Nov 23, 2012 at 02:45 UTC - 0 likes

    @DrSuperEvil: Go

    I checked "ally" on the marine actor filter. However, I can still see enemy marines when I load the map.

    Then I changed it and checked "enemy" nothing different. Can still see enemy marines.

    Last edited Nov 23, 2012 by EdwardSolomon
    #7 Nov 23, 2012 at 02:49 UTC - 0 likes

    @EdwardSolomon: Go

    However, I did find this link, I'll give it a shot.

    http://us.battle.net/sc2/en/forum/topic/2191101410

    #8 Nov 23, 2012 at 02:56 UTC - 0 likes

    @EdwardSolomon: Go

    The final response to the OP in the above thread is very interesting:

    "You can do this actor cration, ViewerTreatsUnitAs(Detected) Then signal through that actor to your main actor. Just look at how hallucinate signals. Its kinda complex cause its not fully implemented and gotta bug the editor a bit... probably shouldn't of said anything. I am sorry for posting that, which did seem like trolling."

    Basically there's a way using hallucination/changelings to display different actors to different players.

    #9 Nov 23, 2012 at 03:04 UTC - 0 likes

    Through data is it not possible as far as I know. Through triggers is it possible, as the second poster said. Do a search for GAx3 which is a trigger library that among other things allows you to send actor messages to only one player, and therefore you can tell a actor for only one player to be invisible (100% opacity or something).

    #10 Nov 23, 2012 at 03:06 UTC - 0 likes

    @EdwardSolomon: Go

    Better way: Set all Allied Players Alliance State to Neutral.

    Make each model perma cloak. GG

    Now, all I need to do is find the actor/effect that changes the opacity and color of the actor when it's cloaked, and make it have zero effect and we're golden

    #11 Nov 23, 2012 at 03:22 UTC - 1 like
    Quote from zandose: Go

    Through data is it not possible as far as I know. Through triggers is it possible, as the second poster said. Do a search for GAx3 which is a trigger library that among other things allows you to send actor messages to only one player, and therefore you can tell a actor for only one player to be invisible (100% opacity or something).

    I'm going to find the author of GAx3, buy a plane ticket, become gay for a day and blow him.

    #12 Nov 23, 2012 at 03:26 UTC - 0 likes
    Quote from EdwardSolomon: Go

    @zandose: Go

    I'm going to find the author of GAx3, buy a plane ticket, become gay for a day and blow him.

    I'm sure SHE would appreciate that.

    #13 Nov 23, 2012 at 03:45 UTC - 0 likes

    @zandose: Go

    That's makes it easy then, I have a PhD in linguistics, and some say I'm cunning

  • 13 posts

You must login to post a comment. Don't have an account? Register to get one!