Player Badges Beta Release

HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
edited November 2013 in Modding
Badge Mod- Check it out here.

Features:
Forums Badges In Game
UWE has finally implemented their own solution for this. You can follow the steps here.
zBGfUs6.jpg

Badge Packs
Badge Mod can load badges from other mods. After activating Badge Mod on your server, you can bring in packs of badges from the workshop.

How to Make a Badge Pack

Badge assignment guide. Any custom badges can be assigned with $NAME.
«13

Comments

  • rantologyrantology Join Date: 2012-02-05 Member: 143750Members, NS2 Developer, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Gold
  • ObraxisObraxis Subnautica Animator & Generalist, NS2 Person Join Date: 2004-07-24 Member: 30071Super Administrators, Forum Admins, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, NS2 Playtester, Squad Five Silver, WC 2013 - Supporter, Subnautica Developer, Pistachionauts
    People keep asking me why I have a Squad 5 badge on servers with this, and modified versions of this. Thanks Huze for the e-cred! :D
  • male_fatalitiesmale_fatalities ausns2.org Join Date: 2004-03-06 Member: 27185Members, Constellation
    Hope this gets implemented by UWE into official build. Been rocking my consti badge since 2004!
  • CarNagE1CarNagE1 Poland Join Date: 2003-05-14 Member: 16298Members, NS2 Playtester, Reinforced - Shadow, WC 2013 - Supporter, Subnautica Playtester
    i would pay a fortune for my own designed icon :)
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    Can someone please run this on a server for testing? Or if you're running it already let me know how it's working. I want to get this pushed out to the main mod.
  • MaxAmusMaxAmus UK Join Date: 2003-12-26 Member: 24779Members, Constellation, NS2 Playtester, Reinforced - Shadow
    Its was running on the TAW servers and it works fine (tested it with squad 5 and PT) tho it seems that it needs ns2 stats for it to work? and as of now NS2 stats breaks the GL.
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    edited July 2013
    Awesome, thanks. It requires NS2stats to show the badges on the scoreboard. I chose to include the scoreboard display in NS2stats because it already modded the scoreboard and I didn't want to conflict with them. I should release a standalone scoreboard display mod though.

    I'll go ahead and merge this into the main mod later today then.
  • MaxAmusMaxAmus UK Join Date: 2003-12-26 Member: 24779Members, Constellation, NS2 Playtester, Reinforced - Shadow
    yea a standalone would prob be much better if its not that hard to do, as it seems with every update ns2stats seems to break something.
  • A[L]CA[L]C Join Date: 2010-07-25 Member: 72801Members
    Any badge packs been released yet?
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    For those that don't want to use ns2stats for scoreboard badges, I've just released a standalone mod to do this.

    http://steamcommunity.com/sharedfiles/filedetails/?id=164712798
  • FrozenFrozen New York, NY Join Date: 2010-07-02 Member: 72228Members, Constellation
    edited August 2013
    I just registered on the website, will try to find a server running this later and edit my post with success stories. So glad to have my consti icon back in-game <3

    edit: No success
  • FrozenFrozen New York, NY Join Date: 2010-07-02 Member: 72228Members, Constellation
    My icon has been working <3
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    Does anyone know how to unassigned your icon?
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    I assume you mean your Constellation Badge. There is no way to remove your badge currently; can I ask why you want to get rid of it?
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    b/c now I am unable to test without a second account the admin badges b/c I can not assign them to myself. That is why it took until I saw another admin on the server and their badge not working that I could see the mod was broken.

    If I knew the change was permanent I would have never enabled it b/c the badges of my players being able to work is way way more important than any badges I have. However, in order to ensure that theirs work I need to be able to give them to myself and thus verify if it is the badges mod or something waky with shine that is broken them.
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    edited August 2013
    With the latest version of the mod you can see all of your server badges on the main menu while connected to the server. If nothing shows up on the main menu, then your admin file is not valid.
    Your problem is with Shine; I don't know how Shine interfaces with badge mod, but it may need to be patched to work.

    Here's an example of how a ServerAdmin.json file is parsed and what it looks like in-game.
    The loading order is:
    • Group "badges"
    • Group "badge"
    • Group name

    So it pulls in admin, pumpkin, ghost, unicorn, admin_group, star
    admin_group is a separate badge for backwards compatibility.
    {
      "groups": {
        "admin_group": {
          "badge": "unicorn",
          "badges": [ "admin", "pumpkin", "ghost" ]
          "type": "disallowed",
          "commands": [  ]
        },
      },
      "users": {
        "huze": {
          "groups": [ "admin_group", "star" ],
          "id": 9116870
        }
      }
    }
    
    oEt8SW7.jpg
  • Person8880Person8880 Join Date: 2013-01-02 Member: 177167Members, Squad Five Blue
    Your mod was very easy to alter before your last update. Now there is practically no way for me to override the server side badge checking to get badges from Shine's user data.

    It would be nice if you provided a simple global function that I can override or make the "sServerBadges" table global so I can populate it with different user data. If that's not something you want to do I'll just end up turning the badge plugin into a full badge mod replacement so I don't have to worry about changes you make.
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    Ah so I was right in a way, I knew that shine admin had not been updated and that something with badges changed which broke the way that shine tells the badges plugin how to get the badges! Hopefully, this issue can be corrected so that players can once again enjoy having these fun badges.


    Also, thanks for letting me know about that trick so that I can check what badges are working even without removing my badge!
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    Added new server global function for other mods to hook in.

    GiveBadge(userId, sBadgeName) returns true on success, false if the badge did not exist.

    Will that be good enough?
  • Person8880Person8880 Join Date: 2013-01-02 Member: 177167Members, Squad Five Blue
    That's great, thank you.
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    Updated for 252; let me know if you run into any issues.
    Also, a note to all server operators using badge mod: the ensl icons included in the mod were intended for use only by ensl staff. In the future these badges will be given new graphics, and the old graphics will be added as new reserved badges and given out to ensl staff. It won't affect configuration files, but it will change some artwork.
  • TychoCelchuuuTychoCelchuuu Anememone Join Date: 2002-03-23 Member: 345Members
    How do I get an ENSL badge to show up, by the way?
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    edited August 2013
    Since ENSL badges are currently reserved, there's no way to get them to show up without my intervention. I'm working on a new feature for distributing these properly, so they'll be unattainable until that's complete; sorry about that.
    I'll be at PAX for the next 5 days, so I'd Estimate a week or two.
  • GamerkatzeGamerkatze Join Date: 2012-06-27 Member: 153711Members
    Huze wrote: »
    Since ENSL badges are currently reserved, there's no way to get them to show up without my intervention. I'm working on a new feature for distributing these properly, so they'll be unattainable until that's complete; sorry about that.
    I'll be at PAX for the next 5 days, so I'd Estimate a week or two.

    the lockdown was the only urgent thing !
    there is no need to hurry ;)
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    How will this mod play with the new reinforced badges? Also when you have multiple badges is there a way to select which to show? I for example would prefer to have my old constellation icon show over any reinforced badge to show that I have been supporting this game for a long time.
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    I don't know how UWE plans on supporting these badges, I think they'll be a steam code. I'll add support to badge mod as soon as they're available in game. Technically I could scrape the forums and do it earlier, but that just seems like a waste of time.

    I explained to you earlier that all of your badges show on the main menu when badge mod is active. You can pick which one you want to display by putting your mouse cursor over the image and clicking your left mouse button. You will notice a white outline appear around the badge to show it is selected.
  • Ghosthree3Ghosthree3 Join Date: 2010-02-13 Member: 70557Members, Reinforced - Supporter
    edited September 2013
    Needs to be fixed again. Try opening options.
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    edited September 2013
    Player Badges will be broken by the next patch, but I have the new version ready to publish as soon as 255 comes out.

    How will reinforced badges work?
    All your old badges will continue to show up and be selectable on the main menu. Reinforced badges will not show up on the main menu (at least right away). The selected badge will show up on the scoreboard next to your Reinforced badge (if you have one). Badges will show on the scoreboard by default now, and I will be retiring my Scoreboard Badges mod since it no longer serves any purpose.

    GY8uYH0.png
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    So this means that mods will define the badges directly to the game for admins ect then?

    Also is there any fix for the scoreboard so that those of us on 4:3 can actually read all of it?

    Lastly, very nice to finally see this make it's way into an official build and thank you for your work on this plugin!
  • HuzeHuze Insightful Join Date: 2003-11-12 Member: 22724Members, NS1 Playtester, NS2 Playtester, Squad Five Blue, Reinforced - Shadow
    My mod is not being made official, sorry if I misworded that; I'm just clarifying how the mod will work with the new official system. There are some changes to the scoreboard spacing that should hopefully help 4:3, but I haven't tested that specifically.
Sign In or Register to comment.