Ah. I'm pretty sure that's an offset issue. Very simple to fix, but incredibly tedious. I'll look into it, but it may be a while. I'm not sure it can be done right for the three-chassis busses (eg the Dolphin), because of how the display engine works.George wrote:Look at the box while turning on a small speed. You can see, that sometimes it moves back (that I called jump)
George's Long vehicles V4 beta4 is out (07 sep 2007)
Moderator: Graphics Moderators
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
Hm. I researched position analyse when made my first version of the test file, and I don't know, why is it impossible for bi-articulated engines. Could you explain?DaleStan wrote:Ah. I'm pretty sure that's an offset issue. Very simple to fix, but incredibly tedious. I'll look into it, but it may be a while. I'm not sure it can be done right for the three-chassis busses (eg the Dolphin), because of how the display engine works.George wrote:Look at the box while turning on a small speed. You can see, that sometimes it moves back (that I called jump)
Because the point that moves smothly is the offset point. For the dual-chassis busses, the offset point will be put near the articulation point, so bending won't cause one chassis to jump sideways. For the Dolphin, the offset point will probably have to go in the center of the middle chassis. When this chassis turns, the back and/or front chassis may jump sideways in the process.
OTOH, I could be making mountains out of molehills here. It might be that it's only a matter of 2 px, and that it really doesn't look bad at all.
The Dolphin might look better with 32 or 40 sprites; the extras being the doubly-bent views:(32 with only N/S/E/W-oriented center chassis, 40 with all of them)
It would not be hard to patch these into the 24-direction GRF I posted.
OTOH, I could be making mountains out of molehills here. It might be that it's only a matter of 2 px, and that it really doesn't look bad at all.
The Dolphin might look better with 32 or 40 sprites; the extras being the doubly-bent views:
Code: Select all
__ / \
\__/ / \ | | ...
\ /
It would not be hard to patch these into the 24-direction GRF I posted.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
So, you want to say, the problem is visual, not technical. I see. Well, waiting for successful result with boxes. Should I start preparing turning buses graphics now?DaleStan wrote:Because the point that moves smothly is the offset point. For the dual-chassis busses, the offset point will be put near the articulation point, so bending won't cause one chassis to jump sideways. For the Dolphin, the offset point will probably have to go in the center of the middle chassis. When this chassis turns, the back and/or front chassis may jump sideways in the process.
OTOH, I could be making mountains out of molehills here. It might be that it's only a matter of 2 px, and that it really doesn't look bad at all.
The Dolphin might look better with 32 or 40 sprites; the extras being the doubly-bent views:(32 with only N/S/E/W-oriented center chassis, 40 with all of them)Code: Select all
__ / \ \__/ / \ | | ... \ /
It would not be hard to patch these into the 24-direction GRF I posted.

I like this... it's not quite as good as chain-able road vehicles would be (imagine being able to buy a tractor and trailer as seperate units
, but it might make half decent semi trailers possible.
All we need now are through loading bays (like the bus stops), and road waypoints. Any chance of them appearing any time soon?

All we need now are through loading bays (like the bus stops), and road waypoints. Any chance of them appearing any time soon?

- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
Well, I think if you'll ask Oskar to do it, it woold not be too hard for him to copy bus-stop code to lorries code.PikkaBird wrote:I like this... it's not quite as good as chain-able road vehicles would be (imagine being able to buy a tractor and trailer as seperate units, but it might make half decent semi trailers possible.
All we need now are through loading bays (like the bus stops), and road waypoints. Any chance of them appearing any time soon?
That is what I was thinking.George wrote:Well, I think if you'll ask Oskar to do it, it woold not be too hard for him to copy bus-stop code to lorries code.

Edit: A graphic modified from the depot sprites, It's something to be going on with at least.

- Attachments
-
- truckbay1.gif (5.32 KiB) Viewed 2520 times
Why would we want through-stations for lorries? Real ones rarely load that way.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
- Wile E. Coyote
- Tycoon
- Posts: 8515
- Joined: 08 Jul 2004 22:14
- Skype: wile.e.coyote2
- Location: Belgrade, Serbia
- Contact:
Oh, you've never been in Serbia. Trucks are unloading everywherekrtaylor wrote:Why would we want through-stations for lorries? Real ones rarely load that way.


Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.
Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.
Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Longer vehicles spinning on the spot, in a bay they don't fit in anyway, is even less realistic.krtaylor wrote:Why would we want through-stations for lorries? Real ones rarely load that way.
Don't think of it like a bus stop, a place where trucks stop on the street to load and unload. It's still a loading bay, and should probably be placed off the street so other vehicles aren't running through it. It's just a loading bay where trucks drive in one side and out the other, rather than turning around in situ.
From the way bus-stations work, I would suspect that vehicles would treat drive-through truck loading depots as if they were roads anyway. Maybe that could be changed though.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Yes, they would, and that's fine. I meant more in the way the human player would use them - building them on a proper little road complex, rather than just plonking them down in the middle of the main street of town.krtaylor wrote:From the way bus-stations work, I would suspect that vehicles would treat drive-through truck loading depots as if they were roads anyway. Maybe that could be changed though.
Well, I suppose it does no harm to ask eis_os about making drive-through RV depots. It sounds like it shouldn't be that hard, given that we have them for busses. But you never know.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Yes, the problem is visual. Due to some sprite inconsistencies, I can't get the offsets perfect (they're all within 2 px of right, though)George wrote:So, you want to say, the problem is visual, not technical. I see.
- Alternately bend and straighten the bus, keeping one of the sections motionless. The bus will travel 2px right per clockwise rotation, and 1px right per counterclockwise rotation.
- Some of the horizontal sections in the bent sprites are 1px shorter than all the others, see attached.
I wasn't sure how useful the box-sprite-coding will be; I just continued working on the articulated bus. Assuming you can fix the first problem without too much trouble, it looks like the articulated busses are a go.
Here's a GRF with the adjusted offsets.
- Attachments
-
- testw.rar
- (9.01 KiB) Downloaded 140 times
-
- Sizemismatch.PNG (739 Bytes) Viewed 2330 times
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Maybe I'm coming in the wrong moment, as there's already plenty of stuff you guys are working on, but I'll ask anyway...
2George: Do you think you might still be interested in Steyr trucks at all, if not now maybe in the future? Seeing your priorities, I think we could include the 370 version of 1947 and put it in the 1945 slot. I've collected some pics and drawings I could send you (or anyone else) in order to draw those things. I think they'd make a good addition and would be great in the artic/alpine climate, too (since they were Austrian).
2George: Do you think you might still be interested in Steyr trucks at all, if not now maybe in the future? Seeing your priorities, I think we could include the 370 version of 1947 and put it in the 1945 slot. I've collected some pics and drawings I could send you (or anyone else) in order to draw those things. I think they'd make a good addition and would be great in the artic/alpine climate, too (since they were Austrian).
- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
That makes movement less smoothDaleStan wrote:Yes, the problem is visual. Due to some sprite inconsistencies, I can't get the offsets perfect (they're all within 2 px of right, though)George wrote:So, you want to say, the problem is visual, not technical. I see.

I seeDaleStan wrote:- Alternately bend and straighten the bus, keeping one of the sections motionless. The bus will travel 2px right per clockwise rotation, and 1px right per counterclockwise rotation.
The error is in the horisontal view, not in the part of the horisontal view. It is 1 px higher, than it should be. I fixed it long ago in the LV file, but not in the test fileDaleStan wrote:- Some of the horizontal sections in the bent sprites are 1px shorter than all the others, see attached.

It could allow using the same template for all the articulated buses ...DaleStan wrote:I wasn't sure how useful the box-sprite-coding will be; I just continued working on the articulated bus.
I'm always interested, but I do not know when I can realise my interestSnail wrote:Do you think you might still be interested in Steyr trucks at all, if not now maybe in the future?


Feel free to post them to me as soon as you get themSnail wrote:Seeing your priorities, I think we could include the 370 version of 1947 and put it in the 1945 slot. I've collected some pics and drawings I could send you (or anyone else) in order to draw those things.

I do not plan to draw snow-covered trucksSnail wrote:I think they'd make a good addition and would be great in the artic/alpine climate, too (since they were Austrian).

Say, George, what are the differences between the LV v. 3, and the new fractional version?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
Do you remember our discussion about the number of the IDs required for one truck? I wrote that I require at least two IDs per truck because it was possible to have only one trigger per ID (And I need random cargo and random livery). But Josef made it possible to separate triggers random bits in the random value byte. That made it possible to use 5 bits for the random cargo trigger and 3 bits for random livery trigger. That allows to place all the cargos and views of the truck to one ID. If you will look at any 33/4 version file, you see, that only one ID is used for the whole truck. For example, Opel-Blitz 3.6-36S truck uses only ID 13 in temperate and arctic and ID 2E in tropics. Previously it used IDs 25, 22, 13 in temperate, 22, 2B, 37 in arctic, 13, 13, 2E in tropics. This allows having two additional slots for buses.krtaylor wrote:Say, George, what are the differences between the LV v. 3, and the new fractional version?
So, the aim of the new version is to release slots for buses. This way we get 55 slots for buses (instead of 7 by default). Yes, we pay with long refit list for trucks, but I hope Josef could help us with this problem

Aha. That's an excellent improvement, actually!
So the new LV has pretty much all the same vehicles in it, just with one slot each instead of 3? Otherwise, everything's there in much the same way as before?
So the new LV has pretty much all the same vehicles in it, just with one slot each instead of 3? Otherwise, everything's there in much the same way as before?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Who is online
Users browsing this forum: Google [Bot] and 11 guests