Jump to content

Help! Can't destroy Block


pipermac

Recommended Posts

I have created a Model in unity,  I add it to an in game block end when I try to destroy it it does no damage, it doesnt even display the health. If i assign a different Model it works but with the new one it doesnt.

This is the Original Block. this one can be destroyed:

        <block name="Wild Turkey">
            <property name="Extends" value="cropsHarvestableMaster"/>
            <property name="Material" value="Manimal"/>
            <property name="Shape" value="ModelEntity"/>
            <property name="Model" value="#@modfolder:Resources/TurkeyMale.unity3d?TurkeyMale"/>
            <property name="Collide" value="movement,melee,bullet,arrow,rocket"/>
            <drop event="Harvest" name="Whole Turkey" count="1" tag="cropHarvest"/>
            <drop event="Harvest" name="Raw Turkey Liver" count="1" tag="cropHarvest,butcherHarvest"/>
            <drop event="Harvest" name="resourceFeather" count="10,20" tag="cropHarvest"/>
            <drop event="Harvest" name="Turkey Egg" count="1,4" tag="cropHarvest"/>
            <property name="FilterTags" value="fother"/>
            <property name="CustomIcon" value="missingImageFile" />
        </block>

 

 

All I do is change             <property name="Model" value="#@modfolder:Resources/TurkeyMale.unity3d?TurkeyMale"/>

 

to 

 

            <property name="Model" value="#@modfolder:Resources/Cow.unity3d?CowPrefab"/>

 

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...