Forums Index >> Modding >> Fog Script?



Page : <1> :


Can someone give me the script for non hurting fog?

And where do you store it?

Saturday, September 30, 2006 at 7:13:42 AM

Why don't you go to modding resource
ok to make the fog don't kill go to your mission file
and make the floor = "-99";

 

Saturday, September 30, 2006 at 11:15:32 AM

Where exactly do you type this?
and it dont work :'(
I can go to the bottom but I die after 4-5 seconds :[

Last edited: Saturday, September 30, 2006 at 5:44:21 PM

Saturday, September 30, 2006 at 5:12:55 PM

Did you change the Area size
the fog will kill if u didn't change the area size
the normal size of the mod is Area = "-256 -256 512 512";
make it Area = "-10000 -10000 20000 20000";
or whatever you want :)

 

Sunday, October 01, 2006 at 5:23:11 AM

Sunday, October 01, 2006 at 12:13:07 PM

^ wtf is the obis?

With the Ment@lity of an angry Mob .

Sunday, October 01, 2006 at 1:07:34 PM

You dont know?!? :'(

Fog...obis...fog...

OBIS=FOG!!!!!!!!

Sunday, October 01, 2006 at 2:06:33 PM

....... ABYSS?

With the Ment@lity of an angry Mob .

Sunday, October 01, 2006 at 3:11:15 PM

Great. Noobs on crack.

 

I love my randylion

 

Tuesday, October 03, 2006 at 7:59:36 AM

@ Fuji rotflmao - lets see if this helps :P

Oh and the so called best modder Nokta is completely wrong!!!! You do not need to change the mod area at all, leave it as it is, this has no effect whatsoever on the floor height or at which point you die.

Its not the fog that kills you. What kills you is the floor height, thats the height from the bottom of the map in meters that the floor is set at. When you hit the floor levelthats where you will die. The floor level can be found in the mission file near the top and in the example below its set at 150 meters. Change this value to the height you require, which in most cases will be different for every map you make.

 

                                        
new MissionArea(MissionArea) {
area = "-248 -256 992 512";
flightCeiling = "300";
flightCeilingRange = "20";
floor = "150";
locked = "true";
};

 

If you do not know how the fog works read this below as it clearly explains how to set fog levels.

General Fog

The first type of fog supported affects visibility regardless of your location. The
field fogDistance is used to determine this. Low values indicate low visibility and high
values indicate high visiblity. A value as high as or higher than visibleDistance is like
have 100% visibility (unless you have noRenderBans un-checked).

Fog Layers

As noted above, there are three layers. Layer 1, 2 and 3. Layer1 is always the
lowest and Layer 3 is always the highest. Each layer has a field fogVolumeN associated
with it. This field takes three parameters:

Visible Distance Bottom Elevation Top Elevation

The ‘visible distance’ determines the distance from the camera at which visibility
is (near) zero. ‘Bottom’ and ‘Top Elevations’ determine where the layer (or band) of fog
begins and ends respectively. To enable a band, ‘visible distance’ must be greater than 0
and ‘Top Elevation’ must be greater than ‘Bottom Elevation’. Also, do not forget, if you
are going to enable more than one layer of fog, they must not overlap each other or
rendering will get messed up. They may touch but not penetrate. Here is an example of
some settings:

FogVolume0 = “250 0 50”;
fogVolume1 = “350 50 150”;
fogVolume1 = “25 200 500”;

The first layer starts at 0 meters and stops at 50 meters, with a visible distance of
250 meters.

The second layer starts at 50 meters (touching layer one) and stops at 150 meters,
with a visible distance of 350 meters.

The third layer starts at 200 meters and stops at 500 meters, with a visible distance
of only 25 meters.

If you want more information on TGE then go to my website (click my sig to go there) and on the downloads page download and read the TGE user guide - its a must for any modder

 

 

 

 

Last edited: Tuesday, October 03, 2006 at 11:28:27 AM

Tuesday, October 03, 2006 at 11:24:14 AM

Well

 

Oh and the so called best modder Nokta is completely wrong!!!!

 


Dazzle I didn't say I'am the best modder everyone is good
and I don't change the area in my mods XD
I tell him that because it's fast
no wrongs happen hehe :)
anyway I think Unstopp@ble*AT/-OC* get it ;)

 

Tuesday, October 03, 2006 at 12:54:38 PM

Well if you dont change the area size why tell someone who is new to modding to do it and confuse them, which is what you tried to do.

In future just give the information required and make sure you are 100% right, and if you are not sure then dont offer to help, that way you wont be wasting your own or other peoples time.

 

 

 

 

Tuesday, October 03, 2006 at 5:38:51 PM

It works ok, thts all that matters! Srry for spammin up mod forum, im just completeley new to MW3

Wednesday, October 04, 2006 at 4:30:47 PM

@ fujifilm

Lol....Now that's funny.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Wednesday, October 04, 2006 at 4:36:20 PM

 

 

Great. Noobs on crack.

 

We're back in business eh Fuji

Wednesday, October 04, 2006 at 4:40:39 PM

@ blitzer n fugi

Becareful he mighta stole sum watchhim if he is scratchin his neck o.O

With the Ment@lity of an angry Mob .

Thursday, October 05, 2006 at 1:25:43 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald