Fog in scenarios

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Gudadantza
Reactions:
Posts: 121
Joined: Wed Mar 14, 2012 12:32 am

Fog in scenarios

Post by Gudadantza »

It appears to be something about FogEnable=1 FogNear and FogFar.
Where in the ini must that lines be added exactly?
Can the ini file be used as a mod?
Must I uncheck read only?
Any serious performance hit?

Greetings
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Fog in scenarios

Post by Davinci »

OK, I think that this topic was approximately one year ago, so I’m only going by memory , here!

I located this file from my old files; I think that it is the copy of the mod from back then.

Example : This is in the file below:

[About]
MapName=Kansas
MapDesc=The Mac Map

[Files]
LSLFile=KS.lsl
CSVFile=KS.csv
Grayscale=KS.bmp
Minimap=KS_MM.dds
……………………………………………………………….

Now – I’m going to change it to represent the ELPine_1 map.

So, open the file below and look for the lines above, and then edit them to something similar to the lines below.

[About]
MapName=ELPine_1
MapDesc=Five Mile Map

[Files]
LSLFile=ELPine_1.lsl
CSVFile=ELPine_1.csv
Grayscale=ELPine_1.bmp
Minimap=ELPine_1_MM.dds

Basically – you must tell the game which map to apply the fog effects into, which are the four lines under the [Files] heading.

Then, just change the name of the Mod Folder , so instead of the current KS_Fog_Mod , you would name it ELPine_Fog_Mod , or something similar.

This will help to quickly identify the Mod when activating, or disabling.

davinci
Attachments
KS_Fog_Mod_2012-03-28.rar
(874 Bytes) Not downloaded yet
Last edited by Davinci on Thu Mar 29, 2012 3:41 am, edited 1 time in total.
The only true logic is that, there is no true logic!
Gudadantza
Reactions:
Posts: 121
Joined: Wed Mar 14, 2012 12:32 am

Re: Fog in scenarios

Post by Gudadantza »

Oh, Ok Thanks for the info!
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re: Fog in scenarios

Post by Jack ONeill »

DaV,

The actual Mod we did is posted somewhere in the Mods List that Mike Slaunwhite has or is keeping. 'Course, I should probably update it with all the new maps. (Yes, if I had a life.)

Jack B)
Last edited by Jack ONeill on Thu Mar 29, 2012 6:48 am, edited 1 time in total.
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Fog in scenarios

Post by Davinci »

DaV,
The actual Mod we did is posted somewhere in the Mods List that Mike Slaunwhite has or is keeping. 'Course, I should probably update it with all the new maps. (Yes, if I had a life.)
Jack B)
But , you do have a life, I read your name title.
Jack (He Whom's has a life) O'Neill .

davinci
The only true logic is that, there is no true logic!
Blaugrana
Reactions:
Posts: 412
Joined: Thu Dec 30, 2010 9:01 pm

Re: Fog in scenarios

Post by Blaugrana »

And you have time to feature in the advertising campaign promoting California. Very impressive!
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re: Fog in scenarios

Post by Jack ONeill »

Indeed, you have caught me there, :laugh:, and I will try, soon, to update the Fog Mod to include the new maps.

Jack B)
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Gudadantza
Reactions:
Posts: 121
Joined: Wed Mar 14, 2012 12:32 am

Re: Fog in scenarios

Post by Gudadantza »

I´ve played around with it, tweaked and changed some things but the effect horizon is not too transparent.

Not sure but It can be an issue with ATI cards. I have never got luck running as intended, in any computer with ATI, some kind of fog effects. ATI drivers and so...
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re: Fog in scenarios

Post by Jack ONeill »

Guda,

Yes, it took DaV and me awhile to get it right, too.

Jack B)
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Fog in scenarios

Post by Davinci »

I´ve played around with it, tweaked and changed some things but the effect horizon is not too transparent.

Not sure but It can be an issue with ATI cards. I have never got luck running as intended, in any computer with ATI, some kind of fog effects. ATI drivers and so...
Hey, I also have an ATI Card - and also had an ATI Card at the time that me and Jack were messing around with those Fog Values.

Since, you have already located the old post, go back and read it again, I think that I explained which values did what, and how you would\could have a lighter fog.

Today, I have absolutely no memory of what we were changing!

This is basically how all of the Modders started, by changing small things, one step at a time.

davinci
The only true logic is that, there is no true logic!
Post Reply