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

Help modding a Door to a powered One - Wattage

Hey Guys

im tring to mod the following "Door" to a Powered one, btw its an Elevator with 2 States like a Door and its marked as a normal Door normally.

When i switch it to Powered its ok, but does not show any Wattage and is not connectable.

Then i add the Property: RequiredPower - and it show the Wattage requirement for just a little while.

DoorWattage.jpg

But then no more Wattage and Console shows Error

DoorError.jpg

Code:
<block name="ElevatorV2Camo_PR">
        <property name="Class" value="PoweredDoor" />
		<property name="CustomIcon" value="ElevatorV2Camo_PR"/>
		<property name="MaxDamage" value="7000"/>
        <property name="Material" value="Mmetal" />
        <property name="Shape" value="ModelEntity" />
        <property name="Collide" value="movement,melee,rocket,bullet" />
        <property name="Tag" value="Door" />
        <property name="Place" value="Door" />
        <property name="PlaceEverywhere" value="true" />
        <property name="Model" value="#@modfolder:Resources/Elevator.unity3d?ElevatorV2Camo_PR.prefab"/>
        <property name="MultiBlockDim" value="6,10,6" />
        <property name="PassThroughDamage" value="true" />
        <property name="LightOpacity" value="1" />
		<property name="RequiredPower" value="10"/>
        <property name="Shape" value="ModelEntity" />    
        <property name="FuelValue" value="300" />
        <property name="ImposterExchange" value="imposterCTRPlate" param1="35" />
		<property class="RepairItems">
          <property name="resourceForgedIron" value="20" />
        </property>
        <property name="CustomUpgradeSound" value="place_block_wood" />
        <drop event="Harvest" name="resourceForgedIron" count="6" tool_category="Disassemble"/>
        <drop event="Destroy" count="0" />
        <property name="Group" value="Building,Basics" />
        <property name="EconomicValue" value="5" />
        <property name="EconomicBundleSize" value="10" />
		</block>
 
Last edited by a moderator:
Just spitballing here, but in Unity, was your model tagged as T_Block so it'll be recognized by the electrical system? That's the only possible error I can think of offhand.

 
Thanks fot awnsering.

Never used Unity, took an finished Mod and just wanted to add wattage

I'll see next days, wether i can find the option or not. 

 
Last edited by a moderator:
Back
Top