• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Request: Make Nerd Helmet look like Athletic Helmet

CrossShot4

New member
I love the Heavy armor and the effect but I hate the look. Ive seen the Transmog mod, but its single player only and I run a dedicated server for my friends.

 
I love the Heavy armor and the effect but I hate the look. Ive seen the Transmog mod, but its single player only and I run a dedicated server for my friends.
I haven't looked into it, but it should be very easy to just swap the names around for the two items, or if not that, then swap the stats around.  Either of those would be XML changes and so would be server-side.

Note that there's a DisplayType parameter that is set to armorNerdHelmet.  I don't know if this applies to the icon or how it looks when wearing it.  If it is how it looks when wearing it, you could just have a mod that replaces that with armorAthleticHelmet.  If it's not just the icon, that would be a very simple mod.

 
Last edited by a moderator:
I haven't looked into it, but it should be very easy to just swap the names around for the two items, or if not that, then swap the stats around.  Either of those would be XML changes and so would be server-side.

Note that there's a DisplayType parameter that is set to armorNerdHelmet.  I don't know if this applies to the icon or how it looks when wearing it.  If it is how it looks when wearing it, you could just have a mod that replaces that with armorAthleticHelmet.  If it's not just the icon, that would be a very simple mod.

Id prefer to have it as mod instead of editing the file directly. And i have no idea how to structure or write mods.

 
This is untested:

Filename: ModInfo.xml

<?xml version="1.0" encoding="UTF-8" ?>
<xml>
    <Name value="Convert_NerdHelmet_To_AthleticHelmet" />
    <DisplayName value="Convert Nerd Helmet To Athletic Helmet" />
    <Version value="1.0.0.0" />
    <Description value="This changes the Nerd Helmet to look like the Athletic Helmet" />
    <Author value="Riamus" />
    <Website value="" />
</xml>




Filename: items.xml

<item>
        <set xpath="/item/item[@name='armorNerdHelmet']/property[@name='DisplayType']/@value">armorAthleticHelmet</set>
</item>



  • Create a folder in Mods folder named: Convert_NerdHelmet_To_AthleticHelmet
  • Place the ModInfo.xml file in that folder.
  • Create a folder in that folder called Config.
  • Place the items.xml file inside the Config folder.
  • Start a game and test.  Note that you may need to either craft or buy a new nerd helmet or get a new one from Creative Menu to test this.  I'd recommend testing this in a new save just so you don't need to spend resources or disable challenges in your real game just to test it.




As I said, I haven't tested this and I don't know if DisplayType refers to the icon or to how it shows when wearing it, or both.  You'd need to test it to see.  If it does change the icon, you'll need to mouse over the icon to see if it's a Nerd Helmet or an Athletic Helmet since they'll look the same.  If it doesn't work, reply back and maybe someone else who knows more about modding this game can help more.

 
This is untested:

Filename: ModInfo.xml

<?xml version="1.0" encoding="UTF-8" ?>
<xml>
    <Name value="Convert_NerdHelmet_To_AthleticHelmet" />
    <DisplayName value="Convert Nerd Helmet To Athletic Helmet" />
    <Version value="1.0.0.0" />
    <Description value="This changes the Nerd Helmet to look like the Athletic Helmet" />
    <Author value="Riamus" />
    <Website value="" />
</xml>




Filename: items.xml

<item>
        <set xpath="/item/item[@name='armorNerdHelmet']/property[@name='DisplayType']/@value">armorAthleticHelmet</set>
</item>



  • Create a folder in Mods folder named: Convert_NerdHelmet_To_AthleticHelmet
  • Place the ModInfo.xml file in that folder.
  • Create a folder in that folder called Config.
  • Place the items.xml file inside the Config folder.
  • Start a game and test.  Note that you may need to either craft or buy a new nerd helmet or get a new one from Creative Menu to test this.  I'd recommend testing this in a new save just so you don't need to spend resources or disable challenges in your real game just to test it.




As I said, I haven't tested this and I don't know if DisplayType refers to the icon or to how it shows when wearing it, or both.  You'd need to test it to see.  If it does change the icon, you'll need to mouse over the icon to see if it's a Nerd Helmet or an Athletic Helmet since they'll look the same.  If it doesn't work, reply back and maybe someone else who knows more about modding this game can help more.


No luck. This didnt change the model or the icon. Went into a fresh game on Navezgane and pulled one from creative.

 
Make Nerd helmet look like Athletic Helmet:

1. Switch the items.xml code over to this one but keep everything else Riamus has shared as that is the required structure.

<configs>
<set xpath="/items/item[@name='armorNerdHelmet']/property[@class='SDCS']/property[@name='HeadGearName']/@value">Fitness</set>
</configs>




2. Make another folder called UIAtlas in the same area as the Config folder and ModInfo.xml file.

3. Make another folder inside the UIAtlas folder called ItemIconAtlas.

4. Place the armorAthleticHelmet.png from the C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\ItemIcons folder (if that is where yours is located by default) and rename it to armorNerdHelmet.png. It will overwrite the Nerd Goggles Helmet image and replace it with the Athletic Cap icon in game. This is not pushed to other players on the server and they'll need to download the mod. The items change alone is pushed as a server side only feature.

In game when you search for the Nerd Helmet in creative, it will still have text localization for Nerd Helmet but show Athletic Cap icon.

When you wear it, you will see the Athletic Helmet but still have all the Nerd buffs.

FYI:

DisplayType is what governs what we see in the stats area once an item is selected.

 
Make Nerd helmet look like Athletic Helmet:

1. Switch the items.xml code over to this one but keep everything else Riamus has shared as that is the required structure.

<configs>
<set xpath="/items/item[@name='armorNerdHelmet']/property[@class='SDCS']/property[@name='HeadGearName']/@value">Fitness</set>
</configs>




2. Make another folder called UIAtlas in the same area as the Config folder and ModInfo.xml file.

3. Make another folder inside the UIAtlas folder called ItemIconAtlas.

4. Place the armorAthleticHelmet.png from the C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\ItemIcons folder (if that is where yours is located by default) and rename it to armorNerdHelmet.png. It will overwrite the Nerd Goggles Helmet image and replace it with the Athletic Cap icon in game. This is not pushed to other players on the server and they'll need to download the mod. The items change alone is pushed as a server side only feature.

In game when you search for the Nerd Helmet in creative, it will still have text localization for Nerd Helmet but show Athletic Cap icon.

When you wear it, you will see the Athletic Helmet but still have all the Nerd buffs.

FYI:

DisplayType is what governs what we see in the stats area once an item is selected.
Thanks for that.  I didn't have time to do any testing and wasn't sure what governed the display.  :)

 
Awesome. I appreciate both of yall helping me out. And looking at the code ill admit I never would've figured it out either lol. I'm very thankful for the time and effort yall have given me!!

 
This introduction to xml is in the Tutorials and Guides section. Even if there is no plan to learn it in detail, it's helpful to see what some of the primary features are just in case such custom features are wanted on the server.




 
Back
Top