GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Recompiling Light Only

A Tutorial for Goldsource Engine

Updates

Update 18d
  • Addition -onlyents method
Even fairly optimized maps can take a long time to compile VIS, therefore it is useful to compile only CSG and RAD if you only want to make adjustments to lighting or other entities.

1. Requisites


2. -onlyents

This is the faster method. If you compile your map with the -onlyents parameter 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. Ripent

Instead 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. 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.


3.2. Modify

Modify the entity file as you see fit.


3.3. 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.


3.4. Compile

Compile your map with RAD.


If you reload your map in-game, you should have the new lighting.

Sign up to access this!

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
seedee avatar
seedee username pic Joined 5mo ago
Offλine
1,664 points Ranked 21675th
15 medals 2 rare
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • Received thanks 5 times Medal icon
  • Returned 100 times Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
  • Submitted 1 Tool Medal icon

Submitter

seedee avatar
seedee username pic Joined 5mo ago
Offλine
1,664 points Ranked 21675th
15 medals 2 rare
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • Received thanks 5 times Medal icon
  • Returned 100 times Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
  • Submitted 1 Tool Medal icon
seedee avatar
seedee

Creator
  • Paypal Donate
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Genre
Mapping

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 3
  • 2.2k
  • 6
  • 20d
  • 8d
  • 18d

More from Submitter

WiPs by Submitter

More Mapping Tutorials