![]() |
![]() |
![]() |
![]() |
August 4th, 2004, 01:19 AM
|
#1 |
|
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? |
|
August 4th, 2004, 02:00 AM
|
#2 |
|
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. |
|
|
August 4th, 2004, 02:03 AM
|
#3 |
|
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
__________________
|
|
|
August 4th, 2004, 02:07 AM
|
#4 |
|
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"}
|
|
|
August 4th, 2004, 02:12 AM
|
#5 |
|
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. |
|
August 24th, 2004, 06:40 PM
|
#6 | |
|
Commander Keen
Join Date: Jul 2004
Location: Just north of Hell. Turn left at Purgatory.
Posts: 155
|
Quote:
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |