Elvas Tower: No weather change - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

No weather change Rate Topic: -----

#1 User is offline   septf 

  • Hostler
  • Group: Status: Active Member
  • Posts: 70
  • Joined: 28-July 14
  • Gender:Male
  • Location:Cognac
  • Simulator:MSTS OpenRails
  • Country:

Posted 19 April 2021 - 07:28 AM

Hello
The weather change does not work with monogame versions (Rev93,95 and 96) nor with version X1.3.1-342-gf793f152f. Is this normal?
With the stable version 1.3.1.4328 it works
Here is the code
Events (
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 1 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( "Brouillard Tombant" )
				)
				Name ( JMF_PCA_Essai_meteo )
				Time ( 0 )
				ORTSWeatherChange (
					Name ( "Brouillard Tombant" )
					ORTSFog ( 80 50 ) 

Best Regards
Jean-Marc

#2 User is online   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 19 April 2021 - 12:05 PM

My test activity works regularly.

#3 User is offline   nounours1952 

  • Hostler
  • Group: Status: Active Member
  • Posts: 51
  • Joined: 02-September 14
  • Simulator:MSTS / OR
  • Country:

Posted 29 April 2021 - 01:02 AM

 Csantucci, on 19 April 2021 - 12:05 PM, said:

My test activity works regularly.

Hello,

the weather change is working fine, but the speed of the trains seems to have an influence on the precipitation on front view. At the rear, everything seems normal.

What is the problem?

https://zupimages.net/up/21/17/ppue.jpg

https://zupimages.net/up/21/17/6yvc.jpg

https://zupimages.net/up/21/17/qwe3.jpg

Friendly
Pascal

#4 User is online   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 29 April 2021 - 07:43 AM

If my guess is correct, it's not elementary to solve this. Raindrops and snow flakes are generated within a "box" that moves with the camera. Raindrops need some time to fall from the top of the box down to the bottom. If your camera runs fast, most of raindrops and snow flakes are still near the top of the box in front of you, and so you won't see many of them.

#5 User is offline   vince 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,314
  • Joined: 18-June 14
  • Gender:Male
  • Location:West of the Contental Divide
  • Simulator:ORTS_Running MSTS_Editing
  • Country:

Posted 29 April 2021 - 07:51 AM

My question to the original poster is have you modified the size of the precipitation box?
The log would show this but . . . no log . . .

vince


#6 User is offline   septf 

  • Hostler
  • Group: Status: Active Member
  • Posts: 70
  • Joined: 28-July 14
  • Gender:Male
  • Location:Cognac
  • Simulator:MSTS OpenRails
  • Country:

Posted 29 April 2021 - 08:02 AM

Since I have the same problem as Pascal, here is the information about the precipitation box

Quote

PrecipitationBoxHeight = 100
PrecipitationBoxLength = 500
PrecipitationBoxWidth = 500


How to change these parameters, possibly
I just saw how to change the zones
Jean-Marc

#7 User is offline   nounours1952 

  • Hostler
  • Group: Status: Active Member
  • Posts: 51
  • Joined: 02-September 14
  • Simulator:MSTS / OR
  • Country:

Posted 06 May 2021 - 01:47 AM

 septf, on 19 April 2021 - 07:28 AM, said:

Hello
The weather change does not work with monogame versions (Rev93,95 and 96) nor with version X1.3.1-342-gf793f152f. Is this normal?
With the stable version 1.3.1.4328 it works
Here is the code
Events (
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 1 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( "Brouillard Tombant" )
				)
				Name ( JMF_PCA_Essai_meteo )
				Time ( 0 )
				ORTSWeatherChange (
					Name ( "Brouillard Tombant" )
					ORTSFog ( 80 50 ) 

Best Regards
Jean-Marc


Hello,

no Idea ?

Amicalement
Pascal

#8 User is offline   m61 

  • Fireman
  • PipPipPip
  • Group: Status: Fired
  • Posts: 163
  • Joined: 12-May 14
  • Gender:Male
  • Location:Bialobrzegi
  • Simulator:Open Rails
  • Country:

Posted 06 May 2021 - 07:04 AM

Hello
The weather change does not work with monogame versions (Rev98) not with version U2021.05.06-0921.
With the stable version 1.3.1.4328 it works OK .
TSRE Activity Editor Manual
12. Change the Weather.
https://docs.google....dit?usp=sharing

Activity made in TSRE5 AE
Here is the test code weathertransitions.dat in route folder


ORTSWeatherChangeList (
	ORTSWeatherChange (
		Name ( "Fog" )
		ORTSFog ( 500 20)
	)
	ORTSWeatherChange (
		Name ( "Fog stop" )
		ORTSFog ( 10000 60)
	)
	ORTSWeatherChange (
		Name ( "Precipitation" )
		ORTSPrecipitationIntensity ( 0.004 30)
	)
	ORTSWeatherChange (
		Name ( "Precipitation stop" )
		ORTSPrecipitationIntensity ( 0 180)
	)
	ORTSWeatherChange (
		Name ( "Overcast" )
		ORTSOvercast ( 0.7 10 )
	)
	ORTSWeatherChange (
		Name ( "Overcast stop" )
		ORTSOvercast ( 0.0 120 )
	)
)


Here is the code TestWeatherChange.act
		NextServiceUID ( 1 )
		NextActivityObjectUID ( 32768 )
		ORTSAIHornAtCrossings ( 1 )
		Events (
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 2 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( Overcast )
				)
				Name ( Overcast )
				Time ( 10 )
				ORTSWeatherChange (
					Name ( Overcast )
					ORTSOvercast ( 0.7 10 )
				)
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 3 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( Fog )
				)
				Name ( Fog )
				Time ( 20 )
				ORTSWeatherChange (
					Name ( Fog )
					ORTSFog ( 500 20 )
				)
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 4 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( Precipitation )
				)
				Name ( Rain )
				Time ( 60 )
				ORTSWeatherChange (
					Name ( Precipitation )
					ORTSPrecipitationIntensity ( 0.004 30 )
				)
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 5 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( "Precipitation stop" )
				)
				Name ( "Rain stop" )
				Time ( 120 )
				ORTSWeatherChange (
					Name ( "Precipitation stop" )
					ORTSPrecipitationIntensity ( 0 180 )
				)
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 6 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( "Fog stop" )
				)
				Name ( "Fog stop" )
				Time ( 240 )
				ORTSWeatherChange (
					Name ( "Fog stop" )
					ORTSFog ( 10000 60 )
				)
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 7 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( "Overcast stop" )
				)
				Name ( "Overcast stop" )
				Time ( 300 )
				ORTSWeatherChange (
					Name ( "Overcast stop" )
					ORTSOvercast ( 0 120 )
				)
			)
		)
	)
)


