Objects disappearing too quickly

View previous topic View next topic Go down

Objects disappearing too quickly

Post by Tstageman on Wed Nov 02, 2011 6:29 pm

Have just a quick question, I am trying to knock a small route together as a bit of a first attempt, but I'm finding that certain objects disappear a bit too quickly when the train goes past them, if that makes sense. Like they're only there for half the time they are meant to be seen for, when driving the train. How can I get round this please?

Many Thanks

Tom
avatar
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Re: Objects disappearing too quickly

Post by velaro on Wed Nov 02, 2011 7:10 pm

By default, an object disppappears once you have moved past the block in which the object resides. You can get around this by shifting the coordinates of your object such that you can attach it to a track position further ahead (which will usually mean lower z-coordinates) or by setting Options.ObjectVisibility 1 in the route file.
avatar
velaro

Posts : 23
Join date : 2011-08-02
Age : 41
Location : Reutlingen, Germany

Back to top Go down

Re: Objects disappearing too quickly

Post by Tstageman on Wed Nov 02, 2011 7:39 pm

Right I see, that makes sense.

Thanks
avatar
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Re: Objects disappearing too quickly

Post by Tstageman on Wed Nov 02, 2011 8:16 pm

Velaro,

Would you be able to explain your second idea, like how to do that? I'm not entirely sure I know what you're talking about...(I am still an amateur!!)

Thanks

Tom
avatar
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Re: Objects disappearing too quickly

Post by graymac on Wed Nov 02, 2011 8:18 pm

This isn't usually a problem unless the object is quite a long one. In which case, using this example, where there's a a face with z co-ords starting at z=0 and finishing at z=200. Use negative values instead, starting at z=-200 and finishing at z=0.
This will affect the placement of the object, as the negative z co-ord version will need to be positioned further ahead in .with track than the original.
Try it and you will see!
avatar
graymac

Posts : 1740
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Objects disappearing too quickly

Post by Tstageman on Wed Nov 02, 2011 8:28 pm

Thanks for your reply Graymac, much appreciated. This mostly makes sense in my head, only thing being is that the object in question is not one of my own but a bridge that I 'borrowed' from NWM, so presumed it would work fine, I can see the advantage now of building all of your own objects!

Thanks

Tom
avatar
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Re: Objects disappearing too quickly

Post by velaro on Wed Nov 02, 2011 9:01 pm

Tstageman wrote:Velaro,
Would you be able to explain your second idea, like how to do that? I'm not entirely sure I know what you're talking about...(I am still an amateur!!)
Thanks
Tom
Options.ObjectVisibility 1 is just a command that you place in your route file - either exactly like that or as .Visibility 1 in the With Options section. See here.
avatar
velaro

Posts : 23
Join date : 2011-08-02
Age : 41
Location : Reutlingen, Germany

Back to top Go down

Re: Objects disappearing too quickly

Post by graymac on Thu Nov 03, 2011 4:57 pm

You are quite right about the advantages of building your own objects. If you wanted to release your route when you have finished it, you would have a serious problem if there were NWM objects in it as they are not publicly available. Far better to own your stuff than borrow from elsewhere. Plus you get the feelgood factor being able to say "I made that!".
avatar
graymac

Posts : 1740
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Objects disappearing too quickly

Post by mrknowitall on Thu Nov 03, 2011 10:43 pm

In a easy one sentance reply, the developer did not go by the 25m rule for objects.
avatar
mrknowitall

Posts : 711
Join date : 2011-07-09
Age : 25

http://www.bve-terminus.org/pioneertrains/

Back to top Go down

Re: Objects disappearing too quickly

Post by joeyfjj on Sat Nov 05, 2011 7:45 am

mrknowitall wrote:In a easy one sentance reply, the developer did not go by the 25m rule for objects.

Neither do most openBVE developers, me included Very Happy

joeyfjj

Posts : 262
Join date : 2011-07-30
Location : Singapore

http://openbve.joeyfoo.com

Back to top Go down

Re: Objects disappearing too quickly

Post by mrknowitall on Sat Nov 05, 2011 10:10 am

therefor errors will occur
avatar
mrknowitall

Posts : 711
Join date : 2011-07-09
Age : 25

http://www.bve-terminus.org/pioneertrains/

Back to top Go down

Re: Objects disappearing too quickly

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum