Elvas Tower: Restoring tilting feature - Elvas Tower

Jump to content

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

Restoring tilting feature Rate Topic: -----

#11 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,490
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 03 December 2016 - 02:26 AM

 Csantucci, on 28 November 2016 - 10:05 AM, said:

I have opened this blueprint https://blueprints.l...tilting-feature and hope to get approval in order to restore this nice feature.

The idea of the feature is fine, but I am concerned about the implementation: it suffers from the same problem as the old super-elevation code in being non-deterministic. E.g. if you save the game and reload it, the tilting of a train may change. You can probably fix that by saving prevTilted.

I suggest we also fix those bad names, prevTilted and tz. :)

(It's hard to tell if you've changed anything in the vibrations code because the diff includes whitespace changes, but I am trusting you have not.)

#12 User is offline   Csantucci 

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

Posted 03 December 2016 - 03:55 AM

The vibration code is untouched, I can reassure you :)
I used the original name of the variables; I have now changed them to the friendlier TiltingZRot and PrevTiltingZRot, and added the second one to the save/resume list (even if the filter is quite fast, so that the effect wasn't so bad).
Here the revised patch.
Attached File  TrainCar_tilting1.cs.patch.zip (2.44K)
Number of downloads: 286

#13 User is offline   ATW 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 638
  • Joined: 07-January 13
  • Gender:Male
  • Simulator:MSTS Open Rails
  • Country:

Posted 03 December 2016 - 09:52 AM

Has head bobbing levels been considered especially for 3D Cabs?

#14 User is offline   Csantucci 

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

Posted 04 December 2016 - 11:32 PM

Committed in x.3678.

#15 User is offline   mopacfan 

  • Fireman
  • Group: Status: Active Member
  • Posts: 168
  • Joined: 27-September 14
  • Gender:Female
  • Simulator:Open Rails
  • Country:

Posted 27 April 2018 - 04:32 AM

Hi,

I'm doing catch-up with enhancements made to OR.

Has the tilting feature been restored in the program?

#16 User is offline   Csantucci 

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

Posted 27 April 2018 - 08:08 AM

Yes.

  • 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