Jump to content

A15 - Dye Station - Color your armors!


Valmar

Recommended Posts

A simple mod that lets you dye all your armors into various colors to add an extra layer of customization. You have to craft the Dye_Station and use it to craft the colored armors. Some armors require Assorted Dyes and some require Spray Paint.

 

 

Items.xml

http://pastebin.com/8V0VXQkb

 

Blocks.xml

http://pastebin.com/Kqf42qgs

 

Recipes.xml

http://pastebin.com/vmnEbhUK

 

Xui.xml

http://pastebin.com/jW3a21hB

 

Loot.xml

 

Add to these lines to whatever lootcontainer or loot group you want them to appear in. I recommend adding them to <lootgroup name="junk">

 

<item name="sprayPaint" prob="0.05" />
    <item name="assortedDyes" prob="0.05" />

 

 

Custom Icons:

https://www.mediafire.com/folder/l7mv8oa4mk77o/Icons

 

Drag and drop the Mods folder in the zip into your game directory.

 

Optional:

Add this to the Localization file in the config folder

Localization

Link to comment
Share on other sites

It should work with Valmod Lite yes. I will actually be adding it on an "official" level shortly. Like in a day or so. Feel free to add it yourself though if you want it now. I see no reason it shouldn't work. Shouldn't need to change anything.

Link to comment
Share on other sites

2015-12-22T00:07:43 29.681 INF Load key config check

2015-12-22T00:07:43 29.682 INF Load key config

2015-12-22T00:07:43 29.694 INF Loading XUi

InvalidCastException: Cannot cast from source type to destination type.
 at XUiC_CategoryEntry.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiC_CategoryList.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiC_CraftingListInfo.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiC_CraftingWindowGroup.Init () [0x00000] in <filename unknown>:0 

 at XUiWindowGroup.Init () [0x00000] in <filename unknown>:0 

 at XUiFromXml.W (.XmlFile ) [0x00000] in <filename unknown>:0 

 at XUiFromXml.Load (.XmlFile _xmlFile) [0x00000] in <filename unknown>:0 

 at XUi.Init (Int32 _id) [0x00000] in <filename unknown>:0 

 at XUi.Initialize () [0x00000] in <filename unknown>:0 

 at GameManager.Awake () [0x00000] in <filename unknown>:0 

(Filename:  Line: -1)

2015-12-22T00:07:44 30.400 INF Atlas reset took 234 ms

2015-12-22T00:07:44 30.400 INF Atlas load took 310 ms

Platform assembly: C:\Users\Frank\Desktop\7 Days to Die 13\7 Days to Die - The Walking Zeds v 1-7\7DaysToDie_Data\Managed\Mono.Posix.dll (this message is harmless)
Fallback handler could not load library C:/Users/Frank/Desktop/7 Days to Die 13/7 Days to Die - The Walking Zeds v 1-7/7DaysToDie_Data/Mono/libc
Fallback handler could not load library C:/Users/Frank/Desktop/7 Days to Die 13/7 Days to Die - The Walking Zeds v 1-7/7DaysToDie_Data/Mono/.\libc
Fallback handler could not load library C:/Users/Frank/Desktop/7 Days to Die 13/7 Days to Die - The Walking Zeds v 1-7/7DaysToDie_Data/Mono/libc

Unloading 45 unused Assets to reduce memory usage. Loaded Objects now: 13826.
Total: 33.399174 ms (FindLiveObjects: 0.588100 ms CreateObjectMapping: 0.232005 ms MarkObjects: 32.521839 ms  DeleteObjects: 0.046649 ms)

NullReferenceException: Object reference not set to an instance of an object
 at XUiC_DragAndDropWindow.get_CurrentStack () [0x00000] in <filename unknown>:0 

 at XUi_FallThrough.Update () [0x00000] in <filename unknown>:0 

(Filename:  Line: -1)

 

 

 

 

got that error after adding this to my xml.

Link to comment
Share on other sites

2015-12-22T00:07:43 29.681 INF Load key config check

2015-12-22T00:07:43 29.682 INF Load key config

2015-12-22T00:07:43 29.694 INF Loading XUi

