| View previous topic :: View next topic |
| Author |
Message |
NZ_Wanderer
Joined: 05 Apr 2005 Posts: 323 Location: Christchurch, New Zealand
|
Posted: Sun May 22, 2005 7:12 pm Post subject: |
|
|
Thanks for that, I like your idea to cut the settings down from 15 to 10
Note to self: Time to take a crash course in hex editing by the look of it.... |
|
| Back to top |
|
 |
manwhoeatsrats
Joined: 10 May 2005 Posts: 16
|
Posted: Sun May 22, 2005 10:23 pm Post subject: |
|
|
| umm, which saved game file is the value for the wind, I searched them all and found nothing about the wind |
|
| Back to top |
|
 |
Jungman
Joined: 03 Apr 2005 Posts: 724 Location: Iowa, USA
|
Posted: Mon May 23, 2005 2:59 am Post subject: |
|
|
| SCENE.DAT file in the DATA folder. Open with hex editor. Single float IEEE Integer format. The numbers are right after, radnamwindspeed, wind change amount, how often to change, heading etc. |
|
| Back to top |
|
 |
manitoba1073
Joined: 17 Apr 2005 Posts: 35
|
Posted: Tue May 24, 2005 3:33 am Post subject: |
|
|
| so how has it been doing guys. |
|
| Back to top |
|
 |
NZ_Wanderer
Joined: 05 Apr 2005 Posts: 323 Location: Christchurch, New Zealand
|
Posted: Tue May 24, 2005 4:48 am Post subject: |
|
|
| Don't know yet... - Gots to find a hex editor that does what Jungman says it has to, the one I got here got no options like that.... |
|
| Back to top |
|
 |
Echo
Joined: 10 Jan 2002 Posts: 32
|
Posted: Wed May 25, 2005 8:29 pm Post subject: |
|
|
ive been messing with a few different hex editors and have finally found one that has the ieee format... but have NO clue as to what im doing here. Im trying to set the max wind speed to 6 so i can man the flack guns when i need to. im tired of a watch crew standing right next to the damn 20mm but not being able to do a thing when an enemy plane comes charging down on me. can anyone gimme a newb hint or even send me the modded file?
Last edited by Echo on Thu May 26, 2005 3:31 pm; edited 1 time in total |
|
| Back to top |
|
 |
NZ_Wanderer
Joined: 05 Apr 2005 Posts: 323 Location: Christchurch, New Zealand
|
Posted: Wed May 25, 2005 10:21 pm Post subject: |
|
|
Could you tell me which editor you finally got hold of please, and I will grab it myself and have a look  |
|
| Back to top |
|
 |
Echo
Joined: 10 Jan 2002 Posts: 32
|
|
| Back to top |
|
 |
Jungman
Joined: 03 Apr 2005 Posts: 724 Location: Iowa, USA
|
Posted: Thu May 26, 2005 3:24 pm Post subject: |
|
|
I manage to get a scene.dat hack that stops the wind from ever changing from your initial start out speed of 5 m/s (which can be changed in MIS file).
You still get random changes to the weather in clouds, rain, storms, fog, wind heading, etc; but the wind speed never changes from 5 m/s. Dowside is the waves never change size either.
Some may like the mod, set the wind speed for 6 m/s in MIS or use the big wave mod for bigger waves. The only thing that happens is the wind speed (and waves) remain forever constant (but in storm they still get the foam and peak effects added on). So you can always get to use your AA Flack guns ( and deck gun).
Next I want to see if I can get the random vector set so it never goes up past 6 m/s, then make the Big Wave Mod, thus wind will vary from 0 to 6, but it will look like 0 to 15m/s wind and waves -but you will be able to man the AA Flak gun and deck gun.
The value for wind speed is stored in the SAV game file, but the file is compress. You need a Zlib tool to unpack it.
The wind speed pass variable is in the engine itself. The scene.dat loads up at the start of the game into memory the parameters for the engine to use. Too bad the wind speed cutoff seems to be in the EXE or one of the DLL. You cannot mess with them. If modded, StarForce will not let the game run. |
|
| Back to top |
|
 |
Echo
Joined: 10 Jan 2002 Posts: 32
|
Posted: Thu May 26, 2005 3:29 pm Post subject: |
|
|
| cool nuff. where did you find the scene.dat hack? it isnt the cleanest way to solve the problem but it seems to be the only way that is readily available. |
|
| Back to top |
|
 |
Jungman
Joined: 03 Apr 2005 Posts: 724 Location: Iowa, USA
|
Posted: Thu May 26, 2005 3:44 pm Post subject: |
|
|
I made it. I just set all the random wind variables to zero in regards to wind speed. I am still beta testing it, next I am going to Artic Ocean and see if there is no zone change that occurs, there is almost always big waves up there.
I already been threw a hellish storm of heavy fog, rain, etc. Waves were not huge but the wind stayed the same 5 m/s. A storm usually has 15 m/s winds. I could still man the AA Flak and Deck gun. Even though I could see nothing beyond 300 m.
You can set the windspeed values 0, 4, 8, 15 to lower (as was done for the Big Wave mod) to make the waves look bigger.
I want to make sure mostly that it works absolutely everywhere, but it takes so long to test this stuff. I give it to you in a bit of time here hours. Static_Wind Mod.
Later, I want to figure a way to limit random variable change to max out at 6 m/s , then set the wave variables to proportion so it looks like normal calm to huge waves randomly, but you can always man the AA and deck gun.
This is a start. Check back here in about two hours more testing time.
Last edited by Jungman on Thu May 26, 2005 6:11 pm; edited 1 time in total |
|
| Back to top |
|
 |
Echo
Joined: 10 Jan 2002 Posts: 32
|
Posted: Thu May 26, 2005 5:01 pm Post subject: |
|
|
| sweet great work. shootandloot686@gmail hit me with your finished product when your ready as i have to bugger off for a few hours. gl and thanks again. |
|
| Back to top |
|
 |
NZ_Wanderer
Joined: 05 Apr 2005 Posts: 323 Location: Christchurch, New Zealand
|
Posted: Thu May 26, 2005 6:15 pm Post subject: |
|
|
Ohh thank you Jungman for spending the time on this when I know there are more important mods that you are working on...
Finally now I will be able to use those AA guns in moderate seas  |
|
| Back to top |
|
 |
Jungman
Joined: 03 Apr 2005 Posts: 724 Location: Iowa, USA
|
Posted: Fri May 27, 2005 2:19 am Post subject: |
|
|
I ran into some small problem with switching 'global zones' the wind sticks at 7 m/s forever! Darn close to magic 6 m/s.
I think maybe the one value of wind speeds 0, 4, 8, 15 for waves condition the variable wind speed target increases from 5 m/s toward 15 m/s as long as a storm is occurring...so all sudden it snaps to just under target from 5 to 7 ( just under the speed . More testing....
Update: Well, it looks like when a storm comes it may get stuck at 7 m/s forever or if you stay out of the Artic zone you will be OK. More testing.... :hmm: |
|
| Back to top |
|
 |
NZ_Wanderer
Joined: 05 Apr 2005 Posts: 323 Location: Christchurch, New Zealand
|
Posted: Fri May 27, 2005 4:40 am Post subject: |
|
|
We have an Artic Zone??
Sheesh, BDu have only ever sent me south or west.... |
|
| Back to top |
|
 |
|