| Author |
Topic: different fog/sun values |
| RollinHard |
General Member Since: Jun 7, 2006 Posts: 24 Last: Feb 22, 2010 [view latest posts] |
|
|
|
Category: CoD2 Scripting Posted: Tuesday, Feb. 13, 2007 07:09 pm |
 |
Is it possible that i can set another fog and sunlight only for dx7 in the main gsc or fx_gsc for MP?
Dont know if it is correct but something like this from SP:
Code: {
if (getcvar("r_rendererInUse") == "dx7")
setCullFog (000, 3500, 1, 1, 1, 0.1);
setSunLight( 1, 1, 1.2 );
}
thx for any help |
 |
|
|
| The_Caretaker |
General Member Since: Jun 8, 2004 Posts: 11625 Last: Jul 7, 2009 [view latest posts] |
|
|
|
Category: CoD2 Scripting Posted: Wednesday, Feb. 14, 2007 07:25 pm |
 |
well... you can try?
I'm not sure about the sunlight, but the fog should be working that way...
{
if (getcvar("r_rendererInUse") == "dx7")
{
setCullFog (000, 3500, 1, 1, 1, 0.1);
setSunLight( 1, 1, 1.2 );
}
else
{
setCullFog (000, 1500, 1, 1, 1, 0.1);
}
}
however... if you do this, you will give an unfair advantage to certain players, because people with DX7 can (in this script) see much further.
|
 |
|
|
| RollinHard |
General Member Since: Jun 7, 2006 Posts: 24 Last: Feb 22, 2010 [view latest posts] |
|
|
|
Category: CoD2 Scripting Posted: Wednesday, Feb. 14, 2007 07:41 pm |
 |
thanks
i will try it and understand your point maybe its better only for sp..
it was just because my map looks fine at dx9 but the same settings looks much brighter in dx7..would like to have the same light and fog design as in dx9 but ok ![[ohwell]](images/BBCode/smilies/ohwell.gif) |
 |
|
|
| KeiserSoze |
General Member Since: Feb 20, 2007 Posts: 11 Last: Aug 6, 2008 [view latest posts] |
|
|
|
|
| COLMAC |
 |
General Member Since: Sep 15, 2006 Posts: 914 Last: Jan 27, 2012 [view latest posts] |
|
|
|
|
| The_Caretaker |
General Member Since: Jun 8, 2004 Posts: 11625 Last: Jul 7, 2009 [view latest posts] |
|
|
|
|
| KeiserSoze |
General Member Since: Feb 20, 2007 Posts: 11 Last: Aug 6, 2008 [view latest posts] |
|
|
|
|
| Capt.Com |
General Member Since: Nov 14, 2004 Posts: 879 Last: Oct 6, 2007 [view latest posts] |
|
|
|
Category: CoD2 Scripting Posted: Tuesday, Feb. 20, 2007 04:54 pm |
 |
KeiserSoze writes...Quote: thx, guys...
So in other words have to unzip iwd file, use Radiant and change some things :)
Compile a new map and that's it.
I'm interested, are the sky light, sky colors, clouds, also part of that map package or they are rendered by game engine?
Can I say in GSC file that certain map will use heavy rain clouds, or that's also part of Radiant map project?
Do you mean you want to edit maps that are not yours? |
 |
|
|
| The_Caretaker |
General Member Since: Jun 8, 2004 Posts: 11625 Last: Jul 7, 2009 [view latest posts] |
|
|
|
|
| KeiserSoze |
General Member Since: Feb 20, 2007 Posts: 11 Last: Aug 6, 2008 [view latest posts] |
|
|
|
Category: CoD2 Scripting Posted: Tuesday, Feb. 20, 2007 05:20 pm |
 |
I'm not trying to publish or change somthing that's not mine work if you are refering to that... i'm just trying to learn something here...
I'm truely sorry if that also is not correct from me
But the thing is that I downloaded map that was not working initialy. Than after couple of hours I spent to fixing the problems with scripts i got it to work. Now I'm very interested into that scripting but first I would like to know what can i do with scripts.
By now i wasn't able to find good links that would explain all things I wish to now :(
Acctualy this portal is the one with most usable resources I have found.
And thank you guys for helping me one way or another.
Trying to figure out the whole proccess... maybe from the wrong side, but that's the side I understand the most...programing :) |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|