Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Mon Sep 24, 2018 4:46 am

All times are UTC




Post new topic  Reply to topic  [ 160 posts ]  Go to page 1 2 3 4 58 Next

Select code
Poll ended at Sat Jan 24, 2009 5:51 pm
2 parts 8%  8%  [ 2 ]
1 part 17%  17%  [ 4 ]
Combined (1+2) 58%  58%  [ 14 ]
Front part code 13%  13%  [ 3 ]
Other 4%  4%  [ 1 ]
Total votes: 24
Author Message
PostPosted: Sat Jan 10, 2009 5:49 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Apr 16, 2003 4:09 pm
Posts: 4299
Skype: george-vb
Location: SPb, Russia.
With a year delay I'm starting LV5.
Because of the difference in CB 11 support between TTDP and OTTD for RVs, I had to select the platform for LV5. I selected OTTD because it allows to have more RVs types at once.

Now I have to decide the main question about Vehicle code - articulated vehicles code.

OTTD supposes the max size for a single RV part equal to half a square, while LVs are usually twice as large. So, I can provide one of the following solutions (I'd like to know - what one would users prefer):

1) Two parts code.
Pro:
Less problems with tunnels, slopes, bridges.
Contra:
Doubles amount of sprites, parts fit in TTD scale, but vehicles magically bend in curves, shift on hills.
Attachment:
T1.png
T1.png [ 5.69 KiB | Viewed 19054 times ]

2) Singe body code
Pro:
Normal amount of sprites, single body on hills and in curves.
Contra:
Glitches in tunnels and slopes.
Attachment:
T2.png
T2.png [ 5.99 KiB | Viewed 19053 times ]

3) Combined code
Pro:
Single body in curves, less problems with tunnels, slopes, bridges.
Contra:
Three more sprites, shift on hills.

4) Front part code
Pro:
Single body in curves
Contra:
11/8 more sprites, slope problem on curves after hills, jump on curves after hills, bridge overflow, tunnel overflow
Image

test GRF is here download/file.php?id=104453

_________________
Image Image Image Image


Last edited by George on Fri Jan 16, 2009 6:31 pm, edited 6 times in total.

Top
   
PostPosted: Sat Jan 10, 2009 5:53 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Sep 16, 2005 12:23 pm
Posts: 1517
Skype: the_gremnon
Location: /home
I'd go for 3 myself, but failing that, I opt for 1 instead.


Top
   
PostPosted: Sat Jan 10, 2009 5:55 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Apr 16, 2003 4:09 pm
Posts: 4299
Skype: george-vb
Location: SPb, Russia.
Gremnon wrote:
I'd go for 3 myself, but failing that, I opt for 1 instead.
What was wrong with 3? See the GRF attached

_________________
Image Image Image Image


Top
   
PostPosted: Sat Jan 10, 2009 5:59 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Sep 16, 2005 12:23 pm
Posts: 1517
Skype: the_gremnon
Location: /home
Ah, I didn't notice the grf... excuse me while I go look at that...


Top
   
PostPosted: Sat Jan 10, 2009 6:01 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 25, 2007 5:03 pm
Posts: 2185
Location: ~/
I'd go for 2, because I like the look of buses bending in curves. :)

Edit: wait.. That bus isnt supposed to bend, right?..
But anyways, what about making the 18 wheelers in 2 pieces?

_________________
Image


Last edited by Benny on Sat Jan 10, 2009 6:08 pm, edited 1 time in total.

Top
   
PostPosted: Sat Jan 10, 2009 6:08 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Apr 16, 2003 4:09 pm
Posts: 4299
Skype: george-vb
Location: SPb, Russia.
A code for combined mode would be improved with today's nightly with support for var 45 for RVs

_________________
Image Image Image Image


Top
   
PostPosted: Sat Jan 10, 2009 6:09 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Sep 16, 2005 12:23 pm
Posts: 1517
Skype: the_gremnon
Location: /home
Right, after a quick experiment with that test grf... I'm inclined to agree, the second of the three buses looked best to me, though all three had a bit of trouble with tunnels.... I'm using a different tunnel to the default one, the NA roads one, but I have no idea if that affects it.


Top
   
PostPosted: Sat Jan 10, 2009 7:00 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
I think bus three from your test grf is best. In my test run, the all glitched equally at tunnels and I find it just silly to have a bus behave as if it were an articulated bus while it actually isn't an articulated bus at all. In other words: if it's in one piece in real life, it should be in one piece in the game :wink:

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Sat Jan 10, 2009 7:49 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Wed Jun 28, 2006 6:25 pm
Posts: 302
Location: Florida
I'm inclined to vote 3, but what limitations does more sprites mean? Longer wait while you code them all? Or less compatibility with other sets because of overwrites?

I enjoyed your LV set before, but when articulated vehicles came out, your semis looked out of place. I'm happy you found the time and impulse to articulate your excellent vehicles.

One other thing, being an American prude, "provocative" pictures look out of a place on our public roads. Keep that in mind!! :P :wink:


Top
   
PostPosted: Sat Jan 10, 2009 7:51 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Apr 07, 2008 6:29 pm
Posts: 1872
Location: Czech Republic
How will these variants behave in loading bays? I mean - will they require drive-through stops?


Top
   
PostPosted: Sat Jan 10, 2009 8:25 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Apr 16, 2003 4:09 pm
Posts: 4299
Skype: george-vb
Location: SPb, Russia.
CommanderZ wrote:
How will these variants behave in loading bays? I mean - will they require drive-through stops?
All of them will

_________________
Image Image Image Image


Top
   
PostPosted: Sat Jan 10, 2009 8:37 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Apr 16, 2003 4:09 pm
Posts: 4299
Skype: george-vb
Location: SPb, Russia.
SirXavius wrote:
I'm inclined to vote 3, but what limitations does more sprites mean? Longer wait while you code them all? Or less compatibility with other sets because of overwrites?
I suppose none serious limitations.

SirXavius wrote:
I enjoyed your LV set before, but when articulated vehicles came out, your semis looked out of place. I'm happy you found the time and impulse to articulate your excellent vehicles.
One other thing, being an American prude, "provocative" pictures look out of a place on our public roads. Keep that in mind!! :P :wink:
LV5 would have a parameter to disable them.

P.S. Just tested r14977. Variant 3 works as intended

_________________
Image Image Image Image


Top
   
PostPosted: Sat Jan 10, 2009 10:01 pm 
Offline
Engineer
Engineer
User avatar

Joined: Sun May 15, 2005 1:47 pm
Posts: 31
Location: Slovakia
Quote:
I find it just silly to have a bus behave as if it were an articulated bus while it actually isn't an articulated bus at all. In other words: if it's in one piece in real life, it should be in one piece in the game


I tottaly agree with Foobar... and vote for 3


Top
   
PostPosted: Sun Jan 11, 2009 2:20 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed May 16, 2007 4:59 pm
Posts: 2825
It really is a balance of work for gain;
1. Bendy buses
Glitches: Corners (because of articulation), tunnels (because of height), slopes (vertical separation)
Effort: Double number of sprites, restricts gameplay to drive through stops only.
This probably adds more glitches than it removes, it looks very strange for a solid bus to bend in a corner and the tall height of the sprites will still give some tunnel glitches.
2. Solid buses
Glitches: Tunnels (length and height) and slopes (bounding box issues)
Effort: Minimal
3. Combo buses
Glitches: Tunnels (height) and slopes (vertical separation)
Effort: Triple number of sprites, restricts gameplay to drive through stops.

All in all for 2 you would be putting in quite a lot of effort to add glitches, or with 3 you would be putting in lots of effort make two glitches less noticeable but not eliminate them... I would rather you stick to something simple so we see the set sooner :)

_________________
GRVTS/eGRVTS --- Generic Tram Set --- UK Town Set --- zBase ---RichardWheeler.net


Top
   
PostPosted: Sun Jan 11, 2009 8:29 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Apr 16, 2003 4:09 pm
Posts: 4299
Skype: george-vb
Location: SPb, Russia.
I've made some research about hill code. As you can see, it is impossible to solve shift on the hills problem on slopes without huge amount of sprites (No, I do not want that much sprites).
Attachment:
T3.png
T3.png [ 5.89 KiB | Viewed 18311 times ]
So, I have to admit, that we'd get vertical shift on hills. What do you think about it?


Attachments:
testw.grf [53.23 KiB]
Downloaded 226 times

_________________
Image Image Image Image
Top
   
PostPosted: Sun Jan 11, 2009 8:46 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 25, 2007 5:03 pm
Posts: 2185
Location: ~/
Wow, that is cool! I will use this grf separately even if you arent gonna make all your buses/trucks like that. (The middle one)
But what is the problem with too many sprites? That it is more work? That the grfs uses more space? Or that you cant have that many vehicles in the game?

_________________
Image


Top
   
PostPosted: Sun Jan 11, 2009 9:50 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Apr 16, 2003 4:09 pm
Posts: 4299
Skype: george-vb
Location: SPb, Russia.
Bennythen00b wrote:
Wow, that is cool! I will use this grf separately even if you arent gonna make all your buses/trucks like that. (The middle one)
But what is the problem with too many sprites? That it is more work? That the grfs uses more space? Or that you cant have that many vehicles in the game?
1) I need this to be coded - http://bugs.openttd.org/task/2521
2) the first and second pictures are the same code, but with and without slopes

_________________
Image Image Image Image


Top
   
PostPosted: Sun Jan 11, 2009 10:26 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Apr 16, 2003 4:09 pm
Posts: 4299
Skype: george-vb
Location: SPb, Russia.
Tomorrow I'll start testing and writing code #4. I'm unhappy with all the solutions I have
Code 4 characteristics
Pro:
No problems with slopes, hills and in curves.
Contra:
Problems with tunnels and bridges

_________________
Image Image Image Image


Top
   
PostPosted: Mon Jan 12, 2009 11:53 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1494
Location: The sunny side of Alps
I chose 1 part because busses can't just bend on the curves. If one wants to add extra long busses to O/TTD, there has to be support for it first or they look odd for sure at some locations or other.

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
PostPosted: Mon Jan 12, 2009 12:23 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Nov 30, 2006 8:33 pm
Posts: 2141
that vertical shifting almost gave me an erection! ... were that a mock-up or a real screenie?

_________________
Member of the
ImageImage


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 160 posts ]  Go to page 1 2 3 4 58 Next

All times are UTC


Who is online

Users browsing this forum: Google Adsense [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.