stable version 1.3.1.4328

Attached File  TSRE5 AE weather.jpg (378.42K)
Number of downloads: 5
Attached File  Open Rails 2021-05-06 01-46-11.jpg (477.57K)
Number of downloads: 5
Attached File  Open Rails 2021-05-06 01-55-15.jpg (408.06K)
Number of downloads: 1
Attached File  Open Rails 2021-05-06 01-59-03.jpg (419.96K)
Number of downloads: 1

version U2021.05.06-0921

Attached File  Open Rails 2021-05-06 02-03-16.jpg (361.09K)
Number of downloads: 1

monogame versions (Rev98)

Attached File  RunActivity32 2021-05-06 14-05-00.jpg (496.02K)
Number of downloads: 2
Attached File  Open Rails 2021-05-06 02-05-00.jpg (447.06K)
Number of downloads: 2

#9 User is offline   m61 

  • Fireman
  • PipPipPip
  • Group: Status: Fired
  • Posts: 163
  • Joined: 12-May 14
  • Gender:Male
  • Location:Bialobrzegi
  • Simulator:Open Rails
  • Country:

Posted 06 May 2021 - 11:31 AM

ORTSWeatherChange - Time and Location x 3

Attached File  TSRE5 AE weather.jpg (378.42K)
Number of downloads: 3
Attached File  tsre ae overcast2.jpg (574.24K)
Number of downloads: 2
Attached File  tsre ae fog2.jpg (535.06K)
Number of downloads: 2
Attached File  tsre ae rain2.jpg (458.31K)
Number of downloads: 1

https://youtu.be/YyEhlhosm_Q




#10 User is online   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 06 May 2021 - 11:46 AM

I found the issue and have to decide which is the cleanest way to solve it. It occurs only if the activity is created with TSRE5, and what disturbs the actual versions of OR is this line
ORTSWeatherChange ( "ThisIsANameForThisWeatherChange" )

added by TSRE5 within the Outcomes block.
If this line, which is unuseful for OR and is useful only for TSRE5, is removed, the weather change works.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users