Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4 5 6   Go Down

Author Topic: TIGER33 Flyby MAP-FIX  (Read 35461 times)

0 Members and 1 Guest are viewing this topic.

SAS~Monty27

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3850
  • Action and Adventure!
    • SPEEDMACHINE
Re: TIGER33 Flyby MAP-FIX
« Reply #24 on: July 20, 2012, 01:35:02 AM »

Its easy just compare good and bad load ini's

I pretty much narrowed down to one section then to one line
  "WaterNoiseAnimStart = Water/Animated/WaterNoise00.tga"
if its not there no flyby sounds, everything else seems irrelevant  ???
I'm gonna do more testing.
Good indeed, now that we have narrowed down where to look, what to look at and produced a solution, by all means tidy it up to one line if you can.

If you then successfully test your theory, and produce a useable solution based on our pointers, then congratulations - Hardly Irrelevant though!


I already tested it before posting and works - disadvantage is that you get fluid water instead ice (which i kinda like on winter maps). By irrelevant I meant that changing other lines doesnt seem to make any difference so the other load ini lines are not related to the problem therefore irrelevant. Im saying this because my first guess was the textures and their size. The source of this bug must be java related.

Yes, thanks Istvan, I have amended the first post and changed the fix.  I withdraw my earlier comment.
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5302
Re: TIGER33 Flyby MAP-FIX
« Reply #25 on: July 20, 2012, 02:49:05 AM »

... looks like Lutz has got an explanation ...  :D

Translation of what he wrote at C6:

IL2 core is java coded and is case sensitive, so if you write =winter instead of =WINTER then the game won't find WINTER and will use the default value=SUMMER (hence no icy rivers)

Here it is:

this.camouflage = localIniFile.get("WORLDPOS", "CAMOUFLAGE", "SUMMER");

this.zutiWaterState = localIniFile.get("WORLDPOS", "WATER_STATE", "");
if ((this.zutiWaterState == null) || (this.zutiWaterState.trim().length() == 0))
{
if ("WINTER".equals(this.camouflage))
this.zutiWaterState = "ICE";
else {
this.zutiWaterState = "LIQUID";
}
}

 "if ("WINTER".equals(this.camouflage))" means it is case sensitive.

to delete this case sensitivity you may try:

if ("WINTER".equalsIgnoreCase(this.camouflage))

Logged

crimar

  • member
  • Offline Offline
  • Posts: 295
Re: TIGER33 Flyby MAP-FIX
« Reply #26 on: July 20, 2012, 03:09:41 AM »

Ok, voilà bien l'explication.  :)

Donc si je résume:

WINTER=eau solide
n'importe quoi d'autre=SUMMER=eau liquide
température positive=visuel eau liquide
température négative=visuel eau glace

Ok, well that's the explanation. :)

So if I summarize:

WINTER = solid water
anything else = SUMMER = liquid water
positive temperature= visual  liquid water
negative temperature = visual water ice
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5302
Re: TIGER33 Flyby MAP-FIX
« Reply #27 on: July 20, 2012, 03:28:38 AM »

... yep but not only a difference between water and ice, if I remember well with FinsGulf map for ex, if you set =WINTER you get ground craters instead of water geysers when a plane hits the unfrozen sea ...  ???
Logged

crimar

  • member
  • Offline Offline
  • Posts: 295
Re: TIGER33 Flyby MAP-FIX
« Reply #28 on: July 20, 2012, 03:35:33 AM »

and another parameter I have found in Gilb57's maps:  WATER_STATE = LIQUID   ::)
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5302
Re: TIGER33 Flyby MAP-FIX
« Reply #29 on: July 20, 2012, 03:44:48 AM »

...  ::)

A big THANKS to Tiger and his UV3 SOUND mod ... 'cause thanks to him we are now tweaking load.inis and what not and discovering new tricks and fixes each and every day  ...!!  :D
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9442
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: TIGER33 Flyby MAP-FIX
« Reply #30 on: July 20, 2012, 03:55:54 AM »

List of the maps which can raise problems with the UV3:
- Kt_Svir
- Kt_Viipuri
- Kt_Karelia
- Kt_Syvari
- Net1Winter
- Net2Winter
- Empty1a_winter
- Empty1b_winter
- Empty2a_winter
- Empty2b_winter

If you want to test please...
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

crimar

  • member
  • Offline Offline
  • Posts: 295
Re: TIGER33 Flyby MAP-FIX
« Reply #31 on: July 20, 2012, 04:03:36 AM »

I have tweaked the load.ini of Stgd winter map in this way:

CAMOUFLAGE = WINTER
TEMPERATURE = -15
WATER_STATE = LIQUID

in this case, we have liquid water with ice visual, and no FlyBy.

But if I add :   WaterNoiseAnimStart = Water/Animated/WaterNoise00.tga, then the water turns black and FlyBy are OK  :(

EDIT: OK VpMedia, I have just seen your reply !
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9442
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

SAS~Monty27

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3850
  • Action and Adventure!
    • SPEEDMACHINE
Re: TIGER33 Flyby MAP-FIX
« Reply #33 on: July 20, 2012, 05:13:20 AM »

Only remaining question is who will extract all the DBW 1.71 winter load.ini's and add that one line to each? :)
That's not difficult mate, can we put together a definitive list before I do that though?

So far I have:
- Ardennes
- Balaton
- Bessarabia
- Finsgulf
- Moscow
- Stalingrad
- Westfront40
- Kt_Svir
- Kt_Viipuri
- Kt_Karelia
- Kt_Syvari
- Net1Winter
- Net2Winter
- Empty1a_winter
- Empty1b_winter
- Empty2a_winter
- Empty2b_winter
Logged

crimar

  • member
  • Offline Offline
  • Posts: 295
Re: TIGER33 Flyby MAP-FIX
« Reply #34 on: July 20, 2012, 05:15:31 AM »

Got the fix

Tested on Stgd winter map, with:

CAMOUFLAGE = WINTER
TEMPERATURE = -15

and VpMedia's 'WaterNoiseAnimStart = Water/Animated/WaterNoisex00.tga'


I found FlyBy OK, ice visual water and liquid water !

Logged

SAS~Monty27

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3850
  • Action and Adventure!
    • SPEEDMACHINE
Re: TIGER33 Flyby MAP-FIX
« Reply #35 on: July 20, 2012, 06:56:40 AM »

Updated the first post for:

Ardennes
Balaton
Bessarabia
Finsgulf
Moscow
Stalingrad
Westfront40

Empty1a_winter
Empty1b_winter
Empty2a_winter
Empty2b_winter

Kt_Karelia
Kt_Svir
Kt_Syvari
Kt_Viipuri
Logged
Pages: 1 2 [3] 4 5 6   Go Up
 

Page created in 0.094 seconds with 23 queries.