Elvas Tower: Location Event and Time Event Sound File - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Location Event and Time Event Sound File Rate Topic: -----

#1 User is offline   ADITYA3191 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 30
  • Joined: 20-October 20
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 05 December 2020 - 11:12 PM

Hello Everyone , I want to add a Location/Time Event which contains sound file . Even After following Every Instruction provided in Open rails manual , Its Not working for me . so can anyone plz guide me or tell me whats wrong with my code and what type of changes to do ? Also can anyone explain me if i want to play sound in specific time interval then how to code it ? Open rail manual topic 10.16.8
Code:-
EventCategoryLocation (
EventTypeLocation ( )
ID ( 3 )
Activation_Level ( 1 )
Outcomes (
DisplayMessage ( "Won't be shown because ORTSContinue = 0")
ORTSActivitySound (
ORTSActSoundFile ( "Announceenttest.wav" "Everywhere" )
)
)
Name ( Location2 )
Location ( -2619 13111 36.1836 226.65 84 )
TriggerOnStop ( 0 )
ORTSContinue ( 0 )
)

#2 User is online   Csantucci 

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

Posted 06 December 2020 - 12:10 PM

Have you put the .wav file in the right place, that is in the SOUND folder of the route?
Could you attach the logfile?

#3 User is offline   ADITYA3191 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 30
  • Joined: 20-October 20
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 06 December 2020 - 07:03 PM

 Csantucci, on 06 December 2020 - 12:10 PM, said:

Have you put the .wav file in the right place, that is in the SOUND folder of the route?
Could you attach the logfile?


Yes Sir I have put .WAV file in sound folder of route.
Note:- My version is last stable version.
Attaching Log file Attached File  12158 Hutatma Express 2020-12-07 08.26.50.txt (47.1K)
Number of downloads: 285

#4 User is online   Csantucci 

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

Posted 07 December 2020 - 12:52 AM

Your logfile is full of warning messages, especially related to trainsets, however what is significant for us here is the first line in the log file after the intro, that says
Warning: Expected string block; got empty block in D:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Pune\ACTIVITIES\12158 Hutatma Express.act:line 9

So I assume that there is an error in your file 12158 Hutatma Express.act . Can you attach it here?

#5 User is offline   m61 

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

Posted 07 December 2020 - 02:34 AM

Activity tested in TSRE5 AE with Notepad for correction of not yet supported Activity Events in Event Editor. Location Event and Time Event Sound File and Weather Change Activity Event a little test. Route in progress. http://www.openrails...ting-Manual.pdf 10.16. OR-Specific Additions to Activity Files



SIMISA@@@@@@@@@@JINX0a0t______

