a couple questions


(TheRogueEvangelist) #1
  1. On most of my misc_models, it can’t find the shader. (In other words, with about %75 of the models I try to put into my map, it says “shader not found” all over it.

  2. How do you create fog?


(DiaZ) #2

I remember you had to install some kind of updated media for the model skins to work, although that wouldn’t fix them all, bust most of them. I don’t remember where to find it anymore, though.

About the fog, if all you want is the common distance haze, you have to edit your sky shader. If you’re using a custom sky, you have to add the fogvars and skyfogvars to your shader. They look somewhat like this:

fogvars ( 0.1 0.1 0.1 10 )
skyfogvars ( 0.1 0.1 0.1 10 )

The first three numbers are the red-green-blue values for the fog colors, their range is from 0.0 to 1.0.

The last number is the fog density, you’ll have to experiment with that one.

Hope this helps.


(Schubi) #3

I remember, that the last value is the alpha-channel (transparency) -> RGBA

Anyway - I’m searching for a RGB colortable or a programm, which shows the colors in the range of 0.0 to 1.0. Does anyone know, where I can get/find this?


(redfella) #4

‘k’ in radiant.


(TheRogueEvangelist) #5

Cease discussion.

Sorry ppl, what I was meaning to say was how do you make fog on the ground…like at the begining of escape1.map. Should have made that clear (hell, should have acually said that.)


(TheRogueEvangelist) #6

I going to go ahead and ask these questions in this thread as well, so as not to add another topic to the forum…my most recent 3 topics are almost spamming the top of the list.

  1. I need the following questions answered: a. What is the latest version of GtkRadiant? b. Where can I download an update from version 1.2.1 to it? c. Will I lose my maps?!?

  2. How do I set the stuff like the weapons a player starts out with, etc. in a singleplayer map? Is it an entity?

I will be adding question to this topic, probably.