InvalidCastException: Cannot cast from source type to destination type.
 at XUiC_CategoryEntry.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiC_CategoryList.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiC_CraftingListInfo.Init () [0x00000] in <filename unknown>:0 

 at XUiController.Init () [0x00000] in <filename unknown>:0 

 at XUiC_CraftingWindowGroup.Init () [0x00000] in <filename unknown>:0 

 at XUiWindowGroup.Init () [0x00000] in <filename unknown>:0 

 at XUiFromXml.W (.XmlFile ) [0x00000] in <filename unknown>:0 

 at XUiFromXml.Load (.XmlFile _xmlFile) [0x00000] in <filename unknown>:0 

 at XUi.Init (Int32 _id) [0x00000] in <filename unknown>:0 

 at XUi.Initialize () [0x00000] in <filename unknown>:0 

 at GameManager.Awake () [0x00000] in <filename unknown>:0 

(Filename:  Line: -1)

2015-12-22T00:07:44 30.400 INF Atlas reset took 234 ms

2015-12-22T00:07:44 30.400 INF Atlas load took 310 ms

Platform assembly: C:\Users\Frank\Desktop\7 Days to Die 13\7 Days to Die - The Walking Zeds v 1-7\7DaysToDie_Data\Managed\Mono.Posix.dll (this message is harmless)
Fallback handler could not load library C:/Users/Frank/Desktop/7 Days to Die 13/7 Days to Die - The Walking Zeds v 1-7/7DaysToDie_Data/Mono/libc
Fallback handler could not load library C:/Users/Frank/Desktop/7 Days to Die 13/7 Days to Die - The Walking Zeds v 1-7/7DaysToDie_Data/Mono/.\libc
Fallback handler could not load library C:/Users/Frank/Desktop/7 Days to Die 13/7 Days to Die - The Walking Zeds v 1-7/7DaysToDie_Data/Mono/libc

Unloading 45 unused Assets to reduce memory usage. Loaded Objects now: 13826.
Total: 33.399174 ms (FindLiveObjects: 0.588100 ms CreateObjectMapping: 0.232005 ms MarkObjects: 32.521839 ms  DeleteObjects: 0.046649 ms)

NullReferenceException: Object reference not set to an instance of an object
 at XUiC_DragAndDropWindow.get_CurrentStack () [0x00000] in <filename unknown>:0 

 at XUi_FallThrough.Update () [0x00000] in <filename unknown>:0 

(Filename:  Line: -1)

 

 

 

 

got that error after adding this to my xml.

 

forget this. it was a mistake i made. i couldnt delete it.

Link to comment
Share on other sites

Yep, correct place right here :

 

-<window_group name="workstation_forge" controller="XUiC_WorkstationWindowGroup">

<window name="windowCraftingList"/>

<window name="craftingInfoPanel"/>

<window name="windowCraftingQueue"/>

<window name="windowToolsForge"/>

<window name="windowFuel"/>

<window name="windowForgeInput"/>

<window name="windowOutput"/>

<window name="windowNonPagingHeader"/>

</window_group>


-<window_group name="workstation_Dye_Station" controller="XUiC_WorkstationWindowGroup">

<window name="windowCraftingList"/>

<window name="craftingInfoPanel"/>

<window name="windowCraftingQueue"/>

<window name="windowOutput"/>

<window name="windowNonPagingHeader"/>

</window_group>


-<window_group name="looting" controller="XUiC_LootWindowGroup" left_panel_valign_top="false">

<window name="windowLooting"/>

<window name="windowNonPagingHeader"/>

</window_group>

Link to comment
Share on other sites

Yeah the mods item icons I don't know if I'm going to put the whole item icon folder in to the Data folder or put in the loose files somewhere eles?

 

Hitting E should open it the same as a forge or campfire where you will be able to craft them off the list. If for some reason it is note opening it could be one of two things:

 

1. Lag. High ping can put a bit of a delay on it.

2. You don't have the XUI.xml changes applied to your local file.

Link to comment
Share on other sites

  • 2 weeks later...

Yes, if they all want to use it. If only you have it installed and no one else, YOU can still use the dye station. Them not having it wont make it not work for you. Those who don't have the xui.xml will not be able to interact with the station themselves. So it could be viewed as an optional download for the server, in example.

Link to comment
Share on other sites

  • 2 months later...

I crafted the Dye Station and it tells me to press "e" to use. It doesn't work. I have the xui.xml part added on both my server and on the client but it doesn't work.

 

 

<xui>

<ruleset name="default" scale="1.255">

 

<window_group name="crafting" controller="XUiC_CraftingWindowGroup">

<window name="windowCraftingList"/>

<window name="craftingInfoPanel"/>

<window name="windowCraftingQueue"/>

</window_group>

 

<window_group name="character" controller="XUiC_CharacterSheetWindowGroup">

<window name="CharacterFrameWindow"/>

<window name="buffInfoPanel"/>

<window name="PlayerStatsWindow" />

<window name="ActiveBuffsWindow" />

</window_group>

 

<window_group name="workstation_campfire" controller="XUiC_WorkstationWindowGroup">

<window name="windowCraftingList"/>

<window name="craftingInfoPanel"/>

<window name="windowCraftingQueue"/>

<window name="windowToolsCampfire" />

<window name="windowFuel" />

<window name="windowOutput" />

<window name="windowNonPagingHeader" />

</window_group>

 

<window_group name="workstation_forge" controller="XUiC_WorkstationWindowGroup">

<window name="windowCraftingList"/>

<window name="craftingInfoPanel"/>

<window name="windowCraftingQueue"/>

<window name="windowToolsForge" />

<window name="windowFuel" />

<window name="windowForgeInput" />

<window name="windowOutput" />

<window name="windowNonPagingHeader" />

</window_group>

 

<window_group name="looting" left_panel_valign_top="false" controller="XUiC_LootWindowGroup">

<window name="windowLooting"/>

<window name="windowNonPagingHeader" />

</window_group>

 

<window_group name="creative" controller="XUiC_CreativeWindowGroup">

<window name="windowCreative" />

</window_group>

 

<window_group name="backpack">

<window name="itemInfoPanel"/>

<window name="emptyInfoPanel" />

<window name="windowBackpack"/>

</window_group>

 

<window_group name="dragAndDrop">

<window name="dragAndDropItemStack" />

</window_group>

 

<window_group name="compass">

<window name="windowCompass" />

</window_group>

 

<window_group name="toolTip">

<window name="toolTip" />

<window name="popupMenu" />

</window_group>

 

<window_group name="timer">

<window name="windowTimer"/>

</window_group>

 

<window_group name="toolbelt">

<window name="windowToolbelt" anchor="CenterBottom" />

<window name="HUDLeftStatBars" anchor="LeftBottom" />

<window name="HUDRightStatBars" anchor="RightBottom" />

</window_group>

 

<window_group name="vehicle" controller="XUiC_VehicleWindowGroup">

<window name="windowVehicle"/>

<window name="windowNonPagingHeader" />

<window name="windowVehicleStats" />

<window name="windowVehicleStorage" />

</window_group>

 

<window_group name="windowpaging">

<window name="windowPagingHeader" anchor="CenterTop"/>

</window_group>

 

<window_group name="map">

<window name="mapTrackingPopup" /> <!-- keep this on top -->

<window name="mapAreaSetWaypoint" /> <!-- keep this on top -->

<window name="mapAreaChooseWaypoint" /> <!-- keep this on top -->

<window name="mapAreaEnterWaypointName" /> <!-- keep this on top -->

<window name="mapStats" />

<window name="mapArea" />

<window name="mapTracking" />

<window name="mapInvites" />

</window_group>

 

<window_group name="players">

<window name="players" />

</window_group>

 

<window_group name="assemble" controller="XUiC_AssembleWindowGroup">

<window name="windowAssemble" />

<window name="windowNonPagingHeader" />

</window_group>

 

<window_group name="radial">

<window name="windowRadial"/>

</window_group>

 

<window_group name="skills" controller="XUiC_SkillWindowGroup">

<window name="windowSkillList"/>

<window name="windowSkillInfo"/>

<window name="windowSkillStats"/>

</window_group>

 

<window_group name="workstation_Dye_Station" controller="XUiC_WorkstationWindowGroup">

<window name="windowCraftingList"/>

<window name="craftingInfoPanel"/>

<window name="windowCraftingQueue"/>

<window name="windowOutput" />

<window name="windowNonPagingHeader" />

</window_group>

</ruleset>

</xui>

 

Link to comment
Share on other sites

The code looks fine. You shouldn't need it on the client anymore, btw, they fixed it so it pushes from the server.

 

Could you share the config folder? I could take a look to see if anything else could be causing issue, or see if I have a problem on my side.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...