The International Simutrans Forum

PakSets and Customization => Pak128 Bug Reports => Pak128 => Pak128 Solved Bug Reports => Topic started by: Václav on July 02, 2010, 03:50:34 pm

Title: Wrong placement of vehicles
Post by: Václav on July 02, 2010, 03:50:34 pm
May be this topic should be placed in Development and Bug reports board - but I am not sure that is really tied to game core. I found some trains in wrong tabs:

P****enger trains
Renfe_333_Alco - it cannot load anything; so it should be within Locomotives because it has not any bonds to any p****enger or post cars too

Electrics
Renfe_269_Altaria, Renfe_252_Altaria, Haru BR-103 - they should be within Locomotives because it has not any bonds to any p****enger or post cars
Title: Re: Wrong placement of vehicles
Post by: Zeno on July 02, 2010, 03:56:14 pm
Thanks for your report, Vaclav. This is the right place to post them, but in this case those vehicles are intentionally in p****enger/electrics tabs, because they were originally (IRL) designed for that purpose, and maybe also in the game have been coded with altered parameters (higher speed, lower power) to simulate p****enger locomotives. Actually all renfes you wrote are p****enger versions which also have a freight version in the locomotives tab. What may lead to confusion is that they don't have any constraints against p****enger/post cars, which might be solved by adding new graphics or using existing cars.
Title: Re: Wrong placement of vehicles
Post by: Václav on July 02, 2010, 06:58:15 pm
Solution for RENFE locomotives may be in creation of p****enger and post cars used by RENFE and adding constraints to locomotives used for p****enger trains. Then all would be OK - but why also Haru BR-103 is in tab Electrics - if it had been in tab locomotives since start of pak128 (or age when it had been added into pak128)?
Title: Re: Wrong placement of vehicles
Post by: Zeno on July 02, 2010, 09:51:14 pm
Well Vaclav, I'll try to explain it in a more clear way. Trains are distributed in tabs based in the following criteria:

So, the DB-103 was an electric locomotive used to pull p****enger cars, so obviously goes to "electric" tab. Same with renfes. So this locomotives (renfes and db-103) are in the right place, no matter the tab they where in before. Maybe you suggest instead a change in the cl****ification criteria?
Title: Re: Wrong placement of vehicles
Post by: Václav on July 03, 2010, 09:07:52 am
Is this division of locomotives new feature in latest nightly - based on any new order line in dat file? Because some locomotives which were/are constructed for p****enger trains (cl**** 151 and 163 - they are, of course, based on real ones) by Sim and TommPa9 stayed in tab Locomotives regardless of what you wrote about BR-103.
Title: Re: Wrong placement of vehicles
Post by: Zeno on July 04, 2010, 02:25:06 pm
It depends on several parameters. IIRC the cl****ification as follows (please correct me if I'm wrong):
- if freight = P****agiere and engine <> electric then goes to p****enger tab
- if freight = P****agiere and engine = electric then goes to electrics tab
- if freight = None then goes to locomotives tab
- if power = 0 and freight <> P****agiere then goes to cars tab

The BR-103 has engine = electric, capacity = 0 and freight = P****agiere, and that's why it goes to the electrics tab. If it had freight = None, it would stay in locomotives tab like TommPa9's engines. I hope I explained clear enough :)
Title: Re: Wrong placement of vehicles
Post by: Václav on July 04, 2010, 02:44:06 pm
??? Yes - but I only would like to know this: had BR-103 had freight line set before?
Title: Re: Wrong placement of vehicles
Post by: Zeno on July 04, 2010, 02:52:11 pm
??? Yes - but I only would like to know this: had BR-103 had freight line set before?
Dunno. Maybe in an old release of pak128 it was freight = none, but I don't have any old version to check it :(
Title: Re: Wrong placement of vehicles
Post by: Václav on July 04, 2010, 03:35:23 pm
Somewhere in forum is available SVN 827 export (I downloaded it some time ago) ... and there this (BR-103) have freight=none.
Title: Re: Wrong placement of vehicles
Post by: Zeno on July 04, 2010, 04:02:38 pm
It is possible, but now it is in the p****enger tab because its real historical use. Are you asking for a change of tab or just wanted to know?
Title: Re: Wrong placement of vehicles
Post by: Václav on July 04, 2010, 04:32:05 pm
but now it is in the p****enger tab because its real historical use.
As I wrote in topic Electric Loco Addons by Maragil, most locomotives begin service in p****enger transport and then they go to freight transport - for some reasons. Only few locomotives are constructed only for freight service. And I don't speak about locomotives constructed for both.

So I would like to see BR-103 back in Locomotives tab. And locomotives called in the first post could be there too.
Title: Re: Wrong placement of vehicles
Post by: Zeno on July 04, 2010, 05:13:43 pm
RENFE locomotives that you named in the first post are BOTH in the p****enger/electric AND locomotives tabs, because they are identical vehicles with different livery, specific versions for p****enger transport (look at the cl**** numbers, 319, 279, etc). So these locomotives will never be moved because they already exist in the locomotives tab. I may (or not) paint p****enger cars for them in the future.

About the DB-103, I only will give my oppinion: it's ok for me where it is. I never use it for freight transport because this engine has too much speed for the wagons in its age, so I would like it to keep where it is as long as there are Haru's p****enger cars designed for it with same speed. Anyway I wouldn't be against a change as it hasn't freight-equivalent version.
Title: Re: Wrong placement of vehicles
Post by: Václav on July 04, 2010, 08:31:27 pm
I had used DB-103 for pulling of cooled cars (for frozen food) - but I have not used it for some time. Sim and TommPa9 made some very good locomotives which can be used instead it without problems - regardless of locomotive for speed higher than 200 km/h appears after year 2000.

This is that locomotive
(http://www.zelpage.cz/fotogalerie/big/380001.jpg)
(on track of railway test circle close to Cerhenice, Czech republic)

and inside sets made by them are some other very good ones.