The 2cc Bus Set

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

Jyratos
Engineer
Engineer
Posts: 71
Joined: 31 Mar 2014 19:47
Location: A small village near Paris, France

Re: The 2cc Bus Set

Post by Jyratos »

I've added one parameter for all vehicle but it seems more logic to add a paramater to each type of vehicle.
I started recoding speed limits and the limits will be:
-150/130/110/100/90/70 for Intercity
-110/100/90/70/50 for Suburban
-110/100/90/70/50/40 for Urban.
Jyratos
Engineer
Engineer
Posts: 71
Joined: 31 Mar 2014 19:47
Location: A small village near Paris, France

Re: The 2cc Bus Set

Post by Jyratos »

Hi, I've finally finished coding all the speed limits for the different vehicles classes.

I don't know if the devzone can build the file (everytime I compile it says something like : access denied to "readme.txt, license.txt, changelog.txt"

Here is the grf if you want to test (I don't tested it) :
Attachments
2ccBusSet.grf
(271.7 KiB) Downloaded 139 times
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: The 2cc Bus Set

Post by Alberth »

Looking at devzone build output, it says
10:07:16 nmlc ERROR: Path "/var/lib/jenkins/jobs/cc-bus-set/workspace/gfx/Urban/\xe8koda H12 Solaris.PNG" does not exist (even after case conversions)
Apparently it breaks over a weird character in a filename. Maybe you can change that?
Being a retired OpenTTD developer does not mean I know what I am doing.
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: The 2cc Bus Set

Post by Voyager One »

Alberth wrote:weird character in a filename
Not my fault that stupid computers don't recognize Škoda... :mrgreen: :lol: :lol: :lol:

No, seriously, let me take a look at all files and I'll eliminate all non-English letters like "Š" or anything similar...

EDIT:

Possibly affected files ("weird" letters in bold):

(intercity)
Karosa ŠD11
MAN Lion's Regio
Škoda 256
Škoda 706RO

(suburban)
MAN Lion's Classic
Škoda 706RTO

(urban)
Büssing DE
Gräf-Steyr LU200M11
MAN Lion's City G
Škoda H12 Solaris
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Eddi
Tycoon
Tycoon
Posts: 8254
Joined: 17 Jan 2007 00:14

Re: The 2cc Bus Set

Post by Eddi »

Voyager One wrote: Büssing DE
Gräf-Steyr LU200M11
replace "ü" with "ue" and "ä" with "ae"
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: The 2cc Bus Set

Post by Alberth »

Voyager One wrote:
Alberth wrote:weird character in a filename
Not my fault that stupid computers don't recognize Škoda... :mrgreen: :lol: :lol: :lol:

No, seriously, let me take a look at all files and I'll eliminate all non-English letters like "Š" or anything similar...
It may be a matter of encoding. "\x8e" is not utf-8, while nml source is utf-8 encoded. The general solution would be to define what encoding to use for the filename when looking for a filename at the disk. I doubt somewhat that you'd want to specify that for each filename :)

It sounds like a problem that someone would have encountered before (and probably solved it), haven't seen a Python solution for it yet, though.
Just sticking to ASCII characters for filenames is probably much simpler :D
Being a retired OpenTTD developer does not mean I know what I am doing.
Eddi
Tycoon
Tycoon
Posts: 8254
Joined: 17 Jan 2007 00:14

Re: The 2cc Bus Set

Post by Eddi »

python (especially 2) is notoriously bad with mixing up encodings halfway through.

it's better to avoid this problem by renaming than trying to fix it...

(i feel like we had this discussion before)
Jyratos
Engineer
Engineer
Posts: 71
Joined: 31 Mar 2014 19:47
Location: A small village near Paris, France

Re: The 2cc Bus Set

Post by Jyratos »

I corrected some problems and sorted all vehicles.

Do the devzone compile now ?
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: The 2cc Bus Set

Post by Alberth »

No, but the error changed
nmlc ERROR: Path "/var/lib/jenkins/jobs/cc-bus-set/workspace/gfx/Urban/B\xfcssing DE.PNG" does not exist (even after case conversions)
Progress thus :)

