Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Editing QSB FOG
From Quake Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
− | New console command: | + | New console command: qsb_fog <nearclip> <farclip> <red> <green> <blue>. If all values specified are 0, fog is turned off. |
− | worldspawn can specify " | + | worldspawn can specify "qsb_fog_dist" "0 1024" (first value is nearclip, second is farclip) to set fog values. |
− | worldspawn can specify " | + | worldspawn can specify "qsb_fog_color" "0.5 0.5 0.5" (colors for the fog in red, green and blue) to set fog values. |
− | If QuakeC specifies vector fields | + | If QuakeC specifies vector fields .qsb_fog_dist and .qsb_fog_color, the values from worldspawn are stored in these fields, which are useful when using [[NEH_RESTOREGAME]], to restore fog to the level after loading a savegame. |