$world farplane 10000

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
tuffstuff7
Captain
Posts: 265
Joined: Mon Jan 06, 2003 12:59 am
Contact:

$world farplane 10000

Post by tuffstuff7 »

i know this is sup[posed to be fog or so i think

$world farplane 10000
$world farplane_color (.333 .333 .333)


where in mohaa can u look at the sounds, fog and such i am lost and really hate copying others i want to get this with my own idea's and your help
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

try this out

$world farplane_color ".255 .255 .255"
level.fogplane=2500
$world farplane level.fogplane

then later in your script or by a trigger

fog:
$fog_trigger waittill trigger
for (local.i=1;local.i < 60;local.i++)
{
local.fog = (level.fogplane - 25)
level.fogplane = local.fog
$world farplane level.fogplane
}
end

then sit back and watch the fog roll in
tuffstuff7
Captain
Posts: 265
Joined: Mon Jan 06, 2003 12:59 am
Contact:

Post by tuffstuff7 »

well ty but what i was really taling about was where in the pak do u find the plane wind sounds fog etc it is there isn't it?
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

The ambient sound file aren't in the pk3 files, they're already extracted. You can find them in these directories:

\main\sound\amb
\main\sound\amb_stereo

Try amb_m5_field.wav or Amb_M6_WoodsExt_02 in the amb_stero folder, they're windy ones.

What sound does fog make ?!?
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

He means where can he find out how to write the ambience and farplane that his level will be using.

Check this for the ambience.
Regarding the farplane, best thing to do is copy from someone else and adjust the numbers to your liking.
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

MPowell1944 wrote:He means where can he find out how to write the ambience and farplane that his level will be using.
tuffstuff7 wrote:where in the pak do u find the plane wind sounds
???? Now I'm confused aswell.
[60th]Capt.Legolas
Lance Corporal
Posts: 19
Joined: Sat Mar 08, 2003 7:24 pm
Location: SC, USA
Contact:

Post by [60th]Capt.Legolas »

bdbodger wrote:try this out

$world farplane_color ".255 .255 .255"
level.fogplane=2500
$world farplane level.fogplane

so this is what i wold do if i dont want to use a trigger?, i mean so its there to begin with and im thinking somethin like have it under waittil prespawn, or would i put it before that

well any help would be appreciated
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."

Skinner
Modder
Tactical Player
and last but not least.....

the semi-n00b mapper
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Should be fine under level waittill prespawn. Or you can do it via worldspwan. Using farplane and farplane_color.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Check the worldspawn reference guide for guides to worldspawn....duh!
Live to map, not map to live.
-mohaa_rox, .map
moderator
[60th]Capt.Legolas
Lance Corporal
Posts: 19
Joined: Sat Mar 08, 2003 7:24 pm
Location: SC, USA
Contact:

Post by [60th]Capt.Legolas »

mohaa_rox wrote:Check the worldspawn reference guide for guides to worldspawn....duh!
well I'm doing it in my script so I'm not worrying about the worldspawn guide
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."

Skinner
Modder
Tactical Player
and last but not least.....

the semi-n00b mapper
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post by Innkeeper »

The worldspawn reference guide is a good reference for the values even if you want to do it the script.
[60th]Capt.Legolas
Lance Corporal
Posts: 19
Joined: Sat Mar 08, 2003 7:24 pm
Location: SC, USA
Contact:

Post by [60th]Capt.Legolas »

so I should put it in both? one of those good things to practice doing so you don't screw up later on things?
"He stands not alone," said Legolas, bending his bow and fitting an arrow with his
hands that moved quicker than sight. "You would die before the stroke fell."

Skinner
Modder
Tactical Player
and last but not least.....

the semi-n00b mapper
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post by Innkeeper »

You dont need it both. Put it in your script if plan on changing it during the game. Even if you add it to the worldspawn entity in the .map file you can still change it in a script. The reference guide is good for looking up what the values are for different standard maps.
Post Reply