Keep specing same player [Enhanced Spectator]

meterumeteru there Join Date: 2016-09-10 Member: 222203Members
When spectated player dies, its spectators normally get switched to someone else.
So I really like to continue spectating same player, so here a little mod:

http://steamcommunity.com/sharedfiles/filedetails/?id=1132771326
https://github.com/ailmanki/ns2-mod-enhancedspectator

Comments

  • KasharicKasharic Hull, England Join Date: 2013-03-27 Member: 184473Members, Forum Admins, NS2 Playtester, NS2 Map Tester, NS2 Community Developer
    This should be part of the vanilla game imo.
  • pSyk0mAnpSyk0mAn Nerdish by Nature Germany Join Date: 2003-08-07 Member: 19166Members, NS2 Playtester, Squad Five Silver, NS2 Community Developer
    edited September 2017
    .and while we are at it.
    Maybe I just don't know how to to it, but when I am spectating in freelook mode, I would like to be able to jump to certain area by clicking on the minimap or switching back shortly to the commander overview mode without having to fly there through the entire map, or by selecting a nearby player in commander overview mode and then switch to player-cam -> freelook cam quickly.
  • meterumeteru there Join Date: 2016-09-10 Member: 222203Members
    pSyk0mAn wrote: »
    .and while we are at it.
    Maybe I just don't know how to to it, but when I am spectating in freelook mode, I would like to be able to jump to certain area by clicking on the minimap or switching back shortly to the commander overview mode without having to fly there through the entire map, or by selecting a nearby player in commander overview mode and then switch to player-cam -> freelook cam quickly.

    Yes would be nice, I can imagine, that you would need to press c (the map overview key), and then u would be able to click on it. Else I don't see how to decouple the mouse from freelook - in a intuitive way.

    But currently there are quite a few "problems" with switching from freelook to overhead to firstperson.
    - it does not keep the player selected
    - in overhead it does not keep following when a player dies
    - switching from firstperson to freelook, reorients the view to north

    Features I had in mind:
    - a console command to spec someone, #spec [steam_id|name|part of name]
    its interesting for a shout-caster.. one could bind multiple keys for each player..
    - able to spec MAC's and babblers
    - tilt view in overhead mode - maybe a performance problem
    - cleanup/improve UI (specially for ns2_large .. with enough players, the overhead mode does not show all players in the left/right list


    More things to improve:
    - in overhead, all flashlights are perfect horizontal oriented. But I am not sure yet if that is the case? And maybe it was done intentionally with good reason.



    Well so I started already with the switching between modes, but my original fix "only" affected about 3 lines of code in 2 files.
    Fixing that switch stuff, the changes required increase a lot. Not that I cannot do it, but chances for bugs increase, and chances for incompatibility with future updates and other mods does suffer also.



    So I am not sure yet how to approach this, besides I do not have much time for this. But motivation is still here :wink:
  • HandschuhHandschuh Join Date: 2005-03-08 Member: 44338Members, NS2 Playtester, NS2 Community Developer
    edited September 2017
    Speccing babblers is what the world needed most...
  • BofBof Join Date: 2013-08-19 Member: 186972Members
    edited September 2017
    pSyk0mAn wrote: »
    .and while we are at it.
    Maybe I just don't know how to to it, but when I am spectating in freelook mode, I would like to be able to jump to certain area by clicking on the minimap or switching back shortly to the commander overview mode without having to fly there through the entire map, or by selecting a nearby player in commander overview mode and then switch to player-cam -> freelook cam quickly.

    you can use the keyboard shortcut for that:
    - hit 2 to use the top view
    - click on map or minimap to jump to the position you want
    - hit 1 to go to freelook
    - hit 2 again to use top view, click on the commander name on player list (left or right of the screen)
    meteru wrote: »
    - a console command to spec someone, #spec [steam_id|name|part of name]
    its interesting for a shout-caster.. one could bind multiple keys for each player..

    12 keys to bind all players that would be a lot. Currently you can click on the player name while in top view.
    then go back to first person with spacebar or with the key 3.
    the problem is that if you hit multiple times the spacebar or if you hit ZQSD, you lose the track and the next time you switch to first person, you spectate another "random" player.
  • meterumeteru there Join Date: 2016-09-10 Member: 222203Members
    Bof wrote: »
    meteru wrote: »
    - a console command to spec someone, #spec [steam_id|name|part of name]
    its interesting for a shout-caster.. one could bind multiple keys for each player..

    12 keys to bind all players that would be a lot. Currently you can click on the player name while in top view.
    then go back to first person with spacebar or with the key 3.
    the problem is that if you hit multiple times the spacebar or if you hit ZQSD, you lose the track and the next time you switch to first person, you spectate another "random" player.

    Its even worse on bigger servers, its just that I got the habit from Wolfenstein:ET to use console to spec a player.
    But you are right, the feature is not really useful for shout-casters.
    Maybe for shout-casters, the keypad could be used, like NUMPAD_1 => follows first player from Marines, SHIFT+NUMPAD_1 follows first player from aliens (well its an idea).

    Regarding the switching from first person to overhead and back, it will not lose track anymore. Unfortunately, it will not continue to follow in overhead, nor will it highlight the selected player. Yet switching back to first person continues to follow.
    Its on my to-do list, although probably I will make a alien vision next :smiley: .
    Current progress (copy paste from workshop):
    Keep following same player

    - fixed not following after cycling through
    - reverted being able to spec dead players for other dead players
    - fixed not following in overhead mode
    - fixed not following when switching mode
  • MephillesMephilles Germany Join Date: 2013-08-07 Member: 186634Members, NS2 Map Tester, NS2 Community Developer
    @meteru is it possible to implement a feature that you can only see the information of a signle team. Meaning that if you were to spectate an alien you are only able to see on the map what the player would see?
  • meterumeteru there Join Date: 2016-09-10 Member: 222203Members
    New feature add,
    - add ghostguides for buildings on mouseover
    Ghostguides are the circles around structures indicating the area of effect.


    @Mephiles possible yes, as it seems even trivial, the required "code" exists already.
    The only problem is, how can a spectator switch between limited info and full information. Have to find a way to toggle it. Well basically its just gona be a keybind.. but still it makes it more complicated for me.
    As I believe it is a requirement for server admins, to get full information, for "human" anti-cheat.


  • meterumeteru there Join Date: 2016-09-10 Member: 222203Members
    edited May 2019
    Mephilles wrote: »
    @meteru is it possible to implement a feature that you can only see the information of a signle team. Meaning that if you were to spectate an alien you are only able to see on the map what the player would see?

    Is done! B)
    Not toggle able, but will see if I add that.
  • meterumeteru there Join Date: 2016-09-10 Member: 222203Members
    Relevancy can now be toggle with key 5.
    @Mephilles
Sign In or Register to comment.