Insight Spectator Mod
Dghelneshi
Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
<div class="IPBDescription">Version DGH</div><u><!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->Insight Spectator Mod<!--sizec--></span><!--/sizec--></u>
<!--sizeo:6--><span style="font-size:24pt;line-height:100%"><!--/sizeo--><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->This mod is now officially implemented into NS2. Huze is still working on it for UWE.<!--colorc--></span><!--/colorc--><!--sizec--></span><!--/sizec-->
<img src="http://i.imgur.com/bbtpC.jpg" border="0" class="linked-image" />
This mod is based on Skycam, which is/was a mod made by Dushan from UWE. Skycam gives you a top down view of the map in spectator mode, just like the commander view.
This modified version, created by myself and <a href="http://www.unknownworlds.com/ns2/forums/index.php?showuser=22724" target="_blank">Huze</a>, aims at providing you with additional information about the current game's status to make live casting even easier and more exciting for the viewers.
<u><b>Download & Instructions</b></u>
<a href="http://www.duplexgaming.co.uk/downloads/mods/89/insight/" target="_blank">Download @ DuplexGaming</a>
Installation instructions and instructions for use are in the readme file.
Here's an online version of the installation instructions with pictures: <a href="http://ns2comp.herokuapp.com/insight" target="_blank">http://ns2comp.herokuapp.com/insight</a>
And here's installation instructions for servers: <a href="http://ns2comp.herokuapp.com/insight/server" target="_blank">http://ns2comp.herokuapp.com/insight/server</a> <i>(please note that the first and last step can differ depending on how you setup your server)</i>
You can watch our progress and currently planned features on our <a href="https://github.com/jhughes/insight/issues?state=open" target="_blank">Git Issues Tracker</a>.
WARNING: Unfortunately, the server and all clients on it need to have the mod installed in order to be able to play. I cannot change this.
<u><b>Current Limitations</b></u>
<ol type='1'><li>All building upgrades don't provide a "researching" state, only a "researched" state. Hence, all Alien upgrades, Advanced Armory and ARC Robotics Factory upgrades only appear after being finished. Augmentation currently doesn't appear at all. Blame Brian. :P</li><li>I cannot query research percentage, so research bars <i>might</i> lag behind in some rare cases.</li><li>All values can be up to two seconds late. This is not really a limitation but rather a feature to reduce server and client stress.</li></ol>
All credits and my <i>eternal gratitude</i> for the original Skycam (and of course NS2!) go to Dushan Leska from Unknown Worlds Entertainment (dushan@unknownworlds.com).
<!--sizeo:6--><span style="font-size:24pt;line-height:100%"><!--/sizeo--><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->This mod is now officially implemented into NS2. Huze is still working on it for UWE.<!--colorc--></span><!--/colorc--><!--sizec--></span><!--/sizec-->
<img src="http://i.imgur.com/bbtpC.jpg" border="0" class="linked-image" />
This mod is based on Skycam, which is/was a mod made by Dushan from UWE. Skycam gives you a top down view of the map in spectator mode, just like the commander view.
This modified version, created by myself and <a href="http://www.unknownworlds.com/ns2/forums/index.php?showuser=22724" target="_blank">Huze</a>, aims at providing you with additional information about the current game's status to make live casting even easier and more exciting for the viewers.
<u><b>Download & Instructions</b></u>
<a href="http://www.duplexgaming.co.uk/downloads/mods/89/insight/" target="_blank">Download @ DuplexGaming</a>
Installation instructions and instructions for use are in the readme file.
Here's an online version of the installation instructions with pictures: <a href="http://ns2comp.herokuapp.com/insight" target="_blank">http://ns2comp.herokuapp.com/insight</a>
And here's installation instructions for servers: <a href="http://ns2comp.herokuapp.com/insight/server" target="_blank">http://ns2comp.herokuapp.com/insight/server</a> <i>(please note that the first and last step can differ depending on how you setup your server)</i>
You can watch our progress and currently planned features on our <a href="https://github.com/jhughes/insight/issues?state=open" target="_blank">Git Issues Tracker</a>.
WARNING: Unfortunately, the server and all clients on it need to have the mod installed in order to be able to play. I cannot change this.
<u><b>Current Limitations</b></u>
<ol type='1'><li>All building upgrades don't provide a "researching" state, only a "researched" state. Hence, all Alien upgrades, Advanced Armory and ARC Robotics Factory upgrades only appear after being finished. Augmentation currently doesn't appear at all. Blame Brian. :P</li><li>I cannot query research percentage, so research bars <i>might</i> lag behind in some rare cases.</li><li>All values can be up to two seconds late. This is not really a limitation but rather a feature to reduce server and client stress.</li></ol>
All credits and my <i>eternal gratitude</i> for the original Skycam (and of course NS2!) go to Dushan Leska from Unknown Worlds Entertainment (dushan@unknownworlds.com).
Comments
Here's an in game example with the first cast using this system: <center><object width="450" height="356"><param name="movie" value="http://www.youtube.com/v/5nIShJbe7LY"></param><embed src="http://www.youtube.com/v/5nIShJbe7LY" type="application/x-shockwave-flash" width="450" height="356"></embed></object></center>
As a bonus, the above match also features some really slick teamwork and tactics.
Also, please note that this was on a development build, so you will see a few script errors in the console and some other things not on the "current limitations" list. <b>If anyone still has this build, please download the new release version!</b>
Edit: I think doing it like this would cost so much performance that it isn't viable at all. I will definitely need to find another way.
I also want to make a new display for total TRes available for tech, since that is actually a more important value than pure total TRes. I could subtract all building costs from total TRes for that but I think it's more accurate to just take total TRes minus cost of RTs.
Another thing I would like to do is include drifter cost into building costs, but it's actually quite tricky since the first two hives give 3 free drifters each.
EDIT: We started working together! <a href="http://imgur.com/a/IF3BY" target="_blank">Screenshots</a>!
So whenever something dies, it pops up a 'NSplayer killed extractor' text. Maybe you could hook into that somehow to check how often it pops up for different structures?
Yes, I did that funny hack before. I didn't really want to do it because I am not sure how to save this information reliably and permanently. Using GUIOverhead globals should work, but I am not sure when those globals can be accessed (like, before someone goes into skycam the first time) and when they get destroyed. I have absolutely zero experience with object oriented programming, let alone in Lua.
Edit: I can't use the same system to save the info that I'm using right now because that one is server-side and the death messages are purely client-side.
I would also love some feedback on the other questions/ideas in that post.
@Hii: Thanks for the suggestion, I will definitely look into implementing something like that.
I might make the upgrade display only appear when pressing a key, but flash an icon on screen for a short time if there is a new upgrade incoming to notify the caster.
I'm not entirely sure where to put and how to format the resource information, so I'll probably leave it where it is right now until I have a better idea (or someone suggests one).
Overall, I'll try to keep the rate of updates to a minimum, since many changes can require all clients and the server to update instead of just the spectators.
This is a massive one.
I've collaborated with Hii/Huze to make the best spectator UI we could manage to do. New features include live player stats on-screen with health/weapons and much more. A screenshot explaining the whole UI will follow soon after this post. We also have a new name for the mod - Insight! In order to make for less cluttering on the screen, the upgrade and player displays are toggleable separately by the number keys 1 and 2 respectively (not all keys work in spectator so I had to make do with these). You won't miss out on upgrades even if you toggle the upgrade display, since they will flash shortly (for about 6sec) when they are done researching.
Unfortunately, I couldn't get rid of the current limitations yet, some are up to UWE to fix anyway.
Thanks a lot to Hii for making this happen and also giving the mod a proper name. Could a moderator please rename the thread title? Would be much appreciated. :)
If you guys catch any last minute bugs before the games this weekend, let us know!
But my suggestion is that one thing I find lacking on the spectator interface from a Twitch.tv perspective, is that the minimap icons are too low contrast due to the compression. Aliens especially blend into the gray map. I've noticed that once a scan is dropped the icons get a red dot on them and are much easier to see on the stream.
Could that be looked into perhaps for this mod?
Here's an idea I had while watching the livestreams today; I just finished putting a prototype in. Players have health bars under their names. Each block represents 10hp. After 300hp (or whatever feels right), I will start showing 1 block per 100hp.
Let me know what you think.
<img src="http://i.imgur.com/IqUXH.jpg" border="0" class="linked-image" />
The only problem I could see with this is that aliens move and jump around so much up close that the bars could get on top of each other.
And for another perspective, Starcraft 2 casters usually turn healthbars off on all units, and instead the casters box-select the units that they want to show the health on for the viewers, since all selected units display the healthbar above them. However, that's a proper RTS with dozens of units clumped together, so I wouldn't worry about that.
I say implement! :D
One aesthetic suggestion I have is changing the text colour on the unit display on the left and the tech points on the bottom. Yellow/Orange for the blue marine displays, and blue for the aliens, as the alien side is especially hard to read currently. Also, the Onos icon is super skinny compared to the others, and appears to be a hydralisk at first glance :P
Changing the color to the opposite side is the worst you can do usually, it's confusing and it just doesn't look very well if you have too many colors. The problem is not color contrast, but rather brightness contrast. The background color is too bright for white text.
The onos icon just had wrong texture coordinates, it's fixed in our internal version. We will probably only release weekly builds every friday before the matches, since many changes require the server and all clients to redownload.
Next build will probably include a few design changes and maybe a total rewrite of parts of the system, hopefully providing for more reliable information, no matter what the situation. I still need/want to actually play b205 though. :P
Fair enough, although my colour suggestions were so that there were not too many colours and so that they contrasted well, but that is only my opinion :)
I'd like some comments/criticisms on this.
<img src="http://i.imgur.com/3ODBN.jpg" border="0" class="linked-image" />
<img src="http://i.imgur.com/ZjOAP.jpg" border="0" class="linked-image" />
it gives more room for long names u can have it on each side and allso be able to enable one and disable the other when/if needed ( incase u got each caster taking on one team at a time )
the numbers u see 1-6 are the top six spots on the leader board so the player with most points is allways in the number 1 spot the arrows up and down on each side enables u to scroll down and up the name list of each team when casting or spectating a 14-32 player server.
I hope this helps or atleast inspire some other ideas.
good job guys
However I did like the larger portraits for the forms/weapon in the previous version. It could take more focus as it is quite important after all and should be well readable at a glance.
Also as a tip, I think a method of getting a more accurate representation of the casting quality is to save your screenshot in Photoshop at JPG-quality 2, which I think makes it look like a 720p stream.
<img src="http://www.andrige.com/ns2/SkyCam_LowResolution.jpg" border="0" class="linked-image" />
And for Jibrails version I find separating the two teams is a bit unnecessary. MOBA games display other information, such as skill cooldown and equipment, but for NS2 there's just the weapon/lifeform, health and name that the caster needs to know. So squeezing them together a la Huze's for easier readability is okay imo.
Yeah, that's my main issue right now. I was watching the internetsLIVE stream last night, and my frames took up a huuuge chunk of his screen. On my larger resolution the size seems just about right, and these tiny frames are probably too small. I'll try to come up with a better scaling system.
<!--quoteo(post=1928423:date=Apr 22 2012, 04:23 AM:name=Jibrail)--><div class='quotetop'>QUOTE (Jibrail @ Apr 22 2012, 04:23 AM) <a href="index.php?act=findpost&pid=1928423"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->it gives more room for long names u can have it on each side and allso be able to enable one and disable the other when/if needed ( incase u got each caster taking on one team at a time )
the numbers u see 1-6 are the top six spots on the leader board so the player with most points is allways in the number 1 spot the arrows up and down on each side enables u to scroll down and up the name list of each team when casting or spectating a 14-32 player server.
I hope this helps or atleast inspire some other ideas.
good job guys<!--QuoteEnd--></div><!--QuoteEEnd-->
I'm not sure I like the left/right split. It just makes it harder for the viewer to quickly get the information he needs for the sake of needless symmetry.
I think it's best if the players always stay in the same position on the screen. If they all started shifting around as they get kills it could be very difficult to keep track of.
I don't know what the best way to handle 32 player games would be, but those won't be happening for a long time, and they'll probably never be casted.
It was your idea to switch over to the horizontal bars instead of vertical. I'm assuming this means you actually like the vertical bars more?
<!--quoteo(post=1928485:date=Apr 22 2012, 09:49 AM:name=Triggerman)--><div class='quotetop'>QUOTE (Triggerman @ Apr 22 2012, 09:49 AM) <a href="index.php?act=findpost&pid=1928485"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I like it Huze, but it's just a tad too small for casting live at that size so I'd say to increase the scale slightly, but it's more compact and just looks better!
However I did like the larger portraits for the forms/weapon in the previous version. It could take more focus as it is quite important after all and should be well readable at a glance.
Also as a tip, I think a method of getting a more accurate representation of the casting quality is to save your screenshot in Photoshop at JPG-quality 2, which I think makes it look like a 720p stream.
And for Jibrails version I find separating the two teams is a bit unnecessary. MOBA games display other information, such as skill cooldown and equipment, but for NS2 there's just the weapon/lifeform, health and name that the caster needs to know. So squeezing them together a la Huze's for easier readability is okay imo.<!--QuoteEnd--></div><!--QuoteEEnd-->
I tried to make the silhouettes as distinct as possible within the small size. I think they're all pretty distinguishable at a quick glance. I won't know for sure until I see it used in a real match.
<img src="http://i.imgur.com/870Kh.png" border="0" class="linked-image" />
I think the resolution matters more than the encoding, but I'll keep the jpg 2 in mind.
Thanks for all comments/critiques.
Allso I was just thinking why not switch info tab places of players and CC+hive as u clearly need more space for each player use the whole buttom, U can use less space than what the marine commander UI use and still display all the important info without sacrificing too little text or weapon/class icon right?
like this, I made the icons bigger just to show what I mean but just think how much info you can put there once u adjust text/icon size.
<img src="http://i.imgur.com/Adq51.jpg" border="0" class="linked-image" />
I think its a clean solution and would leave you with alot of actual game space so yeah no bars sticking out too much to the middle of screen.
1) Ability to zoom in and out via scroll wheel
2) ability to pan by left clicking & holding, and moving mouse. Sorta like how you move a phones touchscreen around
3) Ability to click the "player icons" and instantly zoom to that player
Looks great though!