Click a link to download the script.  All tools depend on Python 2.6

Python Tools for supplementing Radiant

Disclaimer: Radiant tools posted here are targeted for the public GTKRadiant, results may vary depending on version.

Entity Removal Tool
Entity Removal Tool 2
Decal Destroyer (Dependancy written for #2)
A tool that just uses the console for some basic user input, then gets every prefab in the specified map.  Next it searches those prefab files to build a list of entities on a given batch layer, and finally adds any other instances of items on the list also into the batch layer, setting it not to compile.  The script results in the object being flagged to be removed from the game (and effectively removed from memory at run time), but still be part of the level for possible future re-inclusion.
Entity Removal 2 Tool includes a decal Removal and Material Replace System.  You must set up a CSV file in which column 1 redirects to column 2 and column 3 is a list of decals to remove.


LOD Report and Removal
LOD Report
LOD Removal
Developed to determine how much memory was spent on LODs vs Auto LODs for a given list of models. The report only counts the number of LODs and auto LODs all of the models in your list have, (generally to find models with unnecessary amount of LODs) and to test memory we would run the LOD removal tool, changing the global variables depending on how many we would want to drop (e.g. we could keep LOD1-3 and drop anything higher than 4, and drop any auto LOD after LOD1). 

LOD Backup Tool
LOD backup tool is another version f the LOD removal tool that also has the ability to copy the export file of everything on a list, in case of integration stomping work, there is a backup.

Material Replace Tool
Replaces all materials in a list with general materials that the user defines.  The purpose of this was to use Asset Profile to get a list of the lowest instance count materials and replace them with common ones to reduce the overall total material count in the world to improve memory. (See also the Decal Destroyer script under layeroutents tool, which operates similarly to this)

Micro Tile to Standard Material Converter
Converts micro tiled materials to the standard version of their shader. For example, advanced micro tiled would become lit advanced.

Normalize all Lighting Stops
A tool to set all Light stops to the same value.  Also has the ability to enable or disable falloff globally, or leave falloff unchanged.

Rename Layers
A simple function, You can input any layer name and it will change the name of that layer to a new name, and will look for the old layer name.  Combined with the prefab list from the entity removal tool, it makes changes in naming conventions easy.

Flood an exported Xmodel with white vertex color
I wrote this very short script as the solution to needing to fix a bug with wrongly-exported files when we didn't have the Maya source files.

Layer Generation Change
A short script I wrote to fix a common mistake of marking layers for the wrong build platform.

Fix materials using nonexistent in-editor materials after DLC redirect
This was another short file parse to fix an issue where radiant wouldn't draw some brushes because they were using a bad flag.

Swap Portal_Caulk with Standard Caulk
A tool allowing people working with a portal PVS system to change the structural portal brushes to a bright color for building the system to differentiate it from standard designer caulk, then convert it back to standard caulk when you are ready to submit the system.