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

[Help] How do I modify the brightness of wall torches

The Lorax

New member
I am attempting to increase the light intensity of wall torches and cannot find a way with XML. Anyone have any ideas?

 
I believe it's in the asset file. You would have to modify the asset of the torch like in the HDHQ overhaul mod.

 
Code:
<configs>
<set xpath="/items/item[@name='meleeToolTorch']/property[@name='LightValue']/@value">[color=#FFFF00]0.35[/color]</set>
<!-- Change the number in yellow to change light values, bigger # = more light - Default value 0.35 -->  
</configs>
 
Code:
<configs>
<set xpath="/items/item[@name='meleeToolTorch']/property[@name='LightValue']/@value">[color=#FFFF00]0.35[/color]</set>
<!-- Change the number in yellow to change light values, bigger # = more light - Default value 0.35 -->  
</configs>
Duke, I believe that only modifies the torch in your hand. I tried the same thing earlier.

 
Then as per normal with A17 the extends isn't working all the time, try adding the property to the placed torch in blocks xml

Code:
<block name="wallTorchLightPlayer">
<property name="Extends" value="wallTorchLight"/>
<property name="Model" value="Entities/Lighting/torch_wall_playerPrefab"/>
<property name="StabilitySupport" value="false"/>
<property name="CreativeMode" value="Player"/>
<property name="CustomIcon" value="wallTorchLight"/>
<property name="Stacknumber" value="50"/>
[color=#ffff00]<property name="LightValue" value="0.35"/>  <!-- Add This -->[/color]
<property name="Class" value="TorchHeatMap"/>
<property name="HeatMapStrength" value="4.05"/>
<property name="HeatMapTime" value="1200"/> <!-- str1, t600, f5 = 2.5; str1, t900, f5 = 4; str4.05, t1200, f15 = 4.05-8.1; -->
<property name="HeatMapFrequency" value="15"/>
<property name="DescriptionKey" value="torchPlayerGroupDesc"/>
</block>
Thats the only things I can think of, fingers crossed :)

 
Back
Top