No announcement yet.

Some questions @ XML edits

  • Filter
  • Time
  • Show
Clear All
new posts

    Some questions @ XML edits

    Anyone a idea how to make a Takeable Safe ?
    And how to edit the Color of the safe ?
    Tried this but it dont work

    <block id="2044" name="Mitril Safe">
    <property name="Group" value="Building"/>
    <property name="Class" value="SecureLoot"/>
    <property name="CustomIcon" value="cntGunSafe"/>
    <property name="CustomIconTint" value="ffff00"/>
    <property name="Material" value="Mmetal_hard"/>
    <property name="MaxDamage" value="500000"/>
    <property name="Shape" value="ModelEntity"/>
    <property name="Model" value="Entities/LootContainers/gun_safePrefab"/>
    <property name="MultiBlockDim" value="1,2,1"/>
    <property name="ImposterExchange" value="imposterBlock" param1="18"/>
    <property name="IsTerrainDecoration" value="true"/>
    <property name="Place" value="TowardsPlacerInverted"/>
    <property name="LootList" value="42"/>
    <property class="RepairItems"> <property name="forgedSteel" value="1"/> </property>
    <drop event="Destroy" count="0"/>
    <drop event="Fall" name="scrapMetalPile" count="1" prob=".75" stick_chance="1"/>
    <property name="EconomicValue" value="1"/>
    <property name="RandomTintColor1" value="255,255,0" param1="cntGunSafe"/>
    <property name="TakeDelay" value="5"/>

    And how to make a admin tool that gives no XP or Material
    <item id="1511" name="Adminaxe">
    <property name="DescriptionKey" value="tazasStoneaxeDesc"/>
    <property name="Extends" value="stoneAxe"/>
    <property name="EconomicValue" value="200"/>
    <property name="CustomIcon" value="stoneAxe"/> <property name="CustomIconTint" value="ffff00"/>
    <property class="Attributes">
    <property name="EntityDamage" value="1000000,20000000"/>
    <property name="BlockDamage" value="1000000,20000000"/>
    <property name="DegradationMax" value="10000,20000"/>
    <property name="DegradationRate" value="1,1"/>
    <property class="Action0"> <!-- AttackAction -->
    <property name="SupportHarvesting" value="false"/>
    <property name="ActionExp" value="0"/>

    <property name="HarvestOverdamage" value="false"/>

    And is there a way to add Leveled items to the Startequipment ? (answered elsewhere, yes via quests)
    Last edited by Royal Deluxe; 11-04-2017, 07:13 PM.

    If you want a safe that can be picked up or disassembled on the spot, you can either add <property name="CanPickup" value="true"/> -or- <drop event="Destroy" name="Mitril_Safe" count="1" prob="1" tool_category="Disassemble"/> (need to make the block a no-spaces name).

    Either of these options will delete the contents of the safe, so make sure it's empty first.