www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Next Generation Level Editor

Reply
 
Thread Tools
Old 10-02-20, 23:48   #1
AdrielRaider
Historian
 
AdrielRaider's Avatar
 
Join Date: Sep 2009
Location: Brazil
Posts: 359
Default Doubt changing fog colors

I am having an issue about changing fog colors using the trng. Actually i was experimenting about some effects in a level and found this problem, or limitation (i still dont know if what i want to do is possible).

- I started a level with a distance fog in a color that i wrote in a script color 1

- When Lara goes indoors i turn on volumetric fx because i want to use fog bulbs for a effect in some areas. I use this with a flipeffect to change the color of the fogs to color 2.

- When Lara goes outside i turn off volumetric fx so that distance fog is enabled again, but know the distance fog is in color 2. Based on that i wanted to make a trigger so that the fog can go back to color 1.

I just got to change distance fog for colors that are on that default list (aqua,red,blue,orange, etc...).

I tried using the flipeffect trigger with "SPECIAL.Disable all fog bulbs(to enable newly set a color)" but it still does not make the fog back to color 1. Is it possible to make a fog change color back to my scripted color or i just can use it with the default ones?
__________________
Ja ich weiß es war ne geile Zeit ... Uns war kein Weg zu weit - du fehlst hier
AdrielRaider is offline   Reply With Quote
Old 11-02-20, 00:38   #2
SSJ6Wolf
Archaeologist
 
SSJ6Wolf's Avatar
 
Join Date: Nov 2004
Location: Connecticut, US
Posts: 1,383
Default

Do you use the same flipeffect to change the distance fog back to color 1? I believe that is what you need to do, I don’t think the default script value will be used again when you start changing it.
SSJ6Wolf is online now   Reply With Quote
Old 11-02-20, 02:32   #3
Baslakor
Explorer
 
Baslakor's Avatar
 
Join Date: Jan 2006
Location: Somewhere, somehow
Posts: 944
Default

As far as I know you can only change the fog color to a couple of presets. If you disable/enable fog, it goes back to your latest selected color. Would also love to know if there is a way to work around this..
Baslakor is offline   Reply With Quote
Old 11-02-20, 05:56   #4
Joey79100
Professor
 
Joey79100's Avatar
 
Join Date: Mar 2012
Location: France
Posts: 2,968
Default

FLEP allows you to customize the colors of those presets (because they're embedded in the engine).
Joey79100 is offline   Reply With Quote
Old 13-02-20, 00:16   #5
AdrielRaider
Historian
 
AdrielRaider's Avatar
 
Join Date: Sep 2009
Location: Brazil
Posts: 359
Default

Well, in my case it would be nice to be back to the color 1 which is the outside fog color effect but i really cant because i didnt find any way to work that around.

I am doing like a very cold effect for the outside and inside some places i am using the fog for a bloom like effect in some objects. So i need to keep changing the fog colors and effects depending on which type of scenario lara is in.

It seems like a simple thing but i didnt find it possible through the actual trng engine or using the resources i know. I can always just use the limited fog colors range within the engine if i want to change then but it would be much
better if we had limitless options to change fog colours throughout the level.
When i think of it, it seems like a simple issue that theres no workaroud within trng alone. I will keep using the limited range and i will try some workarounds to this in the future.
__________________
Ja ich weiß es war ne geile Zeit ... Uns war kein Weg zu weit - du fehlst hier
AdrielRaider is offline   Reply With Quote
Old 13-02-20, 00:53   #6
Matie
Professor
 
Matie's Avatar
 
Join Date: May 2008
Location: United Kingdom
Posts: 4,038
Default

Unfortunately it's not possible without FLEP. There is a workaround, it's not very convenient though. You need to make another entry for the level in the script (with the updated fog colour) and do a leveljump within the same level. It works well if it's only one or two leveljumps, but if it's several between inside and outside rooms, that makes it complicated and not worth it I suppose.
__________________
"I'll give you this strawberry if you keep it a secret, okay?"
Matie is offline   Reply With Quote
Reply

Bookmarks

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 20:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.