Tr_Activity (
	Serial ( 1 )
	Tr_Activity_Header (
		RouteID ( Poland-351 )
		Name ( "R 87404" )
		Description ( "R 87404 Świnoujście - Poznań" )
		Briefing ( "R 87404 Świnoujście - Poznań" )
		CompleteActivity ( 0 )
		Type ( 0 )
		Mode ( 2 )
		StartTime ( 14 14 0 )
		Season ( 0 )
		Weather ( 0 )
		PathID ( "test Świnoujście- Szczecin Główny" )
		StartingSpeed ( 0 )
		Duration ( 2 0 )
		Difficulty ( 0 )
		Animals ( 0 )
		Workers ( 0 )
		FuelWater ( 0 )
		FuelCoal ( 0 )
		FuelDiesel ( 0 )
	)
	Tr_Activity_File (
		Player_Service_Definition ( "R 87404"
			Player_Traffic_Definition ( 51240
				ArrivalTime ( 51300 )
				DepartTime ( 51420 )
				SkipCount ( 0 )
				DistanceDownPath ( 407 )
				PlatformStartID ( 4768 )
				ArrivalTime ( 51540 )
				DepartTime ( 51600 )
				SkipCount ( 1 )
				DistanceDownPath ( 1948.13 )
				PlatformStartID ( 4756 )
				ArrivalTime ( 51780 )
				DepartTime ( 51780 )
				SkipCount ( 2 )
				DistanceDownPath ( 5553.84 )
				PlatformStartID ( 4754 )
				ArrivalTime ( 52320 )
				DepartTime ( 52380 )
				SkipCount ( 4 )
				DistanceDownPath ( 15430.3 )
				PlatformStartID ( 4746 )
				ArrivalTime ( 52740 )
				DepartTime ( 52800 )
				SkipCount ( 5 )
				DistanceDownPath ( 21819.8 )
				PlatformStartID ( 4738 )
				ArrivalTime ( 52980 )
				DepartTime ( 52980 )
				SkipCount ( 6 )
				DistanceDownPath ( 24454.2 )
				PlatformStartID ( 4734 )
				ArrivalTime ( 53220 )
				DepartTime ( 53220 )
				SkipCount ( 7 )
				DistanceDownPath ( 28458.4 )
				PlatformStartID ( 4730 )
				ArrivalTime ( 53400 )
				DepartTime ( 53460 )
				SkipCount ( 8 )
				DistanceDownPath ( 31801.8 )
				PlatformStartID ( 4726 )
				ArrivalTime ( 53700 )
				DepartTime ( 53760 )
				SkipCount ( 10 )
				DistanceDownPath ( 39443.8 )
				PlatformStartID ( 4710 )
				ArrivalTime ( 53880 )
				DepartTime ( 53880 )
				SkipCount ( 11 )
				DistanceDownPath ( 41912.5 )
				PlatformStartID ( 4663 )
				ArrivalTime ( 54180 )
				DepartTime ( 54180 )
				SkipCount ( 12 )
				DistanceDownPath ( 48145.5 )
				PlatformStartID ( 4350 )
				ArrivalTime ( 54480 )
				DepartTime ( 54480 )
				SkipCount ( 13 )
				DistanceDownPath ( 54433.8 )
				PlatformStartID ( 4336 )
				ArrivalTime ( 54840 )
				DepartTime ( 54840 )
				SkipCount ( 14 )
				DistanceDownPath ( 62272.1 )
				PlatformStartID ( 4334 )
				ArrivalTime ( 55200 )
				DepartTime ( 55200 )
				SkipCount ( 15 )
				DistanceDownPath ( 70476.6 )
				PlatformStartID ( 4328 )
				ArrivalTime ( 55500 )
				DepartTime ( 55560 )
				SkipCount ( 16 )
				DistanceDownPath ( 76479.9 )
				PlatformStartID ( 4301 )
				ArrivalTime ( 55980 )
				DepartTime ( 56040 )
				SkipCount ( 18 )
				DistanceDownPath ( 88027.4 )
				PlatformStartID ( 2852 )
				ArrivalTime ( 56220 )
				DepartTime ( 56280 )
				SkipCount ( 19 )
				DistanceDownPath ( 92724.8 )
				PlatformStartID ( 625 )
				ArrivalTime ( 56640 )
				DepartTime ( 56640 )
				SkipCount ( 21 )
				DistanceDownPath ( 100337 )
				PlatformStartID ( 95 )
				ArrivalTime ( 56820 )
				DepartTime ( 56820 )
				SkipCount ( 22 )
				DistanceDownPath ( 103014 )
				PlatformStartID ( 108 )
				ArrivalTime ( 57480 )
				DepartTime ( 57780 )
				SkipCount ( 23 )
				DistanceDownPath ( 115722 )
				PlatformStartID ( 113 )
			)
			UiD ( 0 )
			Efficiency ( 0.75 )
			SkipCount ( 0 )
			DistanceDownPath ( 407 )
			PlatformStartID ( 4768 )
			Efficiency ( 0.75 )
			SkipCount ( 1 )
			DistanceDownPath ( 1948.13 )
			PlatformStartID ( 4756 )
			Efficiency ( 0.75 )
			SkipCount ( 2 )
			DistanceDownPath ( 5553.84 )
			PlatformStartID ( 4754 )
			Efficiency ( 0.75 )
			SkipCount ( 4 )
			DistanceDownPath ( 15430.3 )
			PlatformStartID ( 4746 )
			Efficiency ( 0.75 )
			SkipCount ( 5 )
			DistanceDownPath ( 21819.8 )
			PlatformStartID ( 4738 )
			Efficiency ( 0.75 )
			SkipCount ( 6 )
			DistanceDownPath ( 24454.2 )
			PlatformStartID ( 4734 )
			Efficiency ( 0.75 )
			SkipCount ( 7 )
			DistanceDownPath ( 28458.4 )
			PlatformStartID ( 4730 )
			Efficiency ( 0.75 )
			SkipCount ( 8 )
			DistanceDownPath ( 31801.8 )
			PlatformStartID ( 4726 )
			Efficiency ( 0.75 )
			SkipCount ( 10 )
			DistanceDownPath ( 39443.8 )
			PlatformStartID ( 4710 )
			Efficiency ( 0.75 )
			SkipCount ( 11 )
			DistanceDownPath ( 41912.5 )
			PlatformStartID ( 4663 )
			Efficiency ( 0.75 )
			SkipCount ( 12 )
			DistanceDownPath ( 48145.5 )
			PlatformStartID ( 4350 )
			Efficiency ( 0.75 )
			SkipCount ( 13 )
			DistanceDownPath ( 54433.8 )
			PlatformStartID ( 4336 )
			Efficiency ( 0.75 )
			SkipCount ( 14 )
			DistanceDownPath ( 62272.1 )
			PlatformStartID ( 4334 )
			Efficiency ( 0.75 )
			SkipCount ( 15 )
			DistanceDownPath ( 70476.6 )
			PlatformStartID ( 4328 )
			Efficiency ( 0.75 )
			SkipCount ( 16 )
			DistanceDownPath ( 76479.9 )
			PlatformStartID ( 4301 )
			Efficiency ( 0.75 )
			SkipCount ( 18 )
			DistanceDownPath ( 88027.4 )
			PlatformStartID ( 2852 )
			Efficiency ( 0.75 )
			SkipCount ( 19 )
			DistanceDownPath ( 92724.8 )
			PlatformStartID ( 625 )
			Efficiency ( 0.75 )
			SkipCount ( 21 )
			DistanceDownPath ( 100337 )
			PlatformStartID ( 95 )
			Efficiency ( 0.75 )
			SkipCount ( 22 )
			DistanceDownPath ( 103014 )
			PlatformStartID ( 108 )
			Efficiency ( 0.75 )
			SkipCount ( 23 )
			DistanceDownPath ( 115722 )
			PlatformStartID ( 113 )
		)
		NextServiceUID ( 1 )
		NextActivityObjectUID ( 32768 )
		ORTSAIHornAtCrossings ( 1 )
		Events (
			EventCategoryAction (
				EventTypeAllStops ( )
				ID ( 1 )
				Activation_Level ( 1 )
				Outcomes (
					ActivitySuccess ( )
				)
				TextToDisplayOnCompletionIfTriggered ( "Zatrzymałeś się poprawnie we wszystkich wyznaczonych miejscach." )
				TextToDisplayOnCompletionIfNotTriggered ( "Nie zatrzymałeś się w niektórych z zalecanych miejscach." )
				Name ( "Koniec Zadania" )
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 2 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSOvercast ( 0.8 120 ) )
				)
				Name ( "Swinoujscie zachmurzenie " )
				Time ( 60 )
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 3 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSFog ( 500 60) )
				)
				Name ( "Swinoujscie mgla " )
				Time ( 120 )	
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 4 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSPrecipitationIntensity ( 0.004 120) )
				)
				Name ( "Warszow drobny deszcz" )
				Time ( 360 )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 5 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSPrecipitationIntensity ( 0 180) )
				)
				Name ( "Przytor koniec drobny deszcz" )
				Location ( -5533 15045 583.971 110.57 2 )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 6 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSOvercast ( 0.3 120 ) )
				)
				Name ( "Lubiewo - przejasnienia" )
				Location ( -5530 15046 457.33 -105.28 10 )
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 7 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSActSoundFile ( swinoujscie.wav Everywhere )
				)
				Name ( "Kierpoc Swinoujscie" )
				Time ( 60 )
				ORTSActSoundFile ( swinoujscie.wav Everywhere )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 8 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSActSoundFile ( "przed warszow.wav" Everywhere )
				)
				Name ( "Kierpoc Warszow" )
				Location ( -5535 15045 507.56 804.75 10 )
				ORTSActSoundFile ( "przed warszow.wav" Everywhere )
			)
		)
	)
)


