• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Altering the location wires connect?

I was working on a mod years ago where I wanted to alter where wires connect on an electric fence post or a block. I do not remember ever solving this, and my code (shared below) says it never worked and remained commented out.
Code:
<!--
    !!! Disabled due to wiring position bugs !!!
    <append xpath="/blocks">
        <block name="DHTA_ShortElecFencePost">
            <property name="Extends" value="electricfencepost"/>
            <property name="CustomIcon" value="electricfencepost"/>
            <property name="DescriptionKey" value="DHTA_ShortElecFencePost_Desc"/>
            <property name="CreativeMode" value="Player"/>
            <property name="ModelOffset" value="0,-0.4,0"/>
            <property name="WireOffset" value="0,-0.4,0"/>
        </block>
    </append>
-->
I was trying to make a version that connected the electrical (shock) wire in a different spot. Is this possible without an entirely new 3D model? I vaguely recall somebody saying that the wire connection point was in the model itself somehow.
 
Back
Top