Jump to content

Help modding a Door to a powered One - Wattage


Headshrinker

Recommended Posts

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.thumb.jpg.5067b66aa7ac8cf08b33c1a53898903f.jpg

But then no more Wattage and Console shows Error

DoorError.thumb.jpg.739848ca966a4f97a79e329b18db889e.jpg

 

 

<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>

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...