TrackViewer maintenance What's next?
#11
Posted 27 January 2018 - 01:41 PM
I suppose the correct question for the OR team is to ask whether the sprite text display is initiated by discovering it's specification in the world file or the .tdb. My *guess* is the world file as that would be far more simple way to discover it is present.
My assumption is changing the loader to match your file to what is in the world file and pass along only the matches would be pretty simple and yeah, probably .json. Probably best for your file to be sorted... tile id then Uid() so the matching would be a bit more efficient.
As for name and location... perhaps best to use an Activity file name; I'd stick it in the .act folder.
Best to run it past James... see if he'll approve a blueprint for it.
#12
Posted 28 January 2018 - 07:59 PM
JeroenP, on 27 January 2018 - 12:32 PM, said:
I have committed an update (x4047) where there now is a preference: You can either use the current method (shift-PgUp will draw all of the existing path but not add any nodes), or you can select that shift-PgUp extends the path as far as it goes. The latter then also make long paths in the case of placing a start point or changing the start direction.
Best regards. Jeroen.
Hi,
Has anyone else reported this error when trying to place a start point for a new path in X4046, X4048, and X4049:
A fatal error has occurred and Open Rails cannot continue.
System.NullReferenceException: Object reference not set to an instance of an object.
This error may be due to bad data or a bug.
----------
This error does not occur in versions prior to X4046.
Thanks,
Mike
#13
Posted 29 January 2018 - 03:54 AM
#14
Posted 29 January 2018 - 11:45 AM
#15
Posted 29 January 2018 - 01:58 PM
#16
Posted 29 January 2018 - 06:36 PM
The reason I'm asking for this is with specific regard to switching industrial spots. If you have a "siding" label for each side track in each town and the Activity calls for switching cars at Hookers Corner at just 1 of the 7 that are located there, of what use to the end user is displaying all 7? Similarly if you want a train to grab the cars from track 12 (of 15) in a yard show the sprite text for just that track and suppress the rest.
WRT implementation, yeah, it would require end users to do something on their own. Those that value the feature will give it a try, those that don't won't. But there are a whole lot of features in OR that some people never use so that's nothing unusual.
#17
Posted 30 January 2018 - 07:28 AM
Howky, on 28 January 2018 - 03:00 AM, said:
mikebond, on 28 January 2018 - 07:59 PM, said:
A fatal error has occurred and Open Rails cannot continue.
Mike
Mike, Howky. So, I confirm this issue and will make a fix. Do note that you can still place a start-point using shift, and then click the left mouse.
Jeroen
#18
Posted 30 January 2018 - 07:38 AM
#19
Posted 30 January 2018 - 12:45 PM
Genma Saotome, on 29 January 2018 - 06:36 PM, said:
If you are using X3991 or later and press F6, I believe you get exactly what you want:
https://james-ross.co.uk/temp/Open Rails 2018-01-30 08-41-04.png
For comparison, here is the "show everything" mode for labels:
https://james-ross.co.uk/temp/Open Rails 2018-01-30 08-42-58.png
What we're definitely still missing is automatic car labels, but I expect you can see how that's going to be implemented: same as sidings, by collecting all mentioned labels from the Work Orders.
#20
Posted 31 January 2018 - 12:06 PM
I committed a fix for not being able to place a start point (X4051).
I am still working and making good progress on
eolesen, on 17 January 2018 - 02:19 PM, said:
I have not yet spent anytime myself on the details of the viewing of siding labels and on what exactly changed already in X3991.
Best regards. Jeroen.
#21
Posted 31 January 2018 - 03:27 PM
That would get the proper identification into the game for use in sprites however, again IMO there is something more that is needed which adds a lot of changes: Freight cars are normally sorted into large groups of cars (often called blocks) sharing a common destination, stuff that is moving the entire distance from major yard A to major yard B. The train crew only needs to know these blocks are not going to be broken up anywhere in their journey so there isn't much need to know anything at all about the individual cars. In game this could be represented by a "block" sprite text at the first and last car of the each block, nothing in between. Cars that will be handled in some way by the train crew are all locals and normally the train crew does need to know something about each car, typical car initials, numbers, destination if all they are doing is leaving them somewhere, or, if they're also placing them at industrial spots, the previous information plus lading, consignee name, and possibly spotting location.
To record that additional text for sprite display probably means adding data to a newly designed file that essentially uses the original .con file as it's source but now includes all of the activity specific data, such as the sprite text I've mentioned as well as lading weight. It's far more work because Activity based data like lading weight mean recalculating MaxBrakeForce() as well as DavisA, B, and C.
So maybe a two step approach: Get a worldwide set of parameters to properly identify each car as phase one and do phase two at some later data.
#22
Posted 03 February 2018 - 06:18 AM
eolesen, on 17 January 2018 - 02:19 PM, said:
I have committed (X4053) an enhancement where there are now options to determine how much additional scaling you want on the terrain tiles to reduce memory consumption. The default is automatic reduction which depends on the number of .ace files loaded, and not so much on the number of tiles loaded (re-using terrain textures in multiple tiles almost doesn't increase memory consumption). I think this was the last request from eolesen (at least for now).
Regarding the showing of siding labels that Dave requested. I find it difficult to judge by myself but it seems that at this point in time the requested functionality is largely available: the amount of labels shown is automatically determined from the activity. But there is no way currently to change what is automatically shown, which would be a refinement that of currently low priority. And therefore, at the moment, there is nothing to do in TrackViewer on this. Please correct me if I am wrong.
Jeroen.
#23
Posted 03 February 2018 - 07:28 AM
The newest pdf is under Source\Documentation. I removed the copy under Source\Contrib\TrackViewer, since I did not think it makes sense to keep the pdf twice in the repository (the .odt is still in Source\Contrib\TrackViewer though).
Jeroen.
#24
Posted 03 February 2018 - 01:23 PM
Christopher
#25
Posted 04 February 2018 - 01:44 AM
JeroenP, on 03 February 2018 - 07:28 AM, said:
The website only has the latest "Manual.pdf", nothing else has ever been updated.
JeroenP, on 03 February 2018 - 07:28 AM, said:
You should not put PDFs in the repository when the source document is also in there. If you want the documentation included in Open Rails, please put the source document in Source\Documentation and we'll automatically produce a PDF for the Open Rails downloads.