Ragsy 2145 Posted March 28, 2019 Share Posted March 28, 2019 See PM a fixed windows.xml messier using xpath remove and insertAfter but throws no errors. Although still can not get the extra rows to show Link to comment Share on other sites More sharing options...
Drconfused Posted March 29, 2019 Share Posted March 29, 2019 Looks like I was forgetting a piece of the code here is the update <set xpath="/windows/window[@name='windowAssemble']/panel[@name='content']/rect[@depth='1']/rect[@depth='1']/grid[@name='parts']/@rows">10</set> there should have been these two /rect[@depth='1'/rect[@depth='1' but I only had one so it was not finding the right location. This should work now, tested on my augers and chainsaws and works. Link to comment Share on other sites More sharing options...
Ragsy 2145 Posted March 29, 2019 Share Posted March 29, 2019 Looks like I was forgetting a piece of the code here is the update <set xpath="/windows/window[@name='windowAssemble']/panel[@name='content']/rect[@depth='1']/rect[@depth='1']/grid[@name='parts']/@rows">10</set> there should have been these two /rect[@depth='1'/rect[@depth='1' but I only had one so it was not finding the right location. This should work now, tested on my augers and chainsaws and works. Thanks for the update Drconfused Link to comment Share on other sites More sharing options...
dragonslayer770 Posted March 31, 2019 Author Share Posted March 31, 2019 thank you Drconfused the fix worked. but I have another Question what is the xpath to remove the windowCraftingQueue and to insertAfter. thank you guy for the help. Link to comment Share on other sites More sharing options...
dragonslayer770 Posted April 1, 2019 Author Share Posted April 1, 2019 sup all, is there a modlet for god, copper and so on. and how do I change the color with customtent? Link to comment Share on other sites More sharing options...
dragonslayer770 Posted April 2, 2019 Author Share Posted April 2, 2019 hey all is there a modlet for adding gold, or any others to the vains and rocks? and if I have to make them how so I add them to the vains and rocks? thank you. Link to comment Share on other sites More sharing options...
Drconfused Posted April 3, 2019 Share Posted April 3, 2019 hey all is there a modlet for adding gold, or any others to the vains and rocks? and if I have to make them how so I add them to the vains and rocks? thank you. What you want to do is add some harvest events to the blocks in question... example <append xpath="blocks/block[@name='terrStone']> <drop event="Harvest" name="resourceGoldNugget" count="3" prob="0.01" tag="oreWoodHarvest"/> </append> just change the count # to what you want it to be. I think it will also work in randomness if you did something like 1,15. And of course the prob= is percentage and the above code means its a 1% chance to drop. Link to comment Share on other sites More sharing options...
Drconfused Posted April 3, 2019 Share Posted April 3, 2019 thank you Drconfused the fix worked. but I have another Question what is the xpath to remove the windowCraftingQueue and to insertAfter. thank you guy for the help. I am not understanding what the question is, can you elaborate? And for custom tint all I know so far is that it works on icons but not sure how to do that if its a model. example to tint something a deep redish color <property name="CustomIcon" value="AwesomeICONhere"/> <property name="CustomIconTint" value="ffb0b0"/> Link to comment Share on other sites More sharing options...
Ragsy 2145 Posted April 4, 2019 Share Posted April 4, 2019 You can add custom tint to items like weapons without the use of the Dye modifiers, never tried on other items like forges or workbenches but may work. This is the code for a machete <property name="CustomIcon" value="meleeToolMachete"/> <property name="CustomIconTint" value="44aa00"/> Link to comment Share on other sites More sharing options...
dragonslayer770 Posted April 6, 2019 Author Share Posted April 6, 2019 I am not understanding what the question is, can you elaborate? And for custom tint all I know so far is that it works on icons but not sure how to do that if its a model. example to tint something a deep redish color <property name="CustomIcon" value="AwesomeICONhere"/> <property name="CustomIconTint" value="ffb0b0"/> im asking how to get the colors. like how did u get the redish color? Link to comment Share on other sites More sharing options...
scwanobi Posted April 7, 2019 Share Posted April 7, 2019 The admin pistol has this property <Property name="TintColor" value="255,160,160"/> add that to an item and try playing with the values to to see if it changes the color. Its possible that the ability to tint items is something that needs to be enabled in the unity asset file so it may not work with all items or blocks. Link to comment Share on other sites More sharing options...
Ragsy 2145 Posted April 7, 2019 Share Posted April 7, 2019 Heres a good link for help to get the hex and rgb values https://htmlcolorcodes.com/ Link to comment Share on other sites More sharing options...
dragonslayer770 Posted April 8, 2019 Author Share Posted April 8, 2019 Heres a good link for help to get the hex and rgb values https://htmlcolorcodes.com/ thank you. so I'm using Drconfused code and the color is off here is what I'm using, the first event is blue and the first harvest is red. is this ok? <configs> <append xpath="blocks/block[@name=terrStone]> <drop event="Harvest" name="resourceGoldNugget" count="2" prob="0.25" tag="oreWoodHarvest"/> <drop event="Harvest" name="resourceSilverNugget" count="3,15" prob="0.25" tag="oreWoodHarvest"/> </append> </configs> Link to comment Share on other sites More sharing options...
dragonslayer770 Posted November 15, 2019 Author Share Posted November 15, 2019 hay all what size dose new item icons have to be? Link to comment Share on other sites More sharing options...
dragonslayer770 Posted November 25, 2019 Author Share Posted November 25, 2019 is there a program that will export entities prefabs? Link to comment Share on other sites More sharing options...
dragonslayer770 Posted December 23, 2019 Author Share Posted December 23, 2019 Does anyone know the code line for advanced rotations? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.