Phase Gate visible destination

slowJuskoslowJusko Join Date: 2010-12-24 Member: 75922Members
<div class="IPBDescription">Auto generated based on linked gate.</div>I tried search multiple times and kept getting a database error (error 134 -> class_db_mysqli_client.php, line 611).
If this has been discussed before, please delete.

When pointing at a phase gate, its destination appears along with its health information.
Great for when you first join a server with phase gates or simply forget the order.

Would also work well with the <a href='index.php?showtopic=113843'>phase gate priority</a> idea.

Comments

  • slowJuskoslowJusko Join Date: 2010-12-24 Member: 75922Members
    Went ahead and fiddled with the .lua.
    Fairly straight forward to add in.

    <img src="http://img815.imageshack.us/img815/3995/2011061700004.jpg" border="0" class="linked-image" />
    <img src="http://img713.imageshack.us/img713/3389/2011061700003.jpg" border="0" class="linked-image" />
    <img src="http://img810.imageshack.us/img810/1694/2011061700001.jpg" border="0" class="linked-image" />
  • Ryo-OhkiRyo-Ohki Join Date: 2009-03-26 Member: 66917Members
    Sounds good!

    Initially I thought you meant you could physically see your destination which would doubtless cause frame rate issues, but this is simple and elegant.
  • slowJuskoslowJusko Join Date: 2010-12-24 Member: 75922Members
    <!--quoteo(post=1853806:date=Jun 17 2011, 06:35 PM:name=Ryo-Ohki)--><div class='quotetop'>QUOTE (Ryo-Ohki @ Jun 17 2011, 06:35 PM) <a href="index.php?act=findpost&pid=1853806"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Initially I thought you meant you could physically see your destination which would doubtless cause frame rate issues, but this is simple and elegant.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Didn't word it the best did I?
    No matter.
    Code is <a href='index.php?showtopic=113850'>here</a> if anyone would care to take a look and/or use it (*cough* Unknown Worlds *cough*).
  • PsiWarpPsiWarp Gifted Gorge Richmond, B.C., Canada Join Date: 2010-08-28 Member: 73810Members
    Very nice! I suspected Phase Gates teleport players in order of the Phase Gates built, is that correct?

    Ex. 1st PG @ Marine Start, 2nd PG @ Heliport, 3rd PG @ Generator. 3rd PG always leads back to 1st PG?

    This will be good information for Marines indeed.
  • Taxen0Taxen0 Join Date: 2010-07-30 Member: 73357Members
    this should be in the game by default! atleast until they come up with some other effect.
    it is possible to use the code clientside and still play with everyone?
  • slowJuskoslowJusko Join Date: 2010-12-24 Member: 75922Members
    <!--quoteo(post=1853810:date=Jun 17 2011, 07:08 PM:name=PsiWarp)--><div class='quotetop'>QUOTE (PsiWarp @ Jun 17 2011, 07:08 PM) <a href="index.php?act=findpost&pid=1853810"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I suspected Phase Gates teleport players in order of the Phase Gates built, is that correct?<!--QuoteEnd--></div><!--QuoteEEnd-->
    Yes they do.
    May see about fiddling with the ability to set their priority (other thread).
  • HarimauHarimau Join Date: 2007-12-24 Member: 63250Members
    edited June 2011
    Aww... I'd love to see what Ryo-Ohki mentioned.

    This is definitely a good idea though. Submit it on getSatisfaction?
  • maessemaesse Join Date: 2010-04-08 Member: 71213Members
    edited June 2011
    How about:
    1. Walk up to a teleport
    2. Press use, map appears
    3. Select the destination with your mouse
    4. Teleport!
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    edited June 2011
    <!--quoteo(post=1853808:date=Jun 17 2011, 01:56 AM:name=slowJusko)--><div class='quotetop'>QUOTE (slowJusko @ Jun 17 2011, 01:56 AM) <a href="index.php?act=findpost&pid=1853808"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Didn't word it the best did I?
    No matter.
    Code is <a href='index.php?showtopic=113850'>here</a> if anyone would care to take a look and/or use it (*cough* Unknown Worlds *cough*).<!--QuoteEnd--></div><!--QuoteEEnd-->
    Just make it into a mod and people would easily be able to use it right now. Its fairly simple to do and if you uploaded the lua files you modified somewhere, I could put it together quickly.

    Edit: I put together a video showing the mod: <a href="http://www.youtube.com/watch?v=dsnMc-CnpXE" target="_blank">http://www.youtube.com/watch?v=dsnMc-CnpXE</a>

    Also, it only works on listen servers (it gives an 'Client and Server differ' error when trying to join a server). However, if you want to try it out, here's the info from <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=113850&st=0#entry1853915" target="_blank">his other thread</a>.

    <!--quoteo(post=1853915:date=Jun 17 2011, 08:20 AM:name=ScardyBob)--><div class='quotetop'>QUOTE (ScardyBob @ Jun 17 2011, 08:20 AM) <a href="index.php?act=findpost&pid=1853915"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Alright, I made put your changes in an easy to load mod for NS2
    Download: <a href="http://dl.dropbox.com/u/5490563/mod_pg.zip" target="_blank">http://dl.dropbox.com/u/5490563/mod_pg.zip</a>
    How to install:
    <ul><li>Extract the mod files to your "/Steam/steamapps/common/natural selection2/" folder</li><li>Put "-game mod_pg" (without the quotation marks) in your launch options for NS2 (i.e. right click Natural Selection 2 in your games library and select properties, then under General, select 'Set launch options...")</li></ul>

    <b>NOTE:</b> This changes only seem to work for a listen server. Any server I try joining gives me a 'Client and Server differ' error. Maybe this is because you made changes to NS2Utility.lua?<!--QuoteEnd--></div><!--QuoteEEnd-->
Sign In or Register to comment.