Crater Creator
Community Moderator
My goal is to make a variant of block 630, rockResource. In order to distinguish it from the original, I'd like to tint it, using the same property that colors cars.
If I place a randomCarsHelper in creative mode, it shows up green. But when I place my new block, its color is unchanged. My best guess is param1 is needed, which for randomCarsHelper is set to "car03_white". I'm further guessing this specifies which texture file to tint, but I can't tell what the corresponding name is for rock_resourcePrefab. Anybody know?
Code:
<block id="1078" name="boulderIronS1"> <!-- biome decoration -->
<property name="CreativeMode" value="Dev"/>
<property name="Material" value="Mboulder"/>
<!--property name="StabilitySupport" value="false" NOT SUPPORTED FOR MULTIBLOCKS! /-->
<property name="Shape" value="ModelEntity"/>
<property name="IsTerrainDecoration" value="true"/>
<property name="BigDecorationRadius" value="2"/>
<property name="Model" value="Entities/Resources/rock_resourcePrefab"/>
<property name="MultiBlockDim" value="3,2,3"/>
<property name="ImposterDontBlock" value="true"/>
<property name="Collide" value="movement,melee,bullet,arrow,rocket"/>
<property name="PassThroughDamage" value="true"/>
<drop event="Harvest" name="rockSmall" count="22" tool_category="harvestingTools"/>
<drop event="Harvest" name="ironFragment" count="11" tool_category="harvestingTools"/>
<drop event="Destroy" name="rockSmall" count="11" prob="1" />
<drop event="Destroy" name="ironFragment" count="5" prob="1" />
<property name="DowngradeBlock" value="boulderIronS2"/>
[b][color="#FF8C00"]<property name="RandomTintColor1" value="255,0,0"/>[/color][/b]
<property name="Map.Color" value="120,120,120"/>
</block>