| Author |
Changing Weather |
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-05 20:32  
Well Captain Kosta wrote in another thread he would like changing weather, I know some of you have seen this before but all my posts got deleted with the data errors.
So I'll give it another shot, this works in Dc as well as SH so if you are scripting a mission you can experiment with weather fronts like the example below. Just copy the example and put it in the Scenario folder in the Shell section of SH and away you go.
You set off in a little shower then it clears to broken skies, try to keep to real time for the effects and as you see the port in sight alter course slightly to starboard and watch it dissapear in a kind of sea mist.
AACloud Examples
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File: Cloud Examples.SDF
;; I've put together some Cloud Types as an example of what can be
;; achieved by adding fronts to missions to make them more realistic.
;; by Col7777 from VWarrior.net
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Weather ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[WEATHER]
Name = CLEAR
Wind = 5,W ; n knots + N/E/S/W - default is 5,W
SeaState = 4 ; Current sea state
Visibility = 1 ; Fog density (0 to - default is 1
Temperature = 20 ; Ambient temperature in degrees Celsius
[FRONT1]
Location = 1.816634,51.000000
Size = 50,80 ; Rectangular dimensions of formation (X,Z) in nautical miles.
Altitude = 35000 ; Altitude of cloud formation in meters
Movement = 2,N ; n knots, N/E/S/W - default is 0
CloudType = PARTIAL ; CLEAR, PARTIAL, OVERCAST, STORM - default is CLEAR
CloudID = Cloud003 ; Cloud texture name
Transparent = TRUE ; True if cloud texture is transparent
Wind = 20,N ; n knots, N/E/S/W - default is 0
SeaState = 4 ; Current sea state
Precipitation = LIGHT ; NONE, LIGHT, HEAVY, SNOW, BLIZZARD - default is NONE
Temperature = 30 ; Ambient temperature in degrees Celsius
Visibility = 3 ; Fog density (0 to - default is 1
[FRONT2]
Location = 1.816630,51.000000
Size = 15,18 ; Rectangular dimensions of formation (X,Z) in nautical miles.
Altitude = 1300 ; Altitude of cloud formation in meters
Movement = 50,E ; n knots, N/E/S/W - default is 0
CloudType = PARTIAL ; CLEAR, PARTIAL, OVERCAST, STORM - default is CLEAR
CloudID = Cloud007 ; Cloud texture name
Transparent = TRUE ; True if cloud texture is transparent
Wind = 20,N ; n knots, N/E/S/W - default is 0
SeaState = 4 ; Current sea state
Precipitation = NONE ; NONE, LIGHT, HEAVY, SNOW, BLIZZARD - default is NONE
Temperature = 30 ; Ambient temperature in degrees Celsius
Visibility = 4 ; Fog density (0 to - default is 1
[FRONT3]
Location = 1.533312,51.049998
Size = 5,10 ; Rectangular dimensions of formation (X,Z) in nautical miles.
Altitude = 800 ; Altitude of cloud formation in meters
Movement = 10,N ; n knots, N/E/S/W - default is 0
CloudType = PARTIAL ; CLEAR, PARTIAL, OVERCAST, STORM - default is CLEAR
CloudID = Cloud003 ; Cloud texture name
Transparent = TRUE ; True if cloud texture is transparent
Wind = 40,E ; n knots, N/E/S/W - default is 0
SeaState = 2 ; Current sea state
Precipitation = NONE ; NONE, LIGHT, HEAVY, SNOW, BLIZZARD - default is NONE
Temperature = 10 ; Ambient temperature in degrees Celsius
Visibility = 7 ; Fog density (0 to - default is 1
[FRONT4]
Location = 1.399984,51.066664
Size = 8,10 ; Rectangular dimensions of formation (X,Z) in nautical miles.
Altitude = 2000 ; Altitude of cloud formation in meters
Movement = 20,S ; n knots, N/E/S/W - default is 0
CloudType = PARTIAL ; CLEAR, PARTIAL, OVERCAST, STORM - default is CLEAR
CloudID = Cloud004 ; Cloud texture name
Transparent = TRUE ; True if cloud texture is transparent
Wind = 20,E ; n knots, N/E/S/W - default is 0
SeaState = 5 ; Current sea state
Precipitation = NONE ; NONE, LIGHT, HEAVY, SNOW, BLIZZARD - default is NONE
Temperature = 20 ; Ambient temperature in degrees Celsius
Visibility = 8 ; Fog density (0 to - default is 1
[FRONT5]
Location = 1.299988,50.833300
Size = 5,15 ; Rectangular dimensions of formation (X,Z) in nautical miles.
Altitude = 1000 ; Altitude of cloud formation in meters
Movement = 70,N ; n knots, N/E/S/W - default is 0
CloudType = STORM ; CLEAR, PARTIAL, OVERCAST, STORM - default is CLEAR
CloudID = Cloud001 ; Cloud texture name
Transparent = TRUE ; True if cloud texture is transparent
Wind = 35,E ; n knots, N/E/S/W - default is 0
SeaState = 9 ; Current sea state
Precipitation = NONE ; NONE, LIGHT, HEAVY, SNOW, BLIZZARD - default is NONE
Temperature = 20 ; Ambient temperature in degrees Celsius
Visibility = 7 ; Fog density (0 to - default is 1
[FRONT6]
Location = 1.366652,51.083333
Size = 5,15 ; Rectangular dimensions of formation (X,Z) in nautical miles.
Altitude = 800 ; Altitude of cloud formation in meters
Movement = 10,N ; n knots, N/E/S/W - default is 0
CloudType = PARTIAL ; CLEAR, PARTIAL, OVERCAST, STORM - default is CLEAR
CloudID = Cloud006 ; Cloud texture name
Transparent = TRUE ; True if cloud texture is transparent
Wind = 20,E ; n knots, N/E/S/W - default is 0
SeaState = 6 ; Current sea state
Precipitation = NONE ; NONE, LIGHT, HEAVY, SNOW, BLIZZARD - default is NONE
Intermittent = TRUE ; Precipitation is intermittent
Temperature = 5 ; Ambient temperature in degrees Celsius
Visibility = 7 ; Fog density (0 to - default is 1
[SCENARIO]
Date = 19410707
Time = 1700
Duration = 1000
;TimeOut = 0
Type = TYPE A
;Major = 10
;Minor = 5
Origin = 1.000000,51.000000
InitialZoom = 8
;DrawOvlyText = TRUE
TitleEnglish = AACloud Examples
;;; Objectives ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Bases ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[BASE1]
Name = Dover_Lighthouse
Alignment = ALLIES
Location = 1.299988,51.099996
Orientation = 180
Model = XLHLighthouse
Type = UBOAT
Size = LARGE
[BASE2]
Name = Refinery
Alignment = ALLIES
Location = 1.349986,51.133328
Orientation = 180
Model = XORRefinery
Type = UBOAT
Size = LARGE
;;; Radio Messages ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Multi ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Sides ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[SIDE1]
Alignment = AXIS
Name = Axis
Doctrine = German
;;; Groups ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[GROUP1]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Submarine
Side = 1
Name = U-862
Nationality = German
WayptDisplay = DO_NOT_SHOW
;;; Units ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[UNIT1]
Group = 1
TypeAbrev = SS
Class = NSSUBoat9D2
Name = U-862
Control = HUMAN
Flag = TRUE
Guide = TRUE
Location = 1.8666632,50.983294
Orientation = 290
BoilersHot = TRUE
Captain = 80
Crew = 80
IconName = NSHIP
Display = SHOW_AS_UNIT
[ This Message was edited by: Col7777 on 2003-02-06 14:39 ]
 
|
Floater
Joined: Oct 23, 2002 Posts: 246 From: England
| Posted: 2003-02-05 21:11  
A very nice demo (even if the rain does bring this TNT2 to its knees). You can almost feel the temperature changing as you move out into the sunshine and back under the clouds.
 
|
FUBAR295
Joined: Apr 07, 2002 Posts: 125 From: Decks awash in the North Atlantic
| Posted: 2003-02-05 22:24  
Col7777,
Thanks for reposting this mod.
Good Hunting,
FUBAR
_________________ 7. Learn from the mistakes of others. You won't live long enough to make all of them yourself.
 
|
GlowwormGuy
Joined: Apr 21, 2002 Posts: 165 | Posted: 2003-02-06 01:37  
Hi there Col7777
Wow! That IS weather. You should be called WeatherMaster or something
Thanks again,
Mountbatten
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-06 03:10  
I believe horsa has a good rain mod, here is his link:
http://www.amberphotography.co.uk/rain.htm
With reference to the weather fronts issue, as yet I have not managed to change the sea state in the fronts, ie to give the effect of the sea getting rough or dying to a calm.
It appears the first entry in the [WEATHER] block dictates the sea state and ignores the sea state set in the fronts, yet it changes the other instructions in the fronts, it's probably something very simple we just need to hit on it.
 
|
joea
Joined: Aug 20, 2002 Posts: 220 From: Canada now in Geneva
| Posted: 2003-02-06 04:39  
Just a dumb question, what about changing the location? Depending on the scenario of course.
_________________ WWII and FS simmer
Joe Apostolidis
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-06 04:50  
Not a dumb question, this is only an example.
If you are scripting a mission or want to insert this in to a mission just change the location points to suit.
Also bare in mind if you are scripting a mission delete or omit the 'Weather = ' entry in the main [Scenario] block like below:
[SCENARIO]
Date = 19391218
Time = 1500
Duration = 200
TimeOut = 0
Type = TYPE A
TitleEnglish = Scapa Flow
TitleGerman =
TitleFrench =
Major = 10
Minor = 5
Origin = -3.041628,58.887882
InitialZoom = 8
Weather = OVERCAST ***DELETE***
Preprocess = TRUE
DrawOvlyText = TRUE
Or put a ; (semi-colon)in front of it so it won't be read.
But it's open to experiment as well so change the size of the fronts or the height, movement, wind direction and cloud type etc.
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-06 23:04  
Well it looks like there may be a light at the end of the tunnel looking at this thread:
http://64.246.21.118/phpBB/viewtopic.php?topic=8412&forum=1&2
 
|
joea
Joined: Aug 20, 2002 Posts: 220 From: Canada now in Geneva
| Posted: 2003-02-07 05:03  
Thank you Col, I am half inclined to go back and mod all the campaign and single scenarios to get changing weather. Could need some tweaking though for playabltiy etc. Great job.
_________________ WWII and FS simmer
Joe Apostolidis
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-07 05:46  
joea, I understand what you are saying, as I have also done a few missions in the past and thought of going back to alter them by adding certain weather, as now they seem a bit flat.
But if you saw Frank (Seedler) Kuane's link above, his mod looks like it will far out-weigh what I have done. I admire Seedler very much and I know anything he puts his mind to will turn out good.
It's like comparing a bit of rough wood to a highly polished veneer.
Vaneer(Spelling???)
 
|
Seeadler
Joined: Feb 27, 2002 Posts: 194 From: Germany
| Posted: 2003-02-07 09:52  
Great work, I will combine this with my new cloud texture and see how this will work.
Next what we need is lightning and thunder 
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-07 10:46  
Wow thanks Seedler, I noticed on one of the fronts meeting another the light changes with a kind of flash effect almost like lightning but it would be good in the middle of a storm.
I keep trying different entries to alter the sea state, I think sometimes I've done it but then it could be my imagination wanting it to happen, I'll keep trying I may hit on it, unless you have any ideas of course.
 
|
BaronVonRed
Joined: Jan 03, 2003 Posts: 577 | Posted: 2003-02-07 13:20  
What would be the possibility of you guru's incorporating moving fronts into all of the K2 missions???
_________________ - The Baron
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-07 14:16  
Well it's there to play with, all that needs to be done, (I'm saying all) is change the location of the fronts and anything else in them like I've said before.
So if you were starting your patrol say at Brest or Wilhelmshaven set the first front around that area of whatever conditions you decide and then the second front along the route the sub or ship is going to take and so on.
I did notice on some experiments that if you set the direction of the front the same as the sub/ship, the sub/ship will obviously travel out of it as it is going faster, but if the sub/ship reached a set point of say the actual battle, those fronts eventually catch it up and it is like more weather appearing, so you could make use of the fronts more than once, just a thought.
 
|
Ship Hunter
Joined: Dec 04, 2002 Posts: 6 From: Germany
| Posted: 2003-02-07 18:09  
@Col7777
It's very nice Work
_________________ Visit the German Silent Hunter II Community:
www.silent-hunter2.de
 
|
|