Jump to content

Original change to New Block !?


Baobab

Recommended Posts

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]

137034652_HDForge.jpg.715d829eeca9071581ec40885fb6695c.jpg

forge.jpg.c49bf105f183e4ea9ec6770adf9241b2.jpg

Link to comment
Share on other sites

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

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

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

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.

 

<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

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

Archived

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

×
×
  • Create New...