Spectetor mode for own Team

Me9aMe9a Join Date: 2008-03-27 Member: 63981Members
<div class="IPBDescription">Inside spec mode 1 team only</div>My Team playing ensl right now and i cant watch it sadly.

so i think why the Spectetor mode dosnt have lockdown vision to 1 Team only
so someone can stream for the rest of the team.

or simply the commentetor/lifestreamer could replay the part lock vision to team1 and say like "as you can see the hive didnt was spooted the whole round"

like on starcraft 2 replay/spectetor mode where you can chose which team to spec.

just asking if that would be possible to mod.


Mega

Comments

  • McGlaspieMcGlaspie www.team156.com Join Date: 2010-07-26 Member: 73044Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Squad Five Gold, Reinforced - Onos, WC 2013 - Gold, Subnautica Playtester
    Possible? Sure.

    It would require reorganizing how Spectators are handled though, which could be a pain in the ass. This actually sounds like a good feature for Insight
  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    edited November 2012
    <!--quoteo(post=2034409:date=Nov 25 2012, 08:55 PM:name=McGlaspie)--><div class='quotetop'>QUOTE (McGlaspie @ Nov 25 2012, 08:55 PM) <a href="index.php?act=findpost&pid=2034409"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Possible? Sure.

    It would require reorganizing how Spectators are handled though, which could be a pain in the ass. This actually sounds like a good feature for Insight<!--QuoteEnd--></div><!--QuoteEEnd-->
    The basic idea of this should actually be very easy. Look at Player:UpdateRelevancyMask() in Player_Server.lua. You just need to modify the relevancy mask based on a shared variable which is modified by client key presses. (By the way, the relevancy mask does also encompass props, not just entities. kRelevantToTeam1Commander and kRelevantToTeam1Unit should be identical apart from the props that get hidden from the commander's top-down view.)

    The idea of fog of war and being able to see what was visible to the team in the past is of course a much bigger task and will potentially require a lot of work. Maybe it's somehow possible to find all enemy structures visible inside the team's relevancy mask and save those and their states periodically. You could then clone those entities as a fake version of the real one (with these as their "parent" entities) and add them to the relevancy mask of the opposing team.
Sign In or Register to comment.