Page 10 of 11

Re: The 2cc Bus Set

Posted: 15 May 2015 17:33
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.

Re: The 2cc Bus Set

Posted: 13 Jun 2015 10:14
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) :

Re: The 2cc Bus Set

Posted: 13 Jun 2015 10:55
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?

Re: The 2cc Bus Set

Posted: 13 Jun 2015 11:35
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

Re: The 2cc Bus Set

Posted: 13 Jun 2015 11:53
by Eddi
Voyager One wrote: Büssing DE
Gräf-Steyr LU200M11
replace "ü" with "ue" and "ä" with "ae"

Re: The 2cc Bus Set

Posted: 13 Jun 2015 12:45
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

Re: The 2cc Bus Set

Posted: 13 Jun 2015 14:03
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)

Re: The 2cc Bus Set

Posted: 13 Jun 2015 17:41
by Jyratos
I corrected some problems and sorted all vehicles.

Do the devzone compile now ?

Re: The 2cc Bus Set

Posted: 13 Jun 2015 17:52
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.

Re: The 2cc Bus Set

Posted: 13 Jun 2015 18:03
by Jyratos
YES ! Finally ! I corrected all the characters ! Thanks for your help.

Re: The 2cc Bus Set

Posted: 12 Jul 2015 18:01
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!

Re: The 2cc Bus Set

Posted: 13 Jul 2015 14:41
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 :)

Re: The 2cc Bus Set

Posted: 13 Jul 2015 16:22
by Voyager One
Got it mate!

Enjoy your vacation! :D

Re: The 2cc Bus Set

Posted: 23 Jul 2015 12:27
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 ?

Re: The 2cc Bus Set

Posted: 24 Jul 2015 07:53
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:

Re: The 2cc Bus Set

Posted: 07 Jan 2017 19:18
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

Re: The 2cc Bus Set

Posted: 27 Mar 2017 21:50
by Monty_Montana
Awesome set! :bow: Will it be in the Bananas club some day?

Re: The 2cc Bus Set

Posted: 27 Mar 2017 22:15
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.

Re: The 2cc Bus Set

Posted: 27 Mar 2017 23:34
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).

Re: The 2cc Bus Set

Posted: 28 Mar 2017 05:57
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: