Active Terrain Glower - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

TerrainCompProperties_Glower allows the terrain to glow

        public float overlightRadius;

         public float glowRadius = 14f;

         public ColorInt glowColor = new ColorInt(255, 255, 255, 0) * 1.45f;

         public bool powered = true;

How do I use this code?

It is a comp class, so you just add it in XML in the <terrainComps> tag of the ActiveTerrain.

<terrainComps>
	<li Class="VEF.Maps.TerrainCompProperties_Glower">
		<glowRadius>6</glowRadius>
		<glowColor>(255,0,0)</glowColor>
	</li>		
</terrainComps>
⚠️ **GitHub.com Fallback** ⚠️