Jump to content

Recommended Posts

Just wrote some words, didn't hurt.. Looking forward for the finished one, I really like it!

Share this post


Link to post
Share on other sites
vor 3 Stunden schrieb 220hotwheels:

will add some extra details such as crossings etc

Don't, Pete.

Not at the beginning. Get to grips with one aspect. Just one. When that is fully understood, tackle the next one. You're progress will be much faster that way.

Begin with slowing the train at four different spots on your layout, using only a single event definition in the EM. Concentrate on that. Ignore signals, ignore stopping the train, ignore delay times, ignore barriers, switch points and what not.

Share this post


Link to post
Share on other sites

Hi Guys

I've had some more time to go through your earlier advice together with the work that Tom has done for me in setting me on the right path. It is now so clear that my approach has been more than just a little off the mark. Having taken your advice Andy and looked at the list of items used I was staggered by the amount of repetition. That said when I start to trim I will need to be careful not to diminish the overall effect that I had always wanted to create, When all is said and done elements such as trees provide an extremely important dimension in trying for near realism. In the same way telegraph poles, street lights etc have all yet to be added.

I've just read your recent advice Goetz and have no imminent intentions to complicate matters by introducing these into the demo layout EM at present. Rest assured that I plan to keep it all very simple and get to grips with the basics as you outlined in your example.

Hi Tom. I've also had the time to take a closer look at your revised EM for tracks 3 & 4, they are brilliant and show me just how wrong my approach has been. I will follow your advice to keep Fairmont principally for the landscaping aspect for now which will encapsulate a thinning of certain elements as well as additional work on the remaining tracks and roads.

My demo layout, currently two ovals providing two parallel tracks is called Lockington. When I am happy that I have got to grips with all of the advice given I will send it to you for further comment if that is OK with you.

Cheers 

Pete

 

Share this post


Link to post
Share on other sites

Hi

Working on Fairmont I noticed something interesting in terms of laptop's and/or operating systems. My main machine is about 3.5years old and runs windows10. My older, now workshop, machine is about 9years old and on windows7. Both are on latest MS updates (Win7 is not supported anymore) and highly speced as for video editing and so on. The newer machine struggles really getting Fairmont up, it takes about 7min currently, but worse it stalls when trying to enter/edit object variables. After a minute or so it eventually opens the window for the selection and works fine again. The old machine struggles similar to get it up but once it is loaded all operations in EM are done without much hesitation.

Cheers

Tom

Share this post


Link to post
Share on other sites

Hi Tom

I believe I might have covered part of the above in an earlier reply but I too am using Windows 10 professional on both of my machines. Both have Intel i7 processors, the laptop one is less than a year old with 16Gb Ram and the desktop is only 4 months old running 48GB Ram so I don't find it too slow to load Fairmont. The laptop takes around 45 seconds and the desktop about 30 seconds. Where I have to be careful is when I am moving quickly around the layout to make sure that I don't catch something that I shouldn't.

Cheers 

Pete

Share this post


Link to post
Share on other sites
Posted (edited)

Hi Pete

I just remembered: In Fairmont the ground(board) wasn't locked when I started. I locked it!

ground.JPG.f8b47b771fd657697237e4d13fd437d5.JPG

It is done by clicking on the pin needle. It looks like this when activated. Once it is activated it is safer to move on the ground either with a mouse or keyboard shortcuts. If it is not activated one needs to click outside the board in the Universum in order to have no object selected. So if you make sure, that ground is locked, you can also just deselect the current object by single-clicking on the ground since any locked object or even layer (yes you can lock every layer with all objects on it as well) requires a double click for activation.

Cheers

Tom

Edited by metallix

Share this post


Link to post
Share on other sites

Hi Tom

Thanks for that. It should eliminate my error from before and stop my poor firemen from over exercising!! 

Cheers

Pete

Share this post


Link to post
Share on other sites

Hi Tom

As you suggested I have set up a demo layout Lockington. Size wise I appreciate that it is quite large again but my intention initially is to set up three stations along the outer track so that I can experiment with multi trains, barriers, speeds etc. Once I have got to grips with that I can then move on by setting up an inner two tracks to learn about points, crossings etc. At least that's the plan.

