Elvas Tower: Auto track Sound - possible bug - Elvas Tower

Jump to content

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

Auto track Sound - possible bug Rate Topic: -----

#1 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 10 February 2020 - 09:14 AM

Hello,

I am using track sound configuration possibilities developed by Carlo but in a way that my ttype.dat file has only default track sound and switch sound. I have found that coding all squeal sounds thru eng\wag sms file gives better sound experience. Never mind - just this better suits my taste.

My ttype.dat file looks like this:

SIMISA@@@@@@@@@@JINX0t1t______

2
TrackType ( "Default" 			"def_in.sms" "def_ex.sms"	)
TrackType ( "Switch"            "AutoSound/soloswitchtrackin.sms" "AutoSound/soloswitchtrackex.sms"     )


and of course there is appropriate command in .trk file

include ( "../route.trk" )
                   
ORTSSwitchSMSNumber ( 1 )
ORTSUserPreferenceForestClearDistance ( 2 )
ORTSUserPreferenceRemoveForestTreesFromRoads ( 1 )


Everything works well as intended (switch sound is played during crossing a switch only) unless there is a curve right after a switch. In that case switch sound is played starting from the switch to the end of the curved track piece (or rather to the first straight track piece after the switch) where it return to default track sound. If there is no switch before curved track then default track sound is played during run at curve.

Edit:
Using U2020.02.09-0406

#2 User is offline   Csantucci 

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

Posted 10 February 2020 - 10:56 AM

So you are mixing the two automatic features. They have never been used together and have not been developed with this in mind, sorry.

#3 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 10 February 2020 - 11:43 AM

 Csantucci, on 10 February 2020 - 10:56 AM, said:

So you are mixing the two automatic features. They have never been used together and have not been developed with this in mind, sorry.


I am sorry Carlo but I do not understand. Which two automatic features you mean?

#4 User is offline   Csantucci 

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

Posted 10 February 2020 - 12:37 PM

I assume that you have used:
- the feature that allows you to automatically play a sound when you are on a switch; such sounds are played as track sounds
- the feature that allows you to automatically play a sound when you are in a curve, with special trigger numbers that are inserted within the ...eng.sms and ...wag.sms files.
Am I correct?

#5 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 10 February 2020 - 12:56 PM

 Csantucci, on 10 February 2020 - 12:37 PM, said:

I assume that you have used:
- the feature that allows you to automatically play a sound when you are on a switch; such sounds are played as track sounds
- the feature that allows you to automatically play a sound when you are in a curve, with special trigger numbers that are inserted within the ...eng.sms and ...wag.sms files.
Am I correct?


1. Correct - and only that one connected with a switch
2. Well, here I am using Variable Trigger -> CurveForceInc, CurveForceDec with a volume curve shape CurveFroceControlled. I do not know about any numbered trigger which plays sound when in curve. Does OR have one?

My setup works well when there is a straight track piece after the switch or curved piece witch a large radius. When directly after the switch tight curve track piece is meet then:
- eng, wag file squeal is played on the curve as intended
- track switch sound is played until first straight or less radius curve piece meet - then it goes to default.

#6 User is offline   Csantucci 

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

Posted 10 February 2020 - 01:27 PM

Re point 2: you are right. The problem is that I believe that feature 1 and feature 2 (CurveForceInc, CurveForceDec) are partly based on the same code, so it may be that they don't work well together.

#7 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 10 February 2020 - 01:43 PM

 Csantucci, on 10 February 2020 - 01:27 PM, said:

Re point 2: you are right. The problem is that I believe that feature 1 and feature 2 (CurveForceInc, CurveForceDec) are partly based on the same code, so it may be that they don't work well together.



Thank you for an explanation. Too bad. I would have to find a workaround :)

#8 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 10 February 2020 - 04:43 PM

 Csantucci, on 10 February 2020 - 01:27 PM, said:

Re point 2: you are right. The problem is that I believe that feature 1 and feature 2 (CurveForceInc, CurveForceDec) are partly based on the same code, so it may be that they don't work well together.


I have done some further testing and described behavior is independent form CurveForce trigger being present at engine sms file.

I'd tried to workaround defining ORTSCurve exactly the same as default track sound but then I've lost ORTSSwitch sound.

Manual states that it is possible to define only one (or two) automatic sound. And it is true but won't work ie here (marked with orange):
Attached Image: switch.jpg

#9 User is offline   Csantucci 

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

Posted 11 February 2020 - 01:21 AM

When I have time I'll have a check.

#10 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 11 February 2020 - 01:28 AM

 Csantucci, on 11 February 2020 - 01:21 AM, said:

When I have time I'll have a check.


It is nothing urgent and can wait. 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