#6 User is offline   ADITYA3191 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 30
  • Joined: 20-October 20
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 07 December 2020 - 03:24 AM

 Csantucci, on 07 December 2020 - 12:52 AM, said:

Your logfile is full of warning messages, especially related to trainsets, however what is significant for us here is the first line in the log file after the intro, that says
Warning: Expected string block; got empty block in D:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Pune\ACTIVITIES\12158 Hutatma Express.act:line 9

So I assume that there is an error in your file 12158 Hutatma Express.act . Can you attach it here?


Yes , unfortunately there are many errors in my trainset. I am attaching .act file. plz let me know my mistakes. Thanks A lot sir
SIMISA@@@@@@@@@@JINX0a0t______

Tr_Activity (
	Serial ( 55 )
	Tr_Activity_Header (
		RouteID ( Pune )
		Name ( "12158 Hutatma Express" )
		Description ( "12158 Hutatma Express (Solapur to Pune )" )
		Briefing ( )
		CompleteActivity ( 0 )
		Type ( 0 )
		Mode ( 2 )
		StartTime ( 5 50 0 )
		Season ( 1 )
		Weather ( 0 )
		PathID ( "12158 Hutatma Express" )
		StartingSpeed ( 0 )
		Duration ( 4 30 )
		Difficulty ( 0 )
		FuelWater ( 100 )
		FuelCoal ( 100 )
		FuelDiesel ( 100 )
	)
	Tr_Activity_File (
		Player_Service_Definition ( "12158 Hutatma Express"
			Player_Traffic_Definition ( 21000
				ArrivalTime ( 21900 )
				DepartTime ( 23400 )
				SkipCount ( 0 )
				DistanceDownPath ( 3583.31 )
				PlatformStartID ( 4089 )
				ArrivalTime ( 27000 )
				DepartTime ( 27180 )
				SkipCount ( 2 )
				DistanceDownPath ( 98089.7 )
				PlatformStartID ( 3750 )
				ArrivalTime ( 33180 )
				DepartTime ( 33300 )
				SkipCount ( 6 )
				DistanceDownPath ( 195200 )
				PlatformStartID ( 1038 )
				ArrivalTime ( 37800 )
				DepartTime ( 38400 )
				SkipCount ( 12 )
				DistanceDownPath ( 266870 )
				PlatformStartID ( 34 )
			)
			UiD ( 0 )
			Efficiency ( 0.75 )
			SkipCount ( 0 )
			DistanceDownPath ( 3583.31 )
			PlatformStartID ( 4089 )
			Efficiency ( 0.75 )
			SkipCount ( 2 )
			DistanceDownPath ( 98089.7 )
			PlatformStartID ( 3750 )
			Efficiency ( 0.75 )
			SkipCount ( 6 )
			DistanceDownPath ( 195200 )
			PlatformStartID ( 1038 )
			Efficiency ( 0.75 )
			SkipCount ( 12 )
			DistanceDownPath ( 266870 )
			PlatformStartID ( 34 )
		)
		NextServiceUID ( 33 )
		NextActivityObjectUID ( 32780 )
		Traffic_Definition ( "12158 Hutatma Express"
			Service_Definition ( "12158_12701 Hussain Sagar SF Express" 21600
				UiD ( 2 )
			)
			Service_Definition ( "12158_11013 LTT CBE Express" 23460
				UiD ( 3 )
			)
			Service_Definition ( "12158_11014 CBE LTT Express" 22200
				UiD ( 4 )
			)
			Service_Definition ( "12158_12115 Siddheshwar SF Express" 22620
				UiD ( 5 )
				Efficiency ( 0.75 )
				SkipCount ( 0 )
				DistanceDownPath ( 77513.9 )
				PlatformStartID ( 4092 )
			)
			Service_Definition ( "12158_22157 CSMT MAS Mail" 21900
				UiD ( 6 )
				Efficiency ( 0.75 )
				SkipCount ( 0 )
				DistanceDownPath ( 77513.9 )
				PlatformStartID ( 4092 )
			)
			Service_Definition ( "12158_16588 BKN YPR Express" 24300
				UiD ( 7 )
				Efficiency ( 0.75 )
				SkipCount ( 0 )
				DistanceDownPath ( 97962.6 )
				PlatformStartID ( 4094 )
			)
			Service_Definition ( "12158_12630 Karnataka Sampark Kranti" 33000
				UiD ( 11 )
				Efficiency ( 0.75 )
				SkipCount ( 6 )
				DistanceDownPath ( 70582.2 )
				PlatformStartID ( 37 )
			)
			Service_Definition ( "12158_22685 YPR CDG Karnataka Sampark Kranti" 32700
				UiD ( 12 )
				Efficiency ( 0.75 )
				SkipCount ( 0 )
				DistanceDownPath ( 611.857 )
				PlatformStartID ( 42 )
				Efficiency ( 0.75 )
				SkipCount ( 6 )
				DistanceDownPath ( 72598.1 )
				PlatformStartID ( 1043 )
			)
			Service_Definition ( "12158_12169 PUNE SOLAPUR INTERCITY" 34200
				UiD ( 13 )
				Efficiency ( 0.75 )
				SkipCount ( 0 )
				DistanceDownPath ( 611.857 )
				PlatformStartID ( 42 )
				Efficiency ( 0.75 )
				SkipCount ( 6 )
				DistanceDownPath ( 72598.1 )
				PlatformStartID ( 1043 )
			)
			Service_Definition ( "12158_18520 LTT VSKP Express" 37500
				UiD ( 14 )
				Efficiency ( 0.75 )
				SkipCount ( 0 )
				DistanceDownPath ( 611.857 )
				PlatformStartID ( 42 )
				Efficiency ( 0.75 )
				SkipCount ( 6 )
				DistanceDownPath ( 72598.1 )
				PlatformStartID ( 1043 )
			)
			Service_Definition ( "12158_71415 Pune Solapur DEMU" 29700
				UiD ( 15 )
				Efficiency ( 0.75 )
				SkipCount ( 2 )
				DistanceDownPath ( 6232.59 )
				PlatformStartID ( 220 )
				Efficiency ( 0.75 )
				SkipCount ( 3 )
				DistanceDownPath ( 11123.3 )
				PlatformStartID ( 619 )
				Efficiency ( 0.75 )
				SkipCount ( 4 )
				DistanceDownPath ( 15409.7 )
				PlatformStartID ( 605 )
				Efficiency ( 0.75 )
				SkipCount ( 5 )
				DistanceDownPath ( 27352 )
				PlatformStartID ( 651 )
				Efficiency ( 0.75 )
				SkipCount ( 6 )
				DistanceDownPath ( 38075.6 )
				PlatformStartID ( 900 )
				Efficiency ( 0.75 )
				SkipCount ( 7 )
				DistanceDownPath ( 43883.9 )
				PlatformStartID ( 2799 )
				Efficiency ( 0.75 )
				SkipCount ( 8 )
				DistanceDownPath ( 49949.6 )
				PlatformStartID ( 949 )
				Efficiency ( 0.75 )
				SkipCount ( 9 )
				DistanceDownPath ( 54778.7 )
				PlatformStartID ( 983 )
				Efficiency ( 0.75 )
				SkipCount ( 10 )
				DistanceDownPath ( 61586.7 )
				PlatformStartID ( 987 )
				Efficiency ( 0.75 )
				SkipCount ( 11 )
				DistanceDownPath ( 72502.1 )
				PlatformStartID ( 1045 )
			)
			Service_Definition ( "12158_71403 Pune Solapur DEMU" 34800
				UiD ( 16 )
				Efficiency ( 0.75 )
				SkipCount ( 2 )
				DistanceDownPath ( 6232.59 )
				PlatformStartID ( 220 )
				Efficiency ( 0.75 )
				SkipCount ( 3 )
				DistanceDownPath ( 11123.3 )
				PlatformStartID ( 619 )
				Efficiency ( 0.75 )
				SkipCount ( 4 )
				DistanceDownPath ( 15409.7 )
				PlatformStartID ( 605 )
				Efficiency ( 0.75 )
				SkipCount ( 5 )
				DistanceDownPath ( 27352 )
				PlatformStartID ( 651 )
				Efficiency ( 0.75 )
				SkipCount ( 6 )
				DistanceDownPath ( 38075.6 )
				PlatformStartID ( 900 )
				Efficiency ( 0.75 )
				SkipCount ( 7 )
				DistanceDownPath ( 43883.9 )
				PlatformStartID ( 2799 )
				Efficiency ( 0.75 )
				SkipCount ( 8 )
				DistanceDownPath ( 49949.6 )
				PlatformStartID ( 949 )
				Efficiency ( 0.75 )
				SkipCount ( 9 )
				DistanceDownPath ( 54778.7 )
				PlatformStartID ( 983 )
				Efficiency ( 0.75 )
				SkipCount ( 10 )
				DistanceDownPath ( 61586.7 )
				PlatformStartID ( 987 )
				Efficiency ( 0.75 )
				SkipCount ( 11 )
				DistanceDownPath ( 72502.1 )
				PlatformStartID ( 1045 )
			)
			Service_Definition ( "12158_11423 SUR UBL Intercity Express" 21000
				UiD ( 17 )
			)
			Service_Definition ( "12158_Freight 1" 21000
				UiD ( 18 )
			)
			Service_Definition ( "12158_Freight 2" 24600
				UiD ( 19 )
			)
			Service_Definition ( "12158_Freight 7" 31500
				UiD ( 24 )
			)
			Service_Definition ( "12158_Freight 8" 33000
				UiD ( 25 )
			)
			Service_Definition ( "12158_Freight 9" 36120
				UiD ( 26 )
			)
			Service_Definition ( "12158_12025 PUNE SC Shatabdi Express" 25320
				UiD ( 27 )
			)
			Service_Definition ( "12158_Freight 4" 27000
				UiD ( 28 )
			)
			Service_Definition ( "12158_Freight 3" 26400
				UiD ( 29 )
			)
			Service_Definition ( "12158_Freight 5" 28200
				UiD ( 30 )
			)
			Service_Definition ( "12158_Freight 6" 30000
				UiD ( 31 )
			)
			Service_Definition ( "12158_11001 SNSI PVR Express" 31200
				UiD ( 32 )
				Efficiency ( 0.75 )
				SkipCount ( 0 )
				DistanceDownPath ( 25551.5 )
				PlatformStartID ( 1367 )
			)
		)
		Events (
			EventCategoryAction (
				EventTypeAllStops ( )
				ID ( 0 )
				Activation_Level ( 1 )
				Outcomes (
					ActivitySuccess ( )
				)
				TextToDisplayOnCompletionIfTriggered ( "You successfully stopped at all the stations." )
				TextToDisplayOnCompletionIfNotTriggered ( "You missed some station stops." )
				Name ( "Default event" )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 1 )
				Activation_Level ( 1 )
				Outcomes (
					DisplayMessage ( "Just Follow the path given and Shunt the Rake Of Hutatma Express On PF 1 . \n"+
						 "Speed Limit 15kmph For Shunting . \n"+
						 "SUR Departure timing is 6:30 AM\n"
						 )
				)
				Name ( Location0 )
				Location ( -2619 13111 53.5889 128.772 10 )
				TriggerOnStop ( 0 )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 2 )
				Activation_Level ( 1 )
				Outcomes (
					DisplayMessage ( "You Will get clearance around 9:23 , 12630 Karnataka Sampark Kranti Will Overtake You." )
				)
				Name ( Location1 )
				Location ( -2692 13152 126.269 -787.589 10 )
				TriggerOnStop ( 0 )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 3 )
				Activation_Level ( 1 )
				Outcomes ( 
				          DisplayMessage ( "Won't be shown because ORTSContinue = 0" )
				                   ORTSActivitySound (
                                                                 ORTSActSoundFile ( "testevent.wav" "Ground" )
                                                           )
                                )
				Name ( Location2 )
				Location ( -2619 13111 36.1836 226.65 84 )
				TriggerOnStop ( 0 )
				ORTSContinue ( 0 )
			)
		)




Sorry can't attach file because of error "You aren't permitted to upload this kind of file"

#7 User is offline   ADITYA3191 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 30
  • Joined: 20-October 20
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 07 December 2020 - 03:34 AM

 m61, on 07 December 2020 - 02:34 AM, said:

Activity tested in TSRE5 AE with Notepad for correction of not yet supported Activity Events in Event Editor. Location Event and Time Event Sound File and Weather Change Activity Event a little test. Route in progress. http://www.openrails...ting-Manual.pdf 10.16. OR-Specific Additions to Activity Files



SIMISA@@@@@@@@@@JINX0a0t______

Tr_Activity (
	Serial ( 1 )
	Tr_Activity_Header (
		RouteID ( Poland-351 )
		Name ( "R 87404" )
		Description ( "R 87404 Świnoujście - Poznań" )
		Briefing ( "R 87404 Świnoujście - Poznań" )
		CompleteActivity ( 0 )
		Type ( 0 )
		Mode ( 2 )
		StartTime ( 14 14 0 )
		Season ( 0 )
		Weather ( 0 )
		PathID ( "test Świnoujście- Szczecin Główny" )
		StartingSpeed ( 0 )
		Duration ( 2 0 )
		Difficulty ( 0 )
		Animals ( 0 )
		Workers ( 0 )
		FuelWater ( 0 )
		FuelCoal ( 0 )
		FuelDiesel ( 0 )
	)
	Tr_Activity_File (
		Player_Service_Definition ( "R 87404"
			Player_Traffic_Definition ( 51240
				ArrivalTime ( 51300 )
				DepartTime ( 51420 )
				SkipCount ( 0 )
				DistanceDownPath ( 407 )
				PlatformStartID ( 4768 )
				ArrivalTime ( 51540 )
				DepartTime ( 51600 )
				SkipCount ( 1 )
				DistanceDownPath ( 1948.13 )
				PlatformStartID ( 4756 )
				ArrivalTime ( 51780 )
				DepartTime ( 51780 )
				SkipCount ( 2 )
				DistanceDownPath ( 5553.84 )
				PlatformStartID ( 4754 )
				ArrivalTime ( 52320 )
				DepartTime ( 52380 )
				SkipCount ( 4 )
				DistanceDownPath ( 15430.3 )
				PlatformStartID ( 4746 )
				ArrivalTime ( 52740 )
				DepartTime ( 52800 )
				SkipCount ( 5 )
				DistanceDownPath ( 21819.8 )
				PlatformStartID ( 4738 )
				ArrivalTime ( 52980 )
				DepartTime ( 52980 )
				SkipCount ( 6 )
				DistanceDownPath ( 24454.2 )
				PlatformStartID ( 4734 )
				ArrivalTime ( 53220 )
				DepartTime ( 53220 )
				SkipCount ( 7 )
				DistanceDownPath ( 28458.4 )
				PlatformStartID ( 4730 )
				ArrivalTime ( 53400 )
				DepartTime ( 53460 )
				SkipCount ( 8 )
				DistanceDownPath ( 31801.8 )
				PlatformStartID ( 4726 )
				ArrivalTime ( 53700 )
				DepartTime ( 53760 )
				SkipCount ( 10 )
				DistanceDownPath ( 39443.8 )
				PlatformStartID ( 4710 )
				ArrivalTime ( 53880 )
				DepartTime ( 53880 )
				SkipCount ( 11 )
				DistanceDownPath ( 41912.5 )
				PlatformStartID ( 4663 )
				ArrivalTime ( 54180 )
				DepartTime ( 54180 )
				SkipCount ( 12 )
				DistanceDownPath ( 48145.5 )
				PlatformStartID ( 4350 )
				ArrivalTime ( 54480 )
				DepartTime ( 54480 )
				SkipCount ( 13 )
				DistanceDownPath ( 54433.8 )
				PlatformStartID ( 4336 )
				ArrivalTime ( 54840 )
				DepartTime ( 54840 )
				SkipCount ( 14 )
				DistanceDownPath ( 62272.1 )
				PlatformStartID ( 4334 )
				ArrivalTime ( 55200 )
				DepartTime ( 55200 )
				SkipCount ( 15 )
				DistanceDownPath ( 70476.6 )
				PlatformStartID ( 4328 )
				ArrivalTime ( 55500 )
				DepartTime ( 55560 )
				SkipCount ( 16 )
				DistanceDownPath ( 76479.9 )
				PlatformStartID ( 4301 )
				ArrivalTime ( 55980 )
				DepartTime ( 56040 )
				SkipCount ( 18 )
				DistanceDownPath ( 88027.4 )
				PlatformStartID ( 2852 )
				ArrivalTime ( 56220 )
				DepartTime ( 56280 )
				SkipCount ( 19 )
				DistanceDownPath ( 92724.8 )
				PlatformStartID ( 625 )
				ArrivalTime ( 56640 )
				DepartTime ( 56640 )
				SkipCount ( 21 )
				DistanceDownPath ( 100337 )
				PlatformStartID ( 95 )
				ArrivalTime ( 56820 )
				DepartTime ( 56820 )
				SkipCount ( 22 )
				DistanceDownPath ( 103014 )
				PlatformStartID ( 108 )
				ArrivalTime ( 57480 )
				DepartTime ( 57780 )
				SkipCount ( 23 )
				DistanceDownPath ( 115722 )
				PlatformStartID ( 113 )
			)
			UiD ( 0 )
			Efficiency ( 0.75 )
			SkipCount ( 0 )
			DistanceDownPath ( 407 )
			PlatformStartID ( 4768 )
			Efficiency ( 0.75 )
			SkipCount ( 1 )
			DistanceDownPath ( 1948.13 )
			PlatformStartID ( 4756 )
			Efficiency ( 0.75 )
			SkipCount ( 2 )
			DistanceDownPath ( 5553.84 )
			PlatformStartID ( 4754 )
			Efficiency ( 0.75 )
			SkipCount ( 4 )
			DistanceDownPath ( 15430.3 )
			PlatformStartID ( 4746 )
			Efficiency ( 0.75 )
			SkipCount ( 5 )
			DistanceDownPath ( 21819.8 )
			PlatformStartID ( 4738 )
			Efficiency ( 0.75 )
			SkipCount ( 6 )
			DistanceDownPath ( 24454.2 )
			PlatformStartID ( 4734 )
			Efficiency ( 0.75 )
			SkipCount ( 7 )
			DistanceDownPath ( 28458.4 )
			PlatformStartID ( 4730 )
			Efficiency ( 0.75 )
			SkipCount ( 8 )
			DistanceDownPath ( 31801.8 )
			PlatformStartID ( 4726 )
			Efficiency ( 0.75 )
			SkipCount ( 10 )
			DistanceDownPath ( 39443.8 )
			PlatformStartID ( 4710 )
			Efficiency ( 0.75 )
			SkipCount ( 11 )
			DistanceDownPath ( 41912.5 )
			PlatformStartID ( 4663 )
			Efficiency ( 0.75 )
			SkipCount ( 12 )
			DistanceDownPath ( 48145.5 )
			PlatformStartID ( 4350 )
			Efficiency ( 0.75 )
			SkipCount ( 13 )
			DistanceDownPath ( 54433.8 )
			PlatformStartID ( 4336 )
			Efficiency ( 0.75 )
			SkipCount ( 14 )
			DistanceDownPath ( 62272.1 )
			PlatformStartID ( 4334 )
			Efficiency ( 0.75 )
			SkipCount ( 15 )
			DistanceDownPath ( 70476.6 )
			PlatformStartID ( 4328 )
			Efficiency ( 0.75 )
			SkipCount ( 16 )
			DistanceDownPath ( 76479.9 )
			PlatformStartID ( 4301 )
			Efficiency ( 0.75 )
			SkipCount ( 18 )
			DistanceDownPath ( 88027.4 )
			PlatformStartID ( 2852 )
			Efficiency ( 0.75 )
			SkipCount ( 19 )
			DistanceDownPath ( 92724.8 )
			PlatformStartID ( 625 )
			Efficiency ( 0.75 )
			SkipCount ( 21 )
			DistanceDownPath ( 100337 )
			PlatformStartID ( 95 )
			Efficiency ( 0.75 )
			SkipCount ( 22 )
			DistanceDownPath ( 103014 )
			PlatformStartID ( 108 )
			Efficiency ( 0.75 )
			SkipCount ( 23 )
			DistanceDownPath ( 115722 )
			PlatformStartID ( 113 )
		)
		NextServiceUID ( 1 )
		NextActivityObjectUID ( 32768 )
		ORTSAIHornAtCrossings ( 1 )
		Events (
			EventCategoryAction (
				EventTypeAllStops ( )
				ID ( 1 )
				Activation_Level ( 1 )
				Outcomes (
					ActivitySuccess ( )
				)
				TextToDisplayOnCompletionIfTriggered ( "Zatrzymałeś się poprawnie we wszystkich wyznaczonych miejscach." )
				TextToDisplayOnCompletionIfNotTriggered ( "Nie zatrzymałeś się w niektórych z zalecanych miejscach." )
				Name ( "Koniec Zadania" )
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 2 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSOvercast ( 0.8 120 ) )
				)
				Name ( "Swinoujscie zachmurzenie " )
				Time ( 60 )
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 3 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSFog ( 500 60) )
				)
				Name ( "Swinoujscie mgla " )
				Time ( 120 )	
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 4 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSPrecipitationIntensity ( 0.004 120) )
				)
				Name ( "Warszow drobny deszcz" )
				Time ( 360 )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 5 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSPrecipitationIntensity ( 0 180) )
				)
				Name ( "Przytor koniec drobny deszcz" )
				Location ( -5533 15045 583.971 110.57 2 )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 6 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSWeatherChange ( ORTSOvercast ( 0.3 120 ) )
				)
				Name ( "Lubiewo - przejasnienia" )
				Location ( -5530 15046 457.33 -105.28 10 )
			)
			EventCategoryTime (
				EventTypeTime ( )
				ID ( 7 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSActSoundFile ( swinoujscie.wav Everywhere )
				)
				Name ( "Kierpoc Swinoujscie" )
				Time ( 60 )
				ORTSActSoundFile ( swinoujscie.wav Everywhere )
			)
			EventCategoryLocation (
				EventTypeLocation ( )
				ID ( 8 )
				Activation_Level ( 1 )
				Outcomes (
					ORTSActSoundFile ( "przed warszow.wav" Everywhere )
				)
				Name ( "Kierpoc Warszow" )
				Location ( -5535 15045 507.56 804.75 10 )
				ORTSActSoundFile ( "przed warszow.wav" Everywhere )
			)
		)
	)
)




Thank you sir for giving example , But in time event you have written Time(60) . Can you plz explain me suppose i want to play sound from 5:50AM to 5:55Am the what should i write in Time()?

#8 User is online   Csantucci 

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

Posted 07 December 2020 - 06:20 AM

Time is expressed in seconds and starts from 0 at activity start.

#9 User is offline   ADITYA3191 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 30
  • Joined: 20-October 20
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 07 December 2020 - 06:24 AM

 Csantucci, on 07 December 2020 - 06:20 AM, said:

Time is expressed in seconds and starts from 0 at activity start.


Ok Thank You

Page 1 of 1
  • 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