I thought all was going well following your examples and whilst the two trains seem to run reasonably I cannot for the life of me get the crossings to operate unless I place an instruction line in the EM for each track, which is not how you have sorted it's operation in Fairmont. I have compared your instructions and mine over and over and cannot see just where I am going wrong. Could I therefore trouble you once more to point out the errors of my ways please.

Cheers

Pete

Lockington demo.mbp

Share this post


Link to post
Share on other sites

Hi Pete, the error is in the object variables of your two barriers. You have defined them as type "catchword" instead of "variable". If you change that it runs smoothly.

Regards Timba

Share this post


Link to post
Share on other sites

Hi Timba

Many thanks for that. I had assumed that as I had set the "Trains Crossing" variable to > than 0 then selecting + 1 and - 1 for the actual operation would work fine but having selected = to 1 and = to 0 in each of the variables for open and close barriers respectively they do now close and open so many thanks for that. Very much appreciated.

Kind regards

Pete

Share this post


Link to post
Share on other sites

Hi Pete

Timba's hint got it somewhat going....the crossing in the west of the station is working fine. Have a look at the track contacts for opening the west one. They are involved in the east as well.....

Pete.thumb.JPG.1ae033cbd4893c24aa598fb4c565f809.JPG

Principle of the crossing operation

For a crossing, either a unit or assembled from parts, one counting variable is required. In V5 variables are typically homed in objects. It can be any object, visible or invisible, large or tiny, on or under/over the ground... Ideally, it is an object related to the task. The counting (object)variable can have a unique name or it can have a common name across several uniquely named objects.

To feed the counting variable with data, track contacts or contact tracks or a combination of both are essential. For each track, the information of a train entering the crossing zone as well as the information of a train leaving the crossing zone is communicated from contacts to the counting variable. The use of keywords allows to just copy and place track contacts on all tracks within a crossing and cover them all in one entry only in the EM, likewise for tracks used as a contact (trigger)

The counting variable is closing the barrier arms, and holding them shut, as long as its value is greater than zero. When its value is zero it opens the barrier arms and holds them open. For this, the setting in the animation has to be backward from end. If the value changes during opening the barrier should just reverse their motion and shut again. For this, the setting in the animation has to be forward from current.

If a crossing, that used to operate fine, is malfunctioning the first thing to check is the counting variable in the object it is homed. That's why it is preferable to home it in an object related to the task, it will be easy to find. Object variables can be monitored live (in V5 now)  with the EP (event protocol) This is useful when the cause for changing the value of a counting variable is a mystery.

Cheers

Tom

Share this post


Link to post
Share on other sites

Hi Tom

Your advice, as always, is invaluable. It's taken me a while to digest it all but it does make a lot of sense.

In trying to get both sets of points working properly in line with your setting in the Fairmont layout it was necessary to take some of my efforts back to basics and yes by doing so I realised where I had gone wrong initially and duplicated the operation between barriers 1 and 2. I've now got both barriers working properly as each train on their respective tracks approach and leave so progress has been made. 

So that I am sure I have the process right I will now look to set up a similar situation on the opposite side of the oval with a different station and set of crossings. Fingers crossed that I don't foul up again but as the saying goes, 'practice makes perfect'

Thanks again Tom. My folder with all of your advice grows weekly. By the time I become proficient at this hobby I will be able to write a book with all of your advice. Royalties to be shared 50/50 !!!

Cheers

Pete

Share this post


Link to post
Share on other sites

Hi Pete

Sound's good to me.....shared(y):D

Try some changes to the setup/settings and watch the effects this is causing. This will help you also understand how things work and also give you ideas on how to do things in other/many ways.

Here is your demo with some mods to the trains stopping.....

Cheers

Tom

Edited by metallix

Share this post


Link to post
Share on other sites

Thanks Tom. More ideas to play about with. This is definitely my best way to learn, in at the deep but with the help of an expert to keep me on the straight and narrow.

Many thanks once again

Cheers

Pete

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×