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

heatmap

UbberN00ber

New member
is it possible to add heatmap properties to the spotlight to attract zombies... i tired this below but did attract any screamers

<configs><append xpath="/blocks">

<block name="ScreamerSpotlight">

<property name="CreativeMode" value="Player"/>

<property name="CustomIcon" value="spotlightNailedDownPOI"/>

<property name="CustomIconTint" value="255,0,0"/>

<property name="Class" value="Spotlight"/>

<property name="RuntimeSwitch" value="true"/>

<property name="Material" value="Mmetal"/>

<property name="Shape" value="ModelEntity"/>

<property name="Path" value="solid"/>

<property name="Model" value="Entities/Lighting/player_spotlightPrefab"/>

<property name="ImposterDontBlock" value="true"/>

<property name="Place" value="Spotlight"/>

<property class="RepairItems">

<property name="resourceElectricParts" value="6"/>

<property name="resourceScrapIron" value="40"/>

</property>

<drop event="Harvest" name="resourceScrapIron" count="24" tag="allHarvest"/>

<drop event="Harvest" name="terrStone" count="0" tool_category="Disassemble"/>

<drop event="Harvest" name="resourceScrapIron" count="20" tag="salvageHarvest"/>

<drop event="Harvest" name="resourceElectricParts" count="3" tag="salvageHarvest"/>

<drop event="Destroy" count="0"/>

<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>

<property name="OnlySimpleRotations" value="true"/>

<property name="IsTerrainDecoration" value="true"/>

<property name="EconomicValue" value="310"/>

<property name="Group" value="Science"/>

<property name="TakeDelay" value="10"/>

<property name="PickupJournalEntry" value="cameraTip"/>

<property name="FilterTags" value="fdecor,felectrical"/>

<property name="SortOrder1" value="70a0"/>

<property name="MaxDamage" value="300"/> <!-- block health -->

<property name="HeatMapStrength" value="100"/> <!-- increase if you need it to generate heat/summon screamers faster. 100 would be the most that's needed. -->

<property name="HeatMapTime" value="1200"/>

<property name="HeatMapFrequency" value="25"/> <!-- lower generates heat faster -->

</block>

</append>

</configs>
 
So the ScreamerSpotlight doesn't attract zombies?

Adding 100 heat once every 25 minutes seems pretty slow for testing, I suggest 1000 heat every 1 minute to quickly ascertain whether or not it's working.

I suggest dropping HeatMapTime down to 10 or something during the test though, so you don't turn that area into screamer central for 20 straight hours.

Edit: On second thought I suggest backing up the save file before doing this at all, I'm not sure how the heat system works with timers.

Also I'd probably just directly append these to the original spotlight, instead of having a second spotlight and confusing the issue.

Code:
<configs>
<append xpath="/blocks/block[@name='spotlightPlayer']">
 <property name="HeatMapStrength" value="100"/>
 <property name="HeatMapTime" value="1200"/>
 <property name="HeatMapFrequency" value="25"/>
</append>
</configs>
 
Last edited by a moderator:
Try changing the blocks class to a class that supports heatmap, like <property name="Class" value="Light"/>

 
Back
Top