New Doom Forums  
Fog in levels - New Doom Forums
Go Back   New Doom Forums > Source Ports > Doomsday > Mods & Maps

Reply
 
Thread Tools Display Modes
Old August 4th, 2004, 01:19 AM   #1
C e r b e r u s
Guest
 
Posts: n/a
Fog in levels

Is there a way to add fog in your level without the fog command in Jdoom?
Let's say I want to add red fog in a particular sector of my level.
Maybe with XG?
  Reply With Quote
Old August 4th, 2004, 02:00 AM   #2
Vermil
 
Vermil's Avatar
 
Join Date: Jul 2003
Posts: 1,261
You can set fog up in Dday that is automatically on the map when you start, by adding the lines in bold below to maps.ded under each map:

The R, G and B flags control the colour. The bottom three lines will only work in some fog modes.

Map Info {
ID = "MAP10";
Name = "Level 10: Refueling Base";
Author = "id Software";
Par time = 0.0;
Gravity = 1;
Flags = "mif_fog";
Fog color R = 0.4;
Fog color G = 0.4;
Fog color B = 0.4;
Fog start = 96;
Fog end = 4000;
Fog density = 0.0004;

Sky height = 0.49;
Horizon offset = -0.105;
Sky Layer 1 {
Flags = "slf_enable";
Texture = "SKY1";
};
}

EDIT: Sorry you meant for specific sectors. Please ignore the above. What Harry says below is correct. Indeed particle generators could be used to try and mimic the effect.

Last edited by Vermil; August 4th, 2004 at 02:12 AM.
Vermil is offline   Reply With Quote
Old August 4th, 2004, 02:03 AM   #3
Harry
 
Join Date: Jun 2004
Location: Manchester, UK
Posts: 1,393
I'm sorry, I don't think you can do that yet with jDoom, maybe if you made a particle generator though... look here.
This is BAMs teleport effects. it is a particle generator triggered by the flats.
What vermil has said makes fog in the whole map, when using fog, it seriously screws up the lighting
__________________
Harry is offline   Reply With Quote
Old August 4th, 2004, 02:07 AM   #4
DaniJ
 
Join Date: Apr 2003
Location: UK
Posts: 4,916
Yep you can also try this for some cool vapour for lava:
Code:
Generator {
  Flat = "LAVA1"
  Flags = blend | floor | static | density
  Speed = 4
  Speed Rnd = 2.8
  Vector { 10 10 10 }
  Vector rnd = 10
  Speed Rnd = 1.2
  Spawn age = -1
  Max age = -1
  Particles = 16
  Spawn rate = .15
  Spawn rnd = 1
  Distance = 1280
  Stage { Type = "pt_point" Flags = bright Radius = 0 Color { 1 .8 .3 0 }  Tics = 100 Rnd = .5 Force { 0 0 -.4 } Resistance = .2 }
  Stage { Type = "pt_point" Flags = bright Radius = 8 Color { 1 .8 .6 .2} Tics = 4 Force { 0 0 .001 } Resistance = .2 }
  Stage { Type = "pt_point" Flags = bright Radius = 10 Color { 1 .9 .7 .25} Tics = 4 Force { 0 0 .18 } Resistance = .2 }
  Stage { Type = "pt_point" Flags = bright Radius = 11 Color { 1 1 .6 .15}  Tics = 15 Rnd = .1 Force { 0 0 .18 } Resistance = .2 }
  Stage { Type = "pt_point" Flags = bright Radius = 15 Color { 1 1 .5 .05} Tics = 60 Force { 0 0 .22 } Resistance = .3 }
  Stage { Type = "pt_point" Flags = bright Radius = 20 Color { .1 .1 .1 .001} Tics = 1 Force { 0 0 .22 } Resistance = .8 }
  Stage { Type = "pt_point" }
}

Copy Generator { Flat = "LAVA2"}
Copy Generator { Flat = "LAVA3"}
Copy Generator { Flat = "LAVA4"}
It might be a little too much for older video cards to handle though.
DaniJ is offline   Reply With Quote
Old August 4th, 2004, 02:12 AM   #5
C e r b e r u s
Guest
 
Posts: n/a
thanks guy's.
It would be cool if such a feature was added in Jdoom so you could create fog just as you can change colors of a sector.
  Reply With Quote
Old August 24th, 2004, 06:40 PM   #6
Juan_Fraglef
Commander Keen
 
Juan_Fraglef's Avatar
 
Join Date: Jul 2004
Location: Just north of Hell. Turn left at Purgatory.
Posts: 155
Quote:
Originally Posted by Dani J666
It might be a little too much for older video cards to handle though.
Forget old. I have a GeForce 4 and it crapped out testing that ded on one of the most lava intensive levels in the game, Mt Erebus. Sure is prettty though.
Juan_Fraglef is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JDEP No Fog Patch Tolwyn Doomsday 2 January 23rd, 2004 12:15 PM
FOG spectre Doomsday 44 March 26th, 2003 11:07 AM
runcommand(gr_fogdensity (fog)) iori Doom Legacy 14 December 3rd, 2002 11:35 AM
Fog effect Gherkin Doom Legacy 27 August 28th, 2002 06:20 PM


All times are GMT -7. The time now is 04:25 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
NewDoom.com © 2000-2009 Mindless Games & Entertainment. All Rights Reserved.