setglobalfog???


(SiliconSlick) #1

The LDR mentions the “setglobalfog” command but
doesn’t really detail the parameters.

AFAICT, it doesn’t do anything at all.

I’ve tried a number of settings in game_manager->spawn
but none seem to do anything… examples include:

                wm_announce "Setting fog"
                // setglobalfog 1 10 ( .5 .5 .5 ) .5
                // setglobalfog 0 60 ( .9 .9 .9 ) .9
                // setglobalfog 1 60 ( .2 .2 .2 ) .9
                // setglobalfog 1 30 ( 200 200 200 ) 200
                setglobalfog 1 30

with no noticable effect (other than the “Setting fog” message
in the console). [Note: parentheses added around RGB
values since I was getting parse errors without them.]

Anyone have any ideas what this command does
and how to use it?

TIA,

SiliconSlick