Virtual Buffer Stops
Moderator: Moderators
- saddletank
- Very Active Forum Member
- Posts: 14183
- Joined: Mon Dec 03, 2001 12:00 am
- Location: UK East Midlands
I notice that you run off the end of the track about 4 sleepers before the buffer stop on the default alt1buffer.sd.
It's bounding box is ( -1.6 0.197225 7 1.6 1.48701 10.0001 ). Now I know that the length is the 3rd and 6th numbers but these add up to 17m whereas the track piece is about 10m. Can anyone
1) Advise what to modify so you can run a wagon right up to the buffer graphic and still stay on the track and
2) Can I make the buffer graphic a collideable object so a gently rolling wagon will actually strike it and stop?
Ta for any guidance
Martin
It's bounding box is ( -1.6 0.197225 7 1.6 1.48701 10.0001 ). Now I know that the length is the 3rd and 6th numbers but these add up to 17m whereas the track piece is about 10m. Can anyone
1) Advise what to modify so you can run a wagon right up to the buffer graphic and still stay on the track and
2) Can I make the buffer graphic a collideable object so a gently rolling wagon will actually strike it and stop?
Ta for any guidance
Martin
- saddletank
- Very Active Forum Member
- Posts: 14183
- Joined: Mon Dec 03, 2001 12:00 am
- Location: UK East Midlands
By changing the bounding box I can get the rolling stock to touch the actual buffer stop now but it still runs through it = activity ends. Obviously the buffer itself isn't coded as a 'collision object'.
I assume this info is in the .s file?
Or is that only for buildings etc. Buffer is a track piece so maybe it can't also be a collision object.
How do I get into an .s file? Could someone please mail me a util to open them up?
Ta
Martin
I assume this info is in the .s file?
Or is that only for buildings etc. Buffer is a track piece so maybe it can't also be a collision object.
How do I get into an .s file? Could someone please mail me a util to open them up?
Ta
Martin
-
scefhwil
- Well Established Forum Member
- Posts: 907
- Joined: Tue Dec 04, 2001 12:00 am
- Location: Bristol, England
Martin,
The 3rd and 6th figures are both positive so the bounding box is only 3m long, but starts 7m forward from the objects origin. Try adjusting both of these by the same amount to move the box along.
I seem to re-call that 'collidable' is an attribute set in the objects properties in the RE.
Stuart
The 3rd and 6th figures are both positive so the bounding box is only 3m long, but starts 7m forward from the objects origin. Try adjusting both of these by the same amount to move the box along.
I seem to re-call that 'collidable' is an attribute set in the objects properties in the RE.
Stuart
- mikesimpson
- Very Active Forum Member
- Posts: 6361
- Joined: Mon Dec 03, 2001 12:00 am
- Location: Southern Hemisphere Penal Colonies
- Contact:
Hi Martin,
To uncompress an .s file you just need to run the ffeditc_unicode utility on it as if you were wishing to compress it.
e.g. ffeditc_unicode.exe "01DFuelTank.s" /o:01DFuelTank.s
Will compress the file if it is uncompressed or uncompress it if it is already compressed. The ffeditc utility comes with MSTS.
Mike in OZ
To uncompress an .s file you just need to run the ffeditc_unicode utility on it as if you were wishing to compress it.
e.g. ffeditc_unicode.exe "01DFuelTank.s" /o:01DFuelTank.s
Will compress the file if it is uncompressed or uncompress it if it is already compressed. The ffeditc utility comes with MSTS.
Mike in OZ
- saddletank
- Very Active Forum Member
- Posts: 14183
- Joined: Mon Dec 03, 2001 12:00 am
- Location: UK East Midlands
Hi Stuart
That's what I've managed to do. At first the train 'ran off the track' about 3m short of the actual buffer stop - annoying when I was doing some precision shunting! So I shifted the 3rd value 3m higher and now the train runs up to the buffer.
Will go look in the global directory or elsewhere for the file to mess with - probably quickest to do a edit/find search for 'buff'. It certainly ain't the SD file.
Thanks for the help guys.
Martin
That's what I've managed to do. At first the train 'ran off the track' about 3m short of the actual buffer stop - annoying when I was doing some precision shunting! So I shifted the 3rd value 3m higher and now the train runs up to the buffer.
Will go look in the global directory or elsewhere for the file to mess with - probably quickest to do a edit/find search for 'buff'. It certainly ain't the SD file.
Thanks for the help guys.
Martin
- danielwilkieuk
- Strathclyder
- Posts: 833
- Joined: Sun Dec 09, 2001 12:00 am
- Location: Glasgow, UK
- saddletank
- Very Active Forum Member
- Posts: 14183
- Joined: Mon Dec 03, 2001 12:00 am
- Location: UK East Midlands
By doing the bounding box changes specified I can now place a wagon with it's buffers touching the stop but the stop cannot be made a 'collideable object' as far as I can see because it is a piece of track. To actually loose shunt a wagon so it rolled up to the stop blocks and banged against it and stopped you would have to make a set of buffer stops as a separate 3D model and place these at the end of an ordinary piece of track, and give them collideable object status. Even then I am not sure it would work.
Another failing of MSTS v1 it seems....
Another failing of MSTS v1 it seems....
Martin
_______________________________________
ED209: "Please put down your weapon. You have 20 seconds to comply."
_______________________________________
ED209: "Please put down your weapon. You have 20 seconds to comply."