The Lorax Posted February 18, 2019 Share Posted February 18, 2019 I am attempting to increase the light intensity of wall torches and cannot find a way with XML. Anyone have any ideas? Link to comment Share on other sites More sharing options...
kronons Posted February 19, 2019 Share Posted February 19, 2019 I believe it's in the asset file. You would have to modify the asset of the torch like in the HDHQ overhaul mod. Link to comment Share on other sites More sharing options...
DukeW74 Posted February 19, 2019 Share Posted February 19, 2019 <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> Link to comment Share on other sites More sharing options...
The Lorax Posted February 19, 2019 Author Share Posted February 19, 2019 <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. Link to comment Share on other sites More sharing options...
DukeW74 Posted February 19, 2019 Share Posted February 19, 2019 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 <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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.