Recompiling Light Only Last edited 4 years ago2020-06-19 03:09:46 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.
Even fairly optimized maps can take a long time to compile VIS, therefore it is useful to compile only RAD if you only want to change the lighting. Editing the light values in the editor and then attempting to recompile the map won't work, as RAD only works with BSP files and will ignore the MAP file exported by the editor. Therefore, the lighting of the compiled BSP must be edited with RIPENT, a tool for exporting and importing entity data, before recompiling with RAD.

Requisites

Using RIPENT to edit entity data

Export

Use the command line to run RIPENT on your map with the -export parameter. This will create an ENT file in the directory your map is in.
User posted image

Modify

Modify the entity file as you see fit.
User posted image

Import

Import the new entity file with the -import parameter. If you have baked textures (zhlt_embedlightmap), it may be a good idea to use -deleteembeddedlightmaps too.
User posted image

Compile

Compile your map with RAD.
User posted image
If you reload your map in-game, you should have the new lighting.
User posted image

1 Comment

Commented 1 month ago2024-09-18 02:00:38 UTC Comment #106404
[new]bspguy update needed

You must log in to post a comment. You can login or register a new account.