Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

How to edit your Envirment to anything, Fog, Colors, etc :)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
GunMod



Joined: 30 Mar 2005
Posts: 104

PostPosted: Wed Apr 06, 2005 7:52 pm    Post subject: How to edit your Envirment to anything, Fog, Colors, etc :) Reply with quote

How to edit your Envirment to anything, Fog, Colors, etc

Open a EnvColors*.dat file with a HEX editor

Inside this file you will find several variables with some code after each variable.

I will list some important variables and list what the code, does or doesn't do.

HEX : Plain text

Code:
53 75 6E 41 6C 74 69 74 75 64 65 41 6E 67 6C 65 00 00 00 B4 42 10                               ; SunAltitudeAngle...´B.


This determines the actual angle of the sun at a certain time of day.
The first part of the HEX, 53 75 6E 41 6C 74 69 74 75 64 65 41 6E 67 6C 65 is just the variable SunAltitudeAngle
Followed by 3 set's of 00
Next we have B4 42 10 which is hex code for the angle
So to change the sun's angle for a time of day you would change the B4 42 10 to another hex code for a different angle.

Next we have:
Code:
43 6C 6F 75 64 73 43 6F 6C 6F 72 00 00 FF FF FF 0D                                              ; CloudsColor..ÿÿÿ.


The first section again: 43 6C 6F 75 64 73 43 6F 6C 6F 72 is just hex for CloudsColor
Followed by some "space" 00 00
Then the actual RGB Hex Code: FF FF FF 0D
If you fire up Paint Shop Pro or any paint program take takes HEX color codes you can type in
the FF FF FF to see what the color is.
So FFFFFF in PaintShop Pro is Pure White. The last part of the code 0D refers to the brightness it casts on the actual object.
Do not modify the last part of the code ( 0D) as it willalter the colors incorrectly.

So if we wanted to change the cloud color to say bright green we would change the last 4 hex codes to read: 00 ff 00 0D
The entire line would now look like this:

Code:
43 6C 6F 75 64 73 43 6F 6C 6F 72 00 00 00 FF 00 0D


Basically the entire file carries this structure. So look through the variables and decide what you would like to make changed!
Back to top
View user's profile Send private message Send e-mail
Egan



Joined: 21 Sep 2001
Posts: 2325
Location: Red Clydeside

PostPosted: Wed Apr 06, 2005 8:30 pm    Post subject: Reply with quote

Have you found anything that controls the dynamics of the weather at all?
Back to top
View user's profile Send private message Send e-mail
GunMod



Joined: 30 Mar 2005
Posts: 104

PostPosted: Wed Apr 06, 2005 9:51 pm    Post subject: Reply with quote

Not yet Egan, but I'm still looking.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group