PDA

View Full Version : Mechanics Blocks.xml Simple things



Lordicon
04-15-2015, 03:33 AM
Blocks found so far dropping wrong material on break. Dropping scrapIron but I believe should be woodPlanks

<block id="749" name="woodInsideCornerFrame">
<property name="Material" value="wood+wood" />
<property name="Shape" value="WedgedInnerFull" />
<property name="Mesh" value="cutout" />
<property name="Texture" value="381" />
<property name="FuelValue" value="132" />
<property name="Collide" value="movement,rocket,melee" />
<property class="UpgradeBlock">
<property name="ToBlock" value="woodInsideCorner" />
<property name="Item" value="woodPlank" />
<property name="ItemCount" value="2" />
<property name="UpgradeHitCount" value="4" />
</property>
<property name="CanPickup" value="true" />
<drop event="Destroy" name="scrapIron" count="1" prob=".7" />
<property name="Group" value="Building" />
</block>
<block id="750" name="woodInsideCorner">
<property name="Material" value="wood+wood" />
<property name="Shape" value="WedgedInnerFull" />
<property name="Texture" value="241" />
<property class="UpgradeBlock">
<property name="ToBlock" value="reinforcedWoodInsideCorner" />
<property name="Item" value="woodPlank" />
<property name="ItemCount" value="2" />
<property name="UpgradeHitCount" value="4" />
</property>
<property name="DowngradeBlock" value="solidWoodInsideCornerFrame" />
<drop event="Destroy" name="scrapIron" count="1" prob=".7" />
<property name="Group" value="Building" />
</block>
<block id="751" name="solidWoodInsideCornerFrame">
<property name="Material" value="wood+wood" />
<property name="Shape" value="WedgedInnerFull" />
<property name="Mesh" value="cutout" />
<property name="Texture" value="381" />
<property name="Collide" value="movement,rocket,melee" />
<property class="UpgradeBlock">
<property name="ToBlock" value="woodInsideCorner" />
<property name="Item" value="woodPlank" />
<property name="ItemCount" value="2" />
<property name="UpgradeHitCount" value="4" />
</property>
<drop event="Destroy" name="scrapIron" count="1" prob=".7" />
<property name="Group" value="Building" />
</block>


Suggestion: would change this block to goreblock on first destroy showing bones and guts.

<block id="361" name="corpseLoot01">
<property name="Class" value="Loot" />
<property name="Material" value="organic" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Model" value="LootContainers/corpse_loot01" param1="main_mesh" />
<property name="LootList" value="37" />
<drop event="Destroy" count="0" />
</block>
<block id="368" name="corpseLoot02">
<property name="Class" value="Loot" />
<property name="Material" value="organic" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Model" value="LootContainers/corpse_loot02" param1="main_mesh" />
<property name="LootList" value="37" />
<drop event="Destroy" count="0" />
</block>

So would be this, but just a suggestion

<block id="361" name="corpseLoot01">
<property name="Class" value="Loot" />
<property name="Material" value="organic" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Model" value="LootContainers/corpse_loot01" param1="main_mesh" />
<property name="LootList" value="37" />
<drop event="Destroy" count="0" />
<property name="DowngradeBlock" value="GoreBlock1BonesPrefab" />
</block>
<block id="368" name="corpseLoot02">
<property name="Class" value="Loot" />
<property name="Material" value="organic" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Model" value="LootContainers/corpse_loot02" param1="main_mesh" />
<property name="LootList" value="37" />
<drop event="Destroy" count="0" />
<property name="DowngradeBlock" value="GoreBlock1BonesPrefab" />
</block>

Shouldn't this have the particlename smokestorm?

<block id="382" name="barrelSmokeTest">
<property name="Class" value="Particle" />
<property name="Material" value="metal" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Model" value="Industrial/barrel01" param1="main_mesh" />
<property name="ParticleName" value="snowstorm1" />
<property name="ParticleOffset" value="0.5,0,0.5" />
</block>

A lot of players complain about this block after A11.2, Not sure if its just a mistake or meant to be like this now.

<block id="417" name="scrapMetalPile">
<property name="Material" value="metal_weak" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Weight" value="48" />
<property name="Model" value="OutdoorDecor/scrapmetalblock" param1="main_mesh" />
<property name="IsTerrainDecoration" value="true" />
</block>

They want it to be this.

<block id="417" name="scrapMetalPile">
<property name="Material" value="metal_weak" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Weight" value="48" />
<property name="Model" value="OutdoorDecor/scrapmetalblock" param1="main_mesh" />
<property name="IsTerrainDecoration" value="true" />
<drop event="Destroy" name="scrapIron" count="1,3" prob="1" />
</block>

These are just some of them I have not go all the way through the blocks.xml file yet.