BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Objects disappearing too quickly

5 posters

Go down

Objects disappearing too quickly Empty Objects disappearing too quickly

Post by Tstageman 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
Tstageman
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

Post by velaro 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.
velaro
velaro

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

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

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

Right I see, that makes sense.

Thanks
Tstageman
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

Post by Tstageman 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
Tstageman
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

Post by graymac 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!
graymac
graymac

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

http://www.celtictrainsim.com

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

Post by Tstageman 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
Tstageman
Tstageman

Posts : 154
Join date : 2011-10-21

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

Post by velaro 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.
velaro
velaro

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

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

Post by graymac 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!".
graymac
graymac

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

http://www.celtictrainsim.com

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

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

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

Posts : 824
Join date : 2011-07-09
Age : 32
Location : W. Yorkshire

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

Post by joeyfjj 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 : 266
Join date : 2011-07-30
Location : Singapore

http://joeyfoo.com

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

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

therefor errors will occur
mrknowitall
mrknowitall

Posts : 824
Join date : 2011-07-09
Age : 32
Location : W. Yorkshire

Back to top Go down

Objects disappearing too quickly Empty Re: Objects disappearing too quickly

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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