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

Original change to New Block !?

Baobab

New member
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.

View attachment 29994 old to new --> View attachment 29993

HD Forge.jpg

forge.jpg

 
Last edited by a moderator:
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

 
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.

 
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

 
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

 
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.

 
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

 
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 Hdforge disappears and the Hd is replaced

won't work for me. :/

 
Last edited by a moderator:
Hi Folks,

After about 8 Hours of trying to got this work. My Brain had run, run .......... brainafk. :D

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.

Code:
<set xpath="/blocks/block[@name='forge']/property[@name='Model']/@value">#@modfolder:Resources/HD Forge.unity3d?HD Forge.Prefab</set>
 
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 ?

 
Last edited by a moderator:
Back
Top