2. -onlyentsThis is the faster method. If you compile your map with the
-onlyentsparameter in CSG, it will overwrite the entity data lump in the map without affecting the geometry, lightmaps, cliphulls or visleaves. Afterwards, you can compile with RAD normally.
3. RipentInstead of CSG, I will be using Ripent, a tool used for exporting and importing entity data. You can move and rotate entities, delete entities and even create new entities that use existing brush models. I will be using Ripent to edit the light entity before recompiling with RAD.
3.1. ExportUse the command line to run Ripent on your map with the
-exportparameter. This will create an ENT file in the directory your map is in.
3.2. ModifyModify the entity file as you see fit.
3.3. ImportImport the new entity file with the
-importparameter. If you have baked textures ( zhlt_embedlightmap), it may be a good idea to use
3.4. CompileCompile your map with RAD.
If you reload your map in-game, you should have the new lighting.