Jump to content

Where to mod Torch/Candle light radius values?


Silveressa

Recommended Posts

I've noticed in the recent version torches give off much less light, which would be fine except placing more than a few torches in an area kills frame rates and to light up my base interior enough to keep Z's from spawning makes it a stuttering mess. Which .xml file do I need to alter to increase torch light radius to the previous (pre nerfed) builds level? Looking at the Torch in the item.xml I'm not seeing the line to alter the light zone radius. [CODE] [/CODE] Any help would be deeply appreciated.
Link to comment
Share on other sites

You're missing a line there =)

 

  <block id="1301" name="candleWall">
   <property name="Class" value="Torch" />
   <property name="IsTerrainDecoration" value="true" />
   <property name="Material" value="glass" />
   <property name="Shape" value="Ext3dModel" />
   <property name="Mesh" value="models" />
   <property name="Model" value="Lighting/candleWall" param1="main_mesh" />
   <property name="Place" value="TowardsPlacerInverted" />
   <property name="ParticleName" value="candleWall_flame" />
   <property name="Light" value="0.9" />
   <property name="Group" value="Building" />
   <drop event="Destroy" name="candle" count="1" />
 </block>

Link to comment
Share on other sites

Thanks a bunch, oddly enough that "Light Value Line" is completely missing from the original blocks XML file, leading me to suspect the light issue is an unintentional bug?

 

  <block id="1301" name="candleWall">
   <property name="Class" value="Torch" /> 
   <property name="IsTerrainDecoration" value="true" />
   <property name="Material" value="wood_weak" />
   <property name="Shape" value="Ext3dModel" />
   <property name="Mesh" value="models" />
   <property name="Model" value="Lighting/candleWall" param1="main_mesh" />
   <property name="Place" value="TowardsPlacerInverted" />
   <property name="ParticleName" value="candleWall_flame" />
   <property name="CanPickup" value="true" param1="candle" />
   <property name="Group" value="Building" />
 </block>

Link to comment
Share on other sites

  • 4 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...