[UNIV] New Tram Tracks Development
Moderator: Graphics Moderators
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
I've just had Lakie test it for me and it's working fine... I'll get it checked into 2.5 and the Alpha ASAP.
I've just checked the 'diff' that was used for Trams in OTTD and it seems they used the exact same variables (but of course constructed for C); so it should be a very quick fix for them. Unfortunately that thread is locked in the OTTD Dev area.
I've just checked the 'diff' that was used for Trams in OTTD and it seems they used the exact same variables (but of course constructed for C); so it should be a very quick fix for them. Unfortunately that thread is locked in the OTTD Dev area.
This is great news, Steven! Thanks A LOT!
As for OTTD: I'll post an error report (flyspray?), if not done already.
/me will draw some new poles
As for OTTD: I'll post an error report (flyspray?), if not done already.
/me will draw some new poles
Last edited by FooBar on 11 Jul 2007 08:44, edited 2 times in total.
Thanks, I'll check out tonights nightly to see if it works as intended.
EDIT:
I couldn't resist to wait till tonight, so I compiled the latest version of ottd (r10507) myself. The results are FANTASTIC. As you can see in the first image attached: the correct sprites are used (numbers according to ttdpbasew.grf).
And because Rubidium used Stevenh's table change, everything should work out good for TTDP too.
The second image shows a sneak preview of my idea. Look good in my humble opinion. Any comments are welcome.
Do I have a last question: Who created the original tram track graphics? I'd like to ask permission first, before I release a new version, because I reuse most part of the original graphics.
EDIT:
I couldn't resist to wait till tonight, so I compiled the latest version of ottd (r10507) myself. The results are FANTASTIC. As you can see in the first image attached: the correct sprites are used (numbers according to ttdpbasew.grf).
And because Rubidium used Stevenh's table change, everything should work out good for TTDP too.
The second image shows a sneak preview of my idea. Look good in my humble opinion. Any comments are welcome.
Do I have a last question: Who created the original tram track graphics? I'd like to ask permission first, before I release a new version, because I reuse most part of the original graphics.
- Attachments
-
- My idea of them single-sided poles.
- single-sided-poles.png (13.61 KiB) Viewed 3528 times
-
- The correct sprites are used since ottd r10507.
- ottd_r10507.png (38.1 KiB) Viewed 3526 times
I am! The screenshot above is not a mockupOzTransLtd wrote:You should now be able to do that; although I would make the poles only 1 pixel wide.
I'll consider 1px wide poles. Although it seems a bit thin to me. If you have a look at this picture for example, you can see one big fat pole, a thin horizontal bar and wires nearly invisible.
I'll see how it looks.
it is best if there are large poles, but this must be implemented so that the single sided poles are only used when there is no road below them (to save trouble with junctions and corners)
about the corner off-road
I think it should be two poles 1/4 of the way round the corner with a few more wires
about the corner off-road
I think it should be two poles 1/4 of the way round the corner with a few more wires
The occasional look back at your past can teach you a great many things...
Thanks for your comments. Your suggestion for the corners sounds good. I don't completely understand what you mean by this:
__________________
Shouldn't you be credited on this page? If you look under 'graphics' is says MB drew everything. Which is not true apparently. (Yeah, I did my research )
Please keep in mind that there's only one set of wires that will be used everywhere. On-road and off-road.m3henry wrote:but this must be implemented so that the single sided poles are only used when there is no road below them (to save trouble with junctions and corners)
__________________
Thanks, PikkaBird.PikkaBird wrote:Me, and go for it. They were never works of art, more a proof of concept.FooBar wrote:Do I have a last question: Who created the original tram track graphics? I'd like to ask permission first, before I release a new version, because I reuse most part of the original graphics.
Shouldn't you be credited on this page? If you look under 'graphics' is says MB drew everything. Which is not true apparently. (Yeah, I did my research )
I'll credit you anywaysPikkaBird wrote:They were never works of art, more a proof of concept.
It works very nice indeed!
Haven't had time for those thinner poles though, I'll look into that right now.
EDIT:
Had time now
Personally I think it's too thin, but I see why one would like it: it's less 'busy' (is there a proper English expression for that?).
I can always make it a parameter option. And maybe I should be awarded for "smallest set with most parameters". I count three already: 1. Road set compatibility; 2. Terrain set compatibility 3. Pole style.
Haven't had time for those thinner poles though, I'll look into that right now.
EDIT:
Had time now
Personally I think it's too thin, but I see why one would like it: it's less 'busy' (is there a proper English expression for that?).
I can always make it a parameter option. And maybe I should be awarded for "smallest set with most parameters". I count three already: 1. Road set compatibility; 2. Terrain set compatibility 3. Pole style.
- Attachments
-
- Correct sprites in r1651
- ttdp_r1651.png (38.87 KiB) Viewed 3402 times
-
- Thinner poles
- thinpoles.png (12.35 KiB) Viewed 3396 times
Ah. My knowledge of English is better than I imagined.
Are there more people who think those fat poles are busy?
Another question:
When I have a sprite like the one shown below, is it better to reduce the height of the sprite and position it correctly trough nfo? I can imagine that a bigger sprite consumes more memory and less memory consumption is better, but maybe the difference is small, only noticable on old computers, and not worth the effort. For me it's far more easier to have sprites with the same size as much as possible.
And yet another question:
There's an Action7/9 to skip sprites if one's using the wrong patch version (var 8B). I'm using that because my set only works properly in version 2.6 r1651 or higher.
Is there a similar technology to skip the grf-file if someone is using the wrong version of OTTD?
The problem now is that OTTD disables my grf because of the Action9, so I have to skip that Action9 if the platform is OTTD, but then there's no version check anymore.
Is it just a matter of trial-and-error to figure out what value I have to put in? (It's obvious now that I need to have two checks: one for patch and one for open).
Are there more people who think those fat poles are busy?
Another question:
When I have a sprite like the one shown below, is it better to reduce the height of the sprite and position it correctly trough nfo? I can imagine that a bigger sprite consumes more memory and less memory consumption is better, but maybe the difference is small, only noticable on old computers, and not worth the effort. For me it's far more easier to have sprites with the same size as much as possible.
And yet another question:
There's an Action7/9 to skip sprites if one's using the wrong patch version (var 8B). I'm using that because my set only works properly in version 2.6 r1651 or higher.
Is there a similar technology to skip the grf-file if someone is using the wrong version of OTTD?
The problem now is that OTTD disables my grf because of the Action9, so I have to skip that Action9 if the platform is OTTD, but then there's no version check anymore.
Is it just a matter of trial-and-error to figure out what value I have to put in? (It's obvious now that I need to have two checks: one for patch and one for open).
- Attachments
-
- sprite.png (391 Bytes) Viewed 3382 times
If you compile with -c, recent versions of grfcodec will automatically crop the extraneous blue from around sprites.FooBar wrote:When I have a sprite like the one shown below, is it better to reduce the height of the sprite and position it correctly trough nfo?
Not as far as I'm aware.Is there a similar technology to skip the grf-file if someone is using the wrong version of OTTD?
see attachmentFooBar wrote:Thanks for your comments. Your suggestion for the corners sounds good. I don't completely understand what you mean by this:
this ound like a new feature perhaps? detection of what is below?, it is already done for the ground sprites, no?Please keep in mind that there's only one set of wires that will be used everywhere. On-road and off-road.m3henry wrote:but this must be implemented so that the single sided poles are only used when there is no road below them (to save trouble with junctions and corners)
- Attachments
-
- grey poles, black wires.
- sort of.png (2.52 KiB) Viewed 3295 times
The occasional look back at your past can teach you a great many things...
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Thinner poles are more scale suitable, but do not look so nice as fat ones. Also they are not well visible in front of farm tiles.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
I'll reply to you all in one go. Thanks for your comments!
@PikkaBird:
[grfcodec]
I'll check my version of grfcodec (and update if required). The next release will be compiled using -c!
[ottd]
That's too bad. I'll see if I can figure something out myself. If not, I'll add a warning for OTTD users.
@m3henry:
Thanks for your clarification. That's a really nice idea.
As for the ground sprites. There's indeed some kind of detection because there are two sets of ground sprites, so it should also be possible to have two sets of catenary.
@OzTransLtd:
There's goes my award
It's indeed possible to autodetect (using that same Action7/9). How often do sets change their grfid? I don't think it's useful to change it every update, but what do others do (you, for instance)?
@athanasios:
Thanks for your reply. I think it's best to create both versions and make it an option. Maybe random if no parameter is set
@PikkaBird:
[grfcodec]
I'll check my version of grfcodec (and update if required). The next release will be compiled using -c!
[ottd]
That's too bad. I'll see if I can figure something out myself. If not, I'll add a warning for OTTD users.
@m3henry:
Thanks for your clarification. That's a really nice idea.
As for the ground sprites. There's indeed some kind of detection because there are two sets of ground sprites, so it should also be possible to have two sets of catenary.
@OzTransLtd:
There's goes my award
It's indeed possible to autodetect (using that same Action7/9). How often do sets change their grfid? I don't think it's useful to change it every update, but what do others do (you, for instance)?
@athanasios:
Thanks for your reply. I think it's best to create both versions and make it an option. Maybe random if no parameter is set
It'll run with OpenTTD nightly only anyway and by the time you release your set, most players will have a compatible version. You should be ok and a note in the ReadMe should help too.FooBar wrote: ... [version checking in OTTD] ... That's too bad. I'll see if I can figure something out myself. If not, I'll add a warning for OTTD users.
They should only change the GRFID when absolutely necessary; and that is rare. The only GRFIDs I ever change is for the Canadian Stations Set, because there are significant changes between releases, such as changes to station IDs.... How often do sets change their grfid? ...
Who is online
Users browsing this forum: No registered users and 92 guests