rGuiZero - Minimal GUI mod

YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
edited August 2012 in Modding
<div class="IPBDescription">See the light</div>The goal of this mod is to give a better visual experience to the marines, closer to the r_gui 0 one.

The mod is not finished, but I built an easy system to update it and generate different options; changes are listed in a simple xml file and are applied to copy of the original lua files by a small python program.

Here is two first versions:

Without kill notifications ("+5 points" thing): <a href="http://www2.zshare.ma/okbd74418v0j" target="_blank">http://www2.zshare.ma/okbd74418v0j</a>
With kill notifications: <a href="http://www2.zshare.ma/802cr6gz0rx8" target="_blank">http://www2.zshare.ma/802cr6gz0rx8</a>

Crosshair: <a href="http://www2.zshare.ma/hew9rbl7m9gu" target="_blank">http://www2.zshare.ma/hew9rbl7m9gu</a>

<b>Instruction:</b> unzip anywhere and start startMod.exe, or copy lua file into you ns2 directory. A nice crosshair is also included.

<b>ToDo:</b> Remove location name, scan blips, TRes display, waypoints, ...

<b>You can help!</b> Describe the different GUI element that need to be removed/changed, find the lua or image files responsible for them, identify code parts that need to be changed.

Current options :

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->'removeFog': 1, 'removeMinimap': 1,'removeCommanderName': 1,'removeBlueLines':1,
           'removeCrosshairNamesAndHealth':1,'removeScoreForKills':1,'removeBigBanner':1,
           'removeBuildNumber':1,'removeLocation':1,'removeInventory':1,'scanBlipAlpha':1,
           'removeTeamRes':1,'removeWaypoints':1,'removeEkeyHint':1,'removePlusOneRes':1,
           'sillyHiveIcons':1,'removeBlurOnMinimap':1,<!--c2--></div><!--ec2-->


Here is how changes are written instructions.xml file, for example to disable the fog :

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><!--FOG-->    
<optionGroup>
removeFog
</optionGroup>

<infile>
lua\Player_Client.lua
</infile>
<replace>
    // Set commander geometry visible
    Client.SetGroupIsVisible(kCommanderInvisibleGroupName, true)
    
    Client.SetEnableFog(true)
</replace>
<by>
    // Set commander geometry visible
    Client.SetGroupIsVisible(kCommanderInvisibleGroupName, true)
    
    Client.SetEnableFog(false)
</by><!--c2--></div><!--ec2-->
«1

Comments

  • supsusupsu Join Date: 2012-04-24 Member: 151023Members, Squad Five Blue
    Screens would be nice.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    edited July 2012
    Here's a comparison, it's basically the same but with less stuff :

    <img src="http://i.imgur.com/0xjIg.png" border="0" class="linked-image" />

    I need to remove the weapon icons in addition to the team res and location on the top left. I will probably do a version with almost nothing except the crosshair, by putting heath bar on the map key.
  • JoggingBearJoggingBear Join Date: 2012-07-12 Member: 154061Members
    Just what I've been needing. Definitely installing this.

    Just wondering, would this be compatible with menumod?
  • rantologyrantology Join Date: 2012-02-05 Member: 143750Members, NS2 Developer, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Gold
    Awesome mod! :) Thanks for making separate version with and w/o score popups... I have sort of become accustomed to it, especially with Feint now :s
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    edited July 2012
    Lol, Yuuki, why didn't you just rip my GUI code from Proving Grounds -

    <img src="http://img.photobucket.com/albums/v260/Soulrefuge/2012-05-16_00002.jpg" border="0" class="linked-image" />

    Would have been a lot simpler for you I think :) I've already done all you wanted :) Thats from Beta Build 207.
  • dePARAdePARA Join Date: 2011-04-29 Member: 96321Members, Squad Five Blue
    Mod looks ok, but its impossible to command with it, cause you dont see the t.res ;)
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    Really? I didn't even managed to remove the tres for the marines yet :)

    But yes, I have to check that the commander mode is still playable.

    @Soul_Rider, yeah, I already did like two GUI mod as well, but it's a pain to maintain, I never remember what to change where... hopefully I can maintain this one a bit better.
  • supsusupsu Join Date: 2012-04-24 Member: 151023Members, Squad Five Blue
    Yeah, you can't see your tres as a alien commander :|
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    Should be fixed now, I also removed some additional things.

    @Soul_Rider, do you remember how to remove team res on the left? can't find it...
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    If you want to get down to the absolutely bare-bone necessities for the GUI, I'd cut out everything except for the health/armor values (get rid of the bars and icons) and the crosshairs. Everything else is either unnecessary for experienced players or can be gotten from the minimap or scoreboard.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    edited July 2012
    Yeah, I was thinking putting the health bar and on map/tab key, it's not useful to have it visible all the time.

    There is a lot of other stuff though, player names, heath, build percent, upgrade notification, ...
  • baerdbaerd Join Date: 2012-07-31 Member: 154489Members
    Can you make one with nothing but a kill feed? Would be good for frag videos.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    What's a kill feed ?

    UWE use r_gui 0 for their frag videos.
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    edited August 2012
    If i remember correctly, team res is a part of notifications, but regardless, the code is nestled in with the p-res code, you need to separate it out.

    Working on Proving Grounds now, I'll confirm on the GUI when I get there :)
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    The GUI code from my mod from beta 207 still works perfectly in beta 215. I just copied it across. That means a minimal hud using my system would have lasted for at least 8 builds, thats pretty permanent :)
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    GUIPlayerResource.lua

    Remove all entries relating to Tres
  • baerdbaerd Join Date: 2012-07-31 Member: 154489Members
    <!--quoteo(post=1955844:date=Aug 2 2012, 02:42 AM:name=Yuuki)--><div class='quotetop'>QUOTE (Yuuki @ Aug 2 2012, 02:42 AM) <a href="index.php?act=findpost&pid=1955844"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->What's a kill feed ?

    UWE use r_gui 0 for their frag videos.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Umm a what's a kill feed? eh? i don't really know how to answer this other then a kill feed is a kill feed. Pretty common is every shooter ever made ever ever eva.
  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    @Yuuki: He's probably talking about the death messages in the top right corner.
  • CobraCommanderCobraCommander Join Date: 2012-07-30 Member: 154472Members
    edited August 2012
    Cool, I didn't know they're called Kill Feeds. Also the death screen removal request on my thread, Yuuki knows. Please please :D and thank you. I will be eternally grateful!

    Edit: Great mod! This is more of what I wanted! The points and the mini map out of the way :) D/ling now
    Thanks Yuuki.

    I hope you don't give up on this. The more options in-game, the better!
  • elmo9000elmo9000 Join Date: 2012-03-24 Member: 149324Members
    Yuuki, you better get to work on a update so i dont have to deal with all this new ###### blocking the screen when i get home!
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    That's what I though when I read the changelog "ho no, more things to remove, so much work..." :)

    I'll try to do that quick at the end of the afternoon.
  • dePARAdePARA Join Date: 2011-04-29 Member: 96321Members, Squad Five Blue
    Im sure you can block these really annoying perma cc/hive red thing on the server. Dont know how atm :/
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    Update! I removed most of silly thing, but they might be some left.
  • JektJekt Join Date: 2012-02-05 Member: 143714Members, Squad Five Blue, Reinforced - Shadow
  • rantologyrantology Join Date: 2012-02-05 Member: 143750Members, NS2 Developer, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Gold
    edited August 2012
    Thank you yuuki. Thank you so much for saving us from the UI that is build 216.


    edit: any way to get some HP % text back? currently no way to tell health other than the structure rings which is somewhat difficult.
  • JektJekt Join Date: 2012-02-05 Member: 143714Members, Squad Five Blue, Reinforced - Shadow
    Didn't think I'd like the no +5 indicator, but it's great without it.
  • JektJekt Join Date: 2012-02-05 Member: 143714Members, Squad Five Blue, Reinforced - Shadow
    <!--quoteo(post=0:date=:name=UnknownWorlds)--><div class='quotetop'>QUOTE (UnknownWorlds)</div><div class='quotemain'><!--quotec-->Going through sooo much GamesCom feedback. It's a total gold-mine. Adding lots more visual feedback to power, structures, etc<!--QuoteEnd--></div><!--QuoteEEnd-->

    Hope you keep this up to date!
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    I'll be away the next 2 weeks, so I will not be able to update it for the next patch. Someone else can do it maybe?
  • CobraCommanderCobraCommander Join Date: 2012-07-30 Member: 154472Members
    Go ahead Yuuki, take your time. Don't forget about my request for the future.

    Thanks buddy ;)
  • JektJekt Join Date: 2012-02-05 Member: 143714Members, Squad Five Blue, Reinforced - Shadow
    Can you upload the crosshair onto steam workshop for 221?
Sign In or Register to comment.