SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [WIP] - SH3Weather Update 1.5 (https://www.subsim.com/radioroom/showthread.php?t=103202)

Lanzfeld 02-05-07 05:34 PM

Whenever I try to generate random weathr for a patrol that starts in november I get a "run time error 13".

Any ideas? I am using 1.5

fredbass 02-05-07 05:40 PM

Quote:

Originally Posted by Lanzfeld
Whenever I try to generate random weathr for a patrol that starts in november I get a "run time error 13".

Any ideas? I am using 1.5

I've actually had the same thing happen a few times too. Don't know why, but after I restarted again, it worked ok. (don't remember what month though)

Edit: I'm running it through Commander.

Skweetis 02-09-07 11:30 PM

Runtime 13? Ill look into it.... Its most definately my fault!

Cheers!

James

Lanzfeld 02-10-07 12:18 AM

Even with your great work Skweetis the weather in this game is *******ED. Two and a half weeks of clear, no precip, light fog (which I hate as it makes the horizon look bad), 11 m/s so no deck gun. Comeon!

Are people using this 1.5 mod with GWX or are they using just plain GWX weather?
Does GWX weather change more often?

I think one benefit of 1.5 is you can start from base with less then perfect weather.

Lanzfeld 02-11-07 01:42 AM

Does SH-3 Weather 1.5 do anything but randomize the starting weather or does it do more then that?

Please give details.

Rubini 02-12-07 04:15 PM

I have a suggestion to you Skweetis,

And i hopes that could be a good one.:D

IN GWX I set the weather to be more frequently changed by the game with more probability to change in all environments. The main problem in ShIII is that the game reset the time counter when you save reload and also that if you use large interval or choose to have no changes on environments...well, you will frequently have long, very long time without any weather change in game.

So, with these two main problems in mind, can you make a randomize that only mess with the weather state when you start a patrol (sometimes raining, sometimes bad weather, sometimes a clean day, etc...) but preserving the short (with a few range random) weather probability to change during the patrol?

What I mean is that you could maintain the Weather Change Interval at 5-7 for example and the Weather main variable adjust to have clouds, sun or rain at the start of patrol, the wind no more than 6 at start of patrol and the environments settings (cloud, precipitation, fog and wind) at least at small variation and sometimes at heavy variation. The final result could be a always variable weather condition when starting a patrol but also with a great probability to have always changes on weather state during the patrol, avoiding that so long fixed weather.

I'm saying all this because the Weather mod is great but as it is now sometimes it adjust the weather to have a long and almost fixed weather during the patrol because sometimes uses "rigid" environment variables as a choice (for example long interval in hours or no "changes" option for the environment).

Hopes that you understand me and my english!
And keep up the good work mate!:up:

Rubini.

Lanzfeld 02-16-07 09:37 AM

SKWEETIS,

I have a question for you.

I went directly into the campaign files (all three) and changed the weather manually to start with medium fog (setting 2). I then started my patrol new but the weather was light fog. How does your program set the starting weather? I know that for the rate of change of the weather you set the time interval (at the bottom) and you set the rate of change for each weather aspect (0, 1, or 2 for none, little, great) but where do I set the "starting" conditions?

Matyas 03-05-07 02:38 PM

Manual weather change during a patrol?
 
hi Skweetis,

I suffer from the same "my weather doesn't change at all" problem because I save and reload my game quite frequently (I usually play it on 8x time compression, so I play one day in simulation time at maximum.)

My question is: is it possible to manually hack the appropriate file(s) and change the frequency of possible weather change (or directly the weather conditions) during a patrol? I imagine as follows: I'm fed up with clear weather-->I save my game and exit-->I hack the appropriate file(s) manually--> reload my game and confirm happily that the weather has changed (to stormy for example).

In fact I experimented with changing the wind value in the .mis files (in the Campaign folder), but after reloading my patrol I experienced the same 7kts wind as before... (despite I manually overwritten the wind value to 11 kts in the .mis files)

Do you have an answer to my question perhaps?

Thx in advance,

Matyas

kwikpoppa 03-07-07 11:44 AM

runtime error 13
 
I had this error also,I looked in my carrer patrol config. file(my docs/SH3/data/config /carrers/your "captains name"/patrols config.)Open with notepad,change patrol number in ther from patrol 0 to patrol 1.
Here is what you will see
[INIT]
Patrols=0---------if this is 0 change to 1
Size=25
[PATROL 000]
PatrolNumber=1
StartYear=1939
StartMonth=9
StartDay=1
StartHour=9
StartMin=32
EndYear=1939
EndMonth=9
EndDay=19
EndHour=13
EndMin=42
RealYear=2007
RealMonth=3
RealDay=6
RealHour=23
RealMin=9
StartLocation=752
EndLocation=752
SubType=1
SubVersion=0
SubName=U-1
PatrolArea=AM23
TonnageSunk=6513.000000
MerchantTonnageSunk=6513.000000
WarshipTonnageSunk=0.000000
ShipsSunkNb=3
WarShipsSunkNb=0
PatrolCraftSunkNb=0
CorvetteSunkNb=0
FrigateSunkNb=0
DestroyerEscortSunkNb=0
DestroyerSunkNb=0
MineSweeperSunkNb=0
LightCruiserSunkNb=0
HeavyCruiserSunkNb=0
EscortCarrierSunkNb=0
AircraftCarrierSunkNb=0
BattleCruiserSunkNb=0
BattleShipSunkNb=0
MineLayingShipSunkNb=0
AuxiliaryCruiserSunkNb=0
MerchantShipsSunkNb=3
SupplyShipNb=0
FuelTankerNb=0
CargoShipNb=0
TroopTransportNb=0
PlanesDownNb=0
FighterAircraftNb=0
BomberAircraftNb=0
DiveBomberAircraftNb=0
TorpedoBomberAircraftNb=0
ScoutAircraftNb=0
HelicopterNb=0
AirENVIRONMENTALNb=0
CompletedPatrol=Yes
PatrolGridObjCompleted=Yes
ReachGridObjCompleted=Yes
OffDead=0
PODead=0
SeamenDead=0
OffWounded=0
POWounded=0
SeamenWounded=0
NbMedalsWounded=0
NbMedalsUboat=11
NbMedalsFront=0
NbMedalsKnights=0
NbMedalsGerman=0
NbMedals1stCross=0
NbMedals2ndCross=0
PromotionsNb=0
AssignQual=Yes
Flotilla=903
NbDaysInBase=27
HullIntegrity=73.981834
DeltaRenown=555.574951
NbSaves=2
ChangedRank=No


Hope this helps ya.....

Dustyboats 03-16-07 01:44 PM

Dustyboats
 
Thank you for the great mod James......I was getting so damned sea sick !!!!!

antidotos 06-14-07 03:37 AM

manual weather possible ?
 
I do not know if this is possible with Sh3weather update or any other mod.
As currently there is no way to correctly model weather change in the game campaign my intention is to use my own weather tables (from various sources) and imput the weather by saving the game at a convenient time (this is debatable.... every two days at dawn..... with no enemy in sight) and editing the saved games. I know there is a potential for CTD though.....
Is this possible and which tools would be available for this ?
Thanks for any information.

BelegDraug 08-22-07 09:33 PM

How do I set up the SH3Weather to be used with SH3Commander? I install Weather, later Comander, but no optinons or nothing appears to happen... THX! in advance... PD: I use GFX too!

slow_n_ez 08-22-07 10:20 PM

SH3Weather,exe needs to be put in main SH3 program folder ... where the SH3.exe is .... don't do anything with it ... Run from desktop the SH3Commander and do what you want in in... when done click on " run SH3 " and the weather app will open for you to set it ... wait for the OK box to appear and click OK to confirm the weather text has been saved... then the game opens

robbierob2005 09-07-07 07:39 PM

It works!!!!

flag4 12-08-07 10:33 AM

Quote:

Originally Posted by lurker_hlb3
Quote:

Originally Posted by theluckyone17
Alrighty :rock:.

Continued research: It's definitely the campaign files. I've got the original campaign files saved, and the new files that work. If I copy the original campaign files over the working copy, SH3 bugs out. Copy the working files back, and SH3 works perfectly fine.

I diff'd/compared the campaign files, and here are the results:
Corrupted Campaign_LND.mis:
Line 11: Fog=0
Line 17: WindHeading=193
Line 18: WindSpeed=0

Working Campaign_LND.mis:
Line 11: Fog=3
Line 17: WindHeading=4
Line 18: WindSpeed=6

Corrupted Campaign_RND.mis:
Line 11: Fog=0
Line 17: WindHeading=193
Line 18: WindSpeed=0

Working Campaign_RND.mis:
Line 11: Fog=3
Line 17: WindHeading=4
Line 18: WindSpeed=6

Corrupted Campaign_SCR.mis:
Line 11: Fog=0
Line 17: WindHeading=193
Line 18: WindSpeed=0

Working Campaign_SCR.mis:
Line 11: Fog=3
Line 17: WindHeading=4
Line 18: WindSpeed=6

Edit: Corrected file names.


I've found the "cause" of the CRASH DIVE problem.

If "WindSpeed" is = to "0"

It looks like the SH3 Game engine can't deal with 0 windspeed.

Have tested this a number of times. As long as windspeed is 1 or greater it works fine.


hi hunter's

have been crash diving on load again. need some help please.

i have found this thread about the sudden plunge - think this might be it.

thing is i dont know how to go about changing the info in my computer. dont know where to go - how to do it - what to click - how to open etc.

could a kind individual give me a 'walk-through.'

i'm using XP home edition. sh3, sh3 commander, removed sh3 weather with roll back. wiped old careers -( i think ?)

if not i will have to clean out sh3 et al. and start again.

many thanks
flag4


All times are GMT -5. The time now is 08:21 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.