You can see for yourself too https://jenkins.openttdcoop.org/job/cc-bus-set/ , click the top most build at the left.
At the build page, click 'console output' from the left column, and look for the error in the output.
Being a retired OpenTTD developer does not mean I know what I am doing.
Jyratos
Engineer
Engineer
Posts: 71
Joined: 31 Mar 2014 19:47
Location: A small village near Paris, France

Re: The 2cc Bus Set

Post by Jyratos »

YES ! Finally ! I corrected all the characters ! Thanks for your help.
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: The 2cc Bus Set

Post by Voyager One »

... finally had some time to test this... :P

Two remarks:

#1 - In speed parameters, instead of "Unlimited", I suggest you put "Real max speeds" so players know that IRL max speeds are used in that instance.

#2 - Bus list in purchase menu (sorted by ID) - Sorry mate but I really hate it because you've started alfabetically, then added the last few as it seems at random... It seems messy. Can I please ask you to redo it and assign IDs sorted by intro year (as George's LV4)?

Otherwise I see no problems, great job!
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Jyratos
Engineer
Engineer
Posts: 71
Joined: 31 Mar 2014 19:47
Location: A small village near Paris, France

Re: The 2cc Bus Set

Post by Jyratos »

Voyager One wrote: #2 - Bus list in purchase menu (sorted by ID) - Sorry mate but I really hate it because you've started alfabetically, then added the last few as it seems at random... It seems messy. Can I please ask you to redo it and assign IDs sorted by intro year (as George's LV4)?
!
The vehicles were first sorted alphabetically but when new vehicles were added to the table, I just added them without sorting.

The grf on the topic is quite old and I have done modifcations. The vehicles are sorted by class and by introduction date and the speed limits are for each class.
I'm currently on vacation so I can't modify the grf or upload it.

Thanks for testing :)
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: The 2cc Bus Set

Post by Voyager One »

Got it mate!

Enjoy your vacation! :D
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Jyratos
Engineer
Engineer
Posts: 71
Joined: 31 Mar 2014 19:47
Location: A small village near Paris, France

Re: The 2cc Bus Set

Post by Jyratos »

Hi,

I'm back from vacation, I made the fixes you suggested and added a french translation.

PS: Any news for the 2CC Truck set ?
Attachments
2ccBusSet.grf
(278.47 KiB) Downloaded 171 times
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: The 2cc Bus Set

Post by Voyager One »

Jyratos wrote:I made the fixes you suggested and added a french translation.
Thanks! I'll test it ASAP.
Jyratos wrote:Any news for the 2CC Truck set ?
No, not yet. :| I haven't touched a thing yet because I've focus all my attention on the 2cc Trainset, I want to finish that one once for all times.

Soon... :wink:
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
dldwg
Engineer
Engineer
Posts: 42
Joined: 18 Sep 2016 19:24

Re: The 2cc Bus Set

Post by dldwg »

Hi,

If you need datas for the Mercedes-Benz Citaro familly, I've updated the French wiki page with all the C2 datas....
Mercedes-Benz Citaro

And for the Renault TN6
Google Sheets
Monty_Montana
Engineer
Engineer
Posts: 59
Joined: 15 Oct 2014 21:41
Contact:

Re: The 2cc Bus Set

Post by Monty_Montana »

Awesome set! :bow: Will it be in the Bananas club some day?
User avatar
Kalen
Traffic Manager
Traffic Manager
Posts: 160
Joined: 07 Jun 2008 22:07
Location: Portugal

Re: The 2cc Bus Set

Post by Kalen »

Monty_Montana wrote:Awesome set! :bow: Will it be in the Bananas club some day?
If you're looking for a link to the GRF, this one seems to be the latest version available.
Monty_Montana
Engineer
Engineer
Posts: 59
Joined: 15 Oct 2014 21:41
Contact:

Re: The 2cc Bus Set

Post by Monty_Montana »

Well, thanks for posting the link to the last version, will be usefull in a near future. But i was asking if this set will be someday in Bananas, so anybody can download it ingame (I'm asking for the purpose to use it in a multiplayer server, that could be interesting).
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: The 2cc Bus Set

Post by Voyager One »

Isn't it already on bananas? Should be... Anyways, I'll see it done today.

EDIT: OK, stupid question, how do you upload something to bananas? :lol: :lol: :lol:
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 5 guests