Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > Tomb Editor

Reply
 
Thread Tools
Old 08-10-20, 13:08   #1
angeljs
Member
 
angeljs's Avatar
 
Joined: Feb 2004
Posts: 173
Default Fog for individual rooms

I've been looking at ways to enable fog in individual rooms. I found this code that enables it for the entire level:
Code:
ForceVolumetricFX= DISABLED
Fog= 255,255,255
FogRange= -20, 10
But none of the fog settings for each room seem to work, what am I doing wrong?
angeljs is offline   Reply With Quote
Old 08-10-20, 13:31   #2
SSJ6Wolf
Member
 
SSJ6Wolf's Avatar
 
Joined: Nov 2004
Posts: 1,531
Default

That code is for distance fog. You can use distance fog or fog bulbs in your level, but not both. If you want fog bulbs then change DISABLED to ENABLED. There is a catch. I haven’t used fog bulbs much myself but I believe the fog bulbs can only use one color at a time, and that you need to use flipeffects to toggle between fog colors.

Edit: reading your post again maybe you simply want to change the distance fog color as Lara travels between rooms. This can be done with a flipeffect trigger. Like fog bulbs, distance fog can only be one color at a time.

Last edited by SSJ6Wolf; 08-10-20 at 13:33.
SSJ6Wolf is offline   Reply With Quote
Old 08-10-20, 14:11   #3
Krystian
Member
 
Joined: May 2010
Posts: 1,187
Default

Distance fog is rendered globally, there is no way to enable it for a single room.
Fog bulbs, on the other hand, allow you to apply fog locally, controlling the intensity and radius of the effect. Like SSJ6Wolf already mentioned, you can't have multicolored fog, there is only one color which the fog bulbs can have at a time. You can, however, change the fog color to one of preset* fog colors via an old-type flipeffect.

And using only distance fog or fog bulbs is partially true. You can't use both at the same time. But it is possible to switch between the two options in the same level, by using NG flipeffects. Enabling distance fog disables fog bulbs, and vice-versa.

*TREP/FLEP allows you to change the preset fog color palettes to anything you want, though
Krystian is offline   Reply With Quote
Old 08-10-20, 14:37   #4
angeljs
Member
 
angeljs's Avatar
 
Joined: Feb 2004
Posts: 173
Default

Hmm, yes, I am starting to understand. However, I'm having problems with what to actually add to the fog bulb itself as no fog shows when I use one.
angeljs is offline   Reply With Quote
Old 08-10-20, 14:50   #5
Krystian
Member
 
Joined: May 2010
Posts: 1,187
Default

You need to enable Volumetric FX to have fog bulbs in your level. This script:
Code:
ForceVolumetricFX= DISABLED
Effectively disables volumetric effects (fog bulbs), regardless of the setup options of the game (you get this by holding CTRL before the game launches). So remove that from the script and it should make the fog bulbs show
Krystian is offline   Reply With Quote
Old 08-10-20, 17:53   #6
angeljs
Member
 
angeljs's Avatar
 
Joined: Feb 2004
Posts: 173
Default

I've tried it with and without the script additions, still nothing
angeljs is offline   Reply With Quote
Old 08-10-20, 20:34   #7
Krystian
Member
 
Joined: May 2010
Posts: 1,187
Default

Make sure you have volumetric effects actually enabled in the game setup. You must have it checked for fog bulbs to be visible:

Krystian is offline   Reply With Quote
Old 09-10-20, 11:39   #8
angeljs
Member
 
angeljs's Avatar
 
Joined: Feb 2004
Posts: 173
Default

Yes, I have that setting checked. I've tried the fog bulb with and without a trigger, I've tried every other suggestion I can find, but the fog still won't show.
angeljs is offline   Reply With Quote
Reply

Thread Tools

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



All times are GMT. The time now is 12:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.