Silveressa Posted January 14, 2015 Share Posted January 14, 2015 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 More sharing options...
Gazz Posted January 14, 2015 Share Posted January 14, 2015 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 More sharing options...
Silveressa Posted January 14, 2015 Author Share Posted January 14, 2015 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 More sharing options...
Gazz Posted January 14, 2015 Share Posted January 14, 2015 No, they simply use the particle effect for lighting. Link to comment Share on other sites More sharing options...
SlicksGirl Posted March 17, 2019 Share Posted March 17, 2019 THANK YOU.. you supplied code for something else i'm working on totally unrelated to this lighting project! picking stuff up! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.