Forums Index >> Modding >> Fog Script?
Page : <1> :
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";
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
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 :)
Great. Noobs on crack.
I love my randylion
@ 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
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 ;)
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.
It works ok, thts all that matters! Srry for spammin up mod forum, im just completeley new to MW3
@ fujifilm
Lol....Now that's funny.
4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!
Page : <1> :
Can someone give me the script for non hurting fog?
And where do you store it?
Link if you can't see sig.