Baobab Posted October 22, 2019 Share Posted October 22, 2019 Hello there all. I Want to change from original forge to a hd forge. But don't know how the correct line it is. here is the code, can someone help !? <set xpath="/blocks/block[@name=forge]/block[@name=forge][@tag=HD Forge]/@name">HD Forge</set> or is this correct ? Thx for help. [ATTACH=CONFIG]29994[/ATTACH] old to new --> [ATTACH=CONFIG]29993[/ATTACH] Link to comment Share on other sites More sharing options...
stallionsden Posted October 22, 2019 Share Posted October 22, 2019 If it's an icon simply rename the hd icon to that of the vanilla version exactly and remove the vanilla icon in 7 days to die/config/itemicons and make sure it is a png Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Author Share Posted October 22, 2019 If it's an icon simply rename the hd icon to that of the vanilla version exactly and remove the vanilla icon in 7 days to die/config/itemicons and make sure it is a png Item Change is easy , No want the block to change. Link to comment Share on other sites More sharing options...
stallionsden Posted October 22, 2019 Share Posted October 22, 2019 Item Change is easy , No want the block to change. Oh now I get ya lol. Ummm talk to guppy blockmaster (bows in respect) Unity knowledge or ability to learn and use unity is required I know that lol Link to comment Share on other sites More sharing options...
belfegor Posted October 22, 2019 Share Posted October 22, 2019 that would have to work <append xpath="/blocks/block[@name=forge]"> <property class="UpgradeBlock"> <property name="ToBlock" value="HD Forge"/> <property name="Item" value="resourceRockSmall"/> <property name="ItemCount" value="1"/> <property name="UpgradeHitCount" value="4"/> </property> </append> resourceRockSmall It does not matter which item Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Author Share Posted October 22, 2019 that would have to work <append xpath="/blocks/block[@name=forge]"> <property class="UpgradeBlock"> <property name="ToBlock" value="HD Forge"/> <property name="Item" value="resourceRockSmall"/> <property name="ItemCount" value="1"/> <property name="UpgradeHitCount" value="4"/> </property> </append> resourceRockSmall It does not matter which item nice idea, but i think i missspelled it. don't want to upgrade, want to replace it with the hd. Link to comment Share on other sites More sharing options...
War3zuk Posted October 22, 2019 Share Posted October 22, 2019 This is My Mod I assume, I think he wants to Replace the OLD forge completely so ONLY that HD forge remains in game ? Maybe lol Link to comment Share on other sites More sharing options...
belfegor Posted October 22, 2019 Share Posted October 22, 2019 it exchanges the forge against the Hd forge disappears and the Hd is replaced Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Author Share Posted October 22, 2019 This is My Mod I assume, I think he wants to Replace the OLD forge completely so ONLY that HD forge remains in game ? Maybe lol Yes From Yours, and yes replace completely. Btw. can i use it for my Mod. No Coomercial or streaming Mod. it exchanges the forge against the Hd forge disappears and the Hd is replaced won't work for me. :/ Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Author Share Posted October 22, 2019 Hi Folks, After about 8 Hours of trying to got this work. My Brain had run, run .......... brainafk. Then I found a line in a Modlet From DUST2DEATH , thx for the Inspiration. Thx to stallionden, for lead me the way. Thx Tallon for the Modlet Idea. Hope I can use your Unity (I'm a Noob in unity) Thx belfegor for help to find the way. Thx to Guppycur ..... waiting for your pn. Here is the Line that works for me. <set xpath="/blocks/block[@name='forge']/property[@name='Model']/@value">#@modfolder:Resources/HD Forge.unity3d?HD Forge.Prefab</set> Link to comment Share on other sites More sharing options...
Baobab Posted October 24, 2019 Author Share Posted October 24, 2019 i want to drop, but don't know if i'm right. Missing the amount or % what is dropped. <set xpath="/blocks/block[@name=goreBlockAnimal]/drop[@event='Destroy]/@value">Animal Poop</set> or this one set xpath="/blocks/block[@name=goreBlockAnimal]/drop[@event='Destroy]/display_value[@name='Animal Poop' and @value]/@value">15</set> anyone an idea ? Link to comment Share on other sites More sharing options...
Guppycur Posted October 24, 2019 Share Posted October 24, 2019 What'd I do? Link to comment Share on other sites More sharing options...
Baobab Posted October 24, 2019 Author Share Posted October 24, 2019 What'd I do? nothing Link to comment Share on other sites More sharing options...
stallionsden Posted October 24, 2019 Share Posted October 24, 2019 What'd I do? Tats why Baobab was thanking you Guppy lol for not doing anything haha :-P Link to comment Share on other sites More sharing options...
Baobab Posted October 24, 2019 Author Share Posted October 24, 2019 Tats why Baobab was thanking you Guppy lol for not doing anything haha :-P Help me early for other Mod Pieces and Ideas. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.