Elvas Tower: Station clocks - Elvas Tower

Jump to content

  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Station clocks Creating clocks to synchronize with simulation

#21 User is offline   Lindsayts 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,849
  • Joined: 25-November 11
  • Gender:Male
  • Country:

Posted 17 December 2016 - 02:40 AM

View Postlongiron, on 16 December 2016 - 12:37 PM, said:

Not true. A blender exporter for MSTS s. File has been around for almost a year
http://www.elvastowe...rt-plugin-v-34/
chris


There's no indication that it will enable one to do animated S files, If it does how come so few apparentrly do not know it can.

I am NOT trying to be a pain in the neck here, I do believe though the inability to easily do general animations is a limitation, as previously stated OR does need to be easier to be able to create good content for it.

Lindsay

#22 User is offline   Jovet 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 2,136
  • Joined: 14-January 08
  • Gender:Male
  • Location:Omaha, Nebraska.
  • Simulator:MSTS/Open Rails
  • Country:

Posted 19 December 2016 - 01:20 PM

View PostLindsayts, on 17 December 2016 - 02:40 AM, said:

I am NOT trying to be a pain in the neck here, I do believe though the inability to easily do general animations is a limitation, as previously stated OR does need to be easier to be able to create good content for it.

Margaret Thatcher once said, "Being powerful is like being a lady. If you have to tell people you are, you aren't. Which is probably true for our gender too . . . with apologies to those ladies reading this who are not included in that "our".

:pleasantry:


#23 User is offline   jonas 

  • Conductor
  • Group: Status: Active Member
  • Posts: 265
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 08 January 2020 - 03:47 PM

Better late than never ... here below is a source code patch, which allows analog clocks in Open Rails to display the simulation time.

Clock-shapes must have certain names for the clock hands subobjects to run in Open Rails. There are hour-, minute- and two types of second hands.

Attached Image: Uhr02_OR_Jm_Bildvorlage.jpg

The additional file "Clocks.dat" in the "Openrails" directory lists those shapes which should be recognized as clocks (similar to the turntables). So it is even possible to declare any shape of an already existing route as a clock - for example church tower clocks.

More details and a small example route with running clocks here Attached File  ORClocks_200108.zip (1.94MB)
Number of downloads: 127.

#24 User is offline   Csantucci 

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

Posted 09 January 2020 - 07:18 AM

Hi jonas,
you haven't inserted in the pack the additional file ExtClocksFile.cs. Could you please do this?

#25 User is offline   jonas 

  • Conductor
  • Group: Status: Active Member
  • Posts: 265
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 09 January 2020 - 07:58 AM

View PostCsantucci, on 09 January 2020 - 07:18 AM, said:

Hi jonas,
you haven't inserted in the pack the additional file ExtClocksFile.cs. Could you please do this?


I'm sorry! I updated the download link in post #23. The file ExtClocksFile.cs is now included.

#26 User is offline   jonas 

  • Conductor
  • Group: Status: Active Member
  • Posts: 265
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 10 January 2020 - 05:48 AM

Hannes44 ask in Thread "OR NewYear MG"

View PostHannes44, on 09 January 2020 - 04:10 AM, said:

Just a short question as I'm quite confused, which version is which; is the OR-Clocks-patch included in the latest monogame version, if not, which experimental version do I need for this much welcome feature?
Unfortunately it is not yet included in any version of Open Rails.

@Carlo, is it possible for you to occasionally provide an exe-patch of the OR clocks here, based on my source-code patch in post #23?
Than even someone who does not work with source code could try the patch and the example route too.
Thanks!

#27 User is offline   jonas 

  • Conductor
  • Group: Status: Active Member
  • Posts: 265
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 10 January 2020 - 05:58 PM

Here is an executable patch Attached File  OR-Clocks-exe-patch_200110.zip (2.25MB)
Number of downloads: 94
for the current Open Rails Testing Version 1.3.1-113-g294f03b7.

The patch contains 7 files which must replace the files of the same name in the Open Rails Testing Version 1.3.1-113-g294f03b7 by copying them.

Correspoding Attached File  Route with two OR-Clocks.zip (1.87MB)
Number of downloads: 99

#28 User is offline   Hannes44 

  • Hostler
  • Group: Status: Active Member
  • Posts: 78
  • Joined: 10-October 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 11 January 2020 - 12:42 PM

Installed exactly as you describe created animated clock with naming conventions - alas it doesn't work. When I switch on animation, the digits rotate wildly, animation switched off, they don't move from 12:00.

Thanks for your efforts anyway!

#29 User is offline   mbm_OR 

  • Fireman
  • Group: Status: Active Member
  • Posts: 203
  • Joined: 03-July 15
  • Gender:Male
  • Location:Spain
  • Simulator:Open Rails
  • Country:

Posted 11 January 2020 - 01:14 PM

Hi Jonas,

Works fine here.
It requires selecting the ORCloks activity and uncheck the LAA from Options/General.

Regards,
Mauricio

#30 User is offline   jonas 

  • Conductor
  • Group: Status: Active Member
  • Posts: 265
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 11 January 2020 - 01:28 PM

View PostHannes44, on 11 January 2020 - 12:42 PM, said:

Installed exactly as you describe created animated clock with naming conventions - alas it doesn't work. When I switch on animation, the digits rotate wildly, animation switched off, they don't move from 12:00.

Thanks for your efforts anyway!

If you want to add your own clocks to a route, it is necessary to enter your clock in the "clocks.dat" file of the route. You can find an example of this file in the "openrails" directory of my route "ORClocks".
Please do not forget to increase the index in the second line by 1 after inserting your clock into the file.

My clocks.dat file currently looks like this:

2
ClockItem( "Uhr01_OR_Jm.s" analog )
ClockItem( "Uhr02_OR_Jm.s" analog )


For example, if your clock is named "Hannes44-Clock" you should extend the clocks.dat file like this:

3
ClockItem( "Uhr01_OR_Jm.s" analog )
ClockItem( "Uhr02_OR_Jm.s" analog )
ClockItem( "Hannes44-Clock" analog )


  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • 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