Author Topic: Fog - Help Please  (Read 6489 times)

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Fog - Help Please
« on: June 07, 2008, 06:32:32 am »
Arg
in my map pitfall
http://tremulous.net/forum/index.php?topic=7979.0
i want to put a block of fog into the pits so you cant see the bottom i can make white fog that has very short visibility but i need a black fog with allot further viability i tried editing the shader here is what i used

Code: [Select]
qer_editorimage textures/outdoor/sfx_fog_timctf1.tga
surfaceparm trans
surfaceparm nonsolid
surfaceparm fog
surfaceparm nolightmap
fogparms ( 1 1 1 ) 8192
its based on one in transit or somethin like that anyway help would be appreciated
i appologise for however ive offended people with my grammar and spelling
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #2 on: June 08, 2008, 01:48:38 am »
yea ok i got the rgb value worng but nothing i do to the shader seems to affect the fog it is always white with the same visability.
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #3 on: June 15, 2008, 12:45:07 am »
can someone plese give me a fog shader thats black and has about 2048 visibility
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

Lava Croft

  • Guest
Re: Fog - Help Please
« Reply #4 on: June 15, 2008, 02:26:29 am »
Make it yourself, you have been given all the information you need. If you are not able to make it yourself, give up on mapping, because you will probably come across much nastier shaders than this.

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #5 on: June 15, 2008, 02:31:40 am »
i made it i even tried coppying it directly from other levels (fixing up names of files) but it dosent work i always get identical white fog)
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

Lava Croft

  • Guest
Re: Fog - Help Please
« Reply #6 on: June 15, 2008, 02:39:35 am »
i made it i even tried coppying it directly from other levels (fixing up names of files) but it dosent work i always get identical white fog)

Code: [Select]
textures/uncreation/fogfalloff
{
qer_editorimage textures/sfx/fog_black.tga
qer_nocarve
surfaceparm trans
surfaceparm nonsolid
surfaceparm fog
surfaceparm nolightmap
fogparms ( .03 .01 .01 ) 2048
}

Try fucking around with this. Stop asking people to do things for you.



Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #7 on: June 15, 2008, 02:56:22 am »
still the same white fog is there any special compile that is needed i have been useing
(test) BSP -meta, -vis, -light -fast -filter
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

Lava Croft

  • Guest
Re: Fog - Help Please
« Reply #8 on: June 15, 2008, 10:06:43 am »
Compile switches don't matter in this case. If you keep on getting white fog, get the RGB values right.

[PS] If you keep on getting the same white fog, your RGB values are not right.
[PS2] You sure your own fog shader is actually being used, and not the fog shader from some other map?

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #9 on: June 15, 2008, 10:28:12 am »
well as for the rgb values i coppied your shader exactly ecept for the title changed from uncreation then i copied the whole textures/mapname/texturename thing and pasted it into surface inspector window or somethig like
and yes im shure its useing the right texture because it messes up when i delete the shader
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

Lava Croft

  • Guest
Re: Fog - Help Please
« Reply #10 on: June 15, 2008, 12:55:04 pm »
For a fog shader, the texture does not matter, it is merely a placeholder, so you can recognize fog volumes in Radiant.
I myself have toyed with that Uncreation shader and I never had trouble with it, so I am having difficulties trying to figure out what you are doing wrong.

blood2.0

  • Guest
Re: Fog - Help Please
« Reply #11 on: June 15, 2008, 09:39:32 pm »
try this

Code: [Select]
textures/uncreation/fogfalloff
{
qer_editorimage textures/sfx/fog_black.tga
qer_nocarve
surfaceparm trans
surfaceparm nonsolid
surfaceparm fog
surfaceparm nolightmap
fogparms ( .00 .00 .00 ) 2048
}

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #12 on: June 16, 2008, 06:47:05 am »
dosent affect it still the same useless annoying fog, nothing i do to the fogparams changes it its always white with short visability
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

blood2.0

  • Guest
Re: Fog - Help Please
« Reply #13 on: June 17, 2008, 12:51:48 am »
try this

Code: [Select]
textures/uncreation/fogfalloff
{
qer_editorimage textures/sfx/fog_black.tga
qer_nocarve
surfaceparm trans
surfaceparm nonsolid
surfaceparm fog
surfaceparm nolightmap
fogparms ( .00 .00 .00 ) 0
}
that might work

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Fog - Help Please
« Reply #14 on: June 17, 2008, 01:52:05 am »
dosent affect it still the same useless annoying fog, nothing i do to the fogparams changes it its always white with short visability
Are you ABSOLUTELY sure that this is not due to a naming conflict? What is the full name of your fog shader?

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #15 on: June 17, 2008, 07:15:16 am »
textures/outdoor/fogfalloff
{
qer_editorimage textures/sfx/fog_black.tga
qer_nocarve
surfaceparm   trans
surfaceparm   nonsolid
surfaceparm   fog
surfaceparm   nolightmap
fogparms ( .00 .00 .00 ) 2048
}

outdoor shader is the shader i use for all of my shader testing
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #16 on: June 18, 2008, 06:13:49 am »
dont know if this helps but noclip dosent work on my map either

edit i did something now the shader is stuck with the white and grey no shader texture thingy but it is non solid
« Last Edit: June 18, 2008, 06:46:17 am by Hugoagogo »
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Fog - Help Please
« Reply #17 on: June 18, 2008, 08:16:04 am »
noclip doesn't work: not devmap or you were a spec.

Hugoagogo

  • Posts: 96
  • Turrets: +2/-9
Re: Fog - Help Please
« Reply #18 on: June 18, 2008, 12:35:08 pm »
aha ive solved it i created the effect i wanted using negative lighting oh well no fog but yay it works
Hugoagogo - The evil and slightly mad scientist

Life has a rubbish respawn time