On GRF Crawler I have fond only two GRF which contain tram : the German and the Serbian SetToni Babelony wrote:I've found a few GRFs that contain trams:
-Hiroshima Tram set (including Iyo-Dentetsu trams drawn by me);
-German Tram set;
-Serbian tram set;
-Czech tram set;
Tramroads for OTTD
Moderator: OpenTTD Developers
Seems to be time to edit the first posting in this thread to be used for changelog and downloads. But not nowBut what GRF we need ?

Here is the needed grf (you still need one with tram vehicles) and a win32 binary (with lang files). I hope it works, wine says it's ok...
- Attachments
-
- tramroads.grf
- (41.03 KiB) Downloaded 1234 times
-
- tramroads_win32.7z
- (1.37 MiB) Downloaded 1436 times
Yeah, your diff file is incorrect Valance.
I have another problem with your .exe file : I have build a tram depot and it's impossible to build a tram in it, there are no tram available.
I have previously installed the Geman Tram Set..
I have another problem with your .exe file : I have build a tram depot and it's impossible to build a tram in it, there are no tram available.
I have previously installed the Geman Tram Set..
- Attachments
-
- No Trams available to build in the depot
- Nartfingley Transport, Trams.png (66.35 KiB) Viewed 1540 times
same with me, can build tramtracks and depot, have loaded tram GRF (CSTramSet), but no tram available...Octopussy wrote:Yeah, your diff file is incorrect Valance.
I have another problem with your .exe file : I have build a tram depot and it's impossible to build a tram in it, there are no tram available.
I have previously installed the Geman Tram Set..
EDIT: magic resetengines console command worked OK. With small issues works also for tunnels and bridges. Good work !
- Attachments
-
- Test Transport 7th Sep 2040.png
- (111.33 KiB) Downloaded 353 times
Last edited by jklamo on 25 Feb 2007 19:04, edited 2 times in total.
I'm sorry for thisYeah, your diff file is incorrect Valance.

After cross compiling ottd I started the binary with wine, just to see whether the binary will work under windows, I didn't check building tramrails / trams. But did you see the game year (2001) in my screenshots? Tram vehicles have an construction year, change your starting year or proceed in game time and tram vehicles will become available. They are using same code as normal road vehicles, making me believe it's not a bugI have another problem with your .exe file : I have build a tram depot and it's impossible to build a tram in it, there are no tram available.

After getting remove roads/tramrails working correct (I hope) I updated it yesterday. But I'm rather unhappy with my tramsupport functions (in road_map / road_cmd). Perhaps you have some better ideas?Could you update your working copy? I've been trying to read through the diff and its full of the drive-through-roadstop code which is in trunk already, which makes reading it kind of hard Smile
- Attachments
-
- tramrails-2402-1.diff
- (51.33 KiB) Downloaded 397 times
Octopussy, you should apply the patch against revision 8858 of trunk. Anything else it likely to give rejects and thus compile errors; it compiles just fine for me.
Valance, could you explicitly tell against which revision you have made the patches? Preferably in the name of the diff, so something like tramroads-r8858.diff.
And another request, could you check that your editor actually reads the files as UTF8, because it made a mess of gfxinit.cpp.
Valance, could you explicitly tell against which revision you have made the patches? Preferably in the name of the diff, so something like tramroads-r8858.diff.
And another request, could you check that your editor actually reads the files as UTF8, because it made a mess of gfxinit.cpp.
OK very niceRubidium wrote:Octopussy, you should apply the patch against revision 8858 of trunk. Anything else it likely to give rejects and thus compile errors; it compiles just fine for me.

0 error for patching it

Thanks at all !
And only 9 warnings for conversion between int, byte and bool
but under MSVC these warnings are errors...

Could you actually quote the error messages, instead of just mentioning their existence?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
OKDaleStan wrote:Could you actually quote the error messages, instead of just mentioning their existence?
but it is in french

Compilation...
road_cmd.cpp
\source-svn\src\road_cmd.cpp(570) : error C2220: avertissement considéré comme une erreur - aucun fichier objet généré
\source-svn\src\road_cmd.cpp(570) : warning C4800: 'uint32' : valeur forcée à la valeur booléenne 'true' ou 'false' (avertissement sur les performances)
road_gui.cpp
\source-svn\src\road_gui.cpp(431) : error C2220: avertissement considéré comme une erreur - aucun fichier objet généré
\source-svn\src\road_gui.cpp(431) : warning C4800: 'int' : valeur forcée à la valeur booléenne 'true' ou 'false' (avertissement sur les performances)
\source-svn\src\road_gui.cpp(432) : warning C4800: 'int' : valeur forcée à la valeur booléenne 'true' ou 'false' (avertissement sur les performances)
\source-svn\src\road_gui.cpp(433) : warning C4800: 'int' : valeur forcée à la valeur booléenne 'true' ou 'false' (avertissement sur les performances)
\source-svn\src\road_gui.cpp(434) : warning C4800: 'int' : valeur forcée à la valeur booléenne 'true' ou 'false' (avertissement sur les performances)
build_vehicle_gui.cpp
\source-svn\src\build_vehicle_gui.cpp(656) : error C2220: avertissement considéré comme une erreur - aucun fichier objet généré
\source-svn\src\build_vehicle_gui.cpp(656) : warning C4805: '!=' : mélange risqué de type 'bool' et de type 'byte' dans l'opération
Génération de code en cours...
After 4 hours reading howto's, manuals and forums, I didn't find out whats wrong with gentoos unicode support. A bit disappointed about this conclusion I tried to load original gfxinit.cpp with iso-8859-1 (my older linux distros were using it) encoding instead of utf8. It workedAnd another request, could you check that your editor actually reads the files as UTF8, because it made a mess of gfxinit.cpp.


I'll fix those warnings.And only 9 warnings for conversion between int, byte and bool
Truck (drive-through) station will stay enabled, ttdpatch didn't disable it and perhaps someone will make a grf with trams capable of transporting other cargo than passangers (mail, for example).deactivate the truck station button in the tramroad construction box and replace it by a autoreplace button (for making the conversion between road and tramroad automatically).
Hm, conversion between road and tramrails..., I think the manual conversion like it's already working is enough

Conversion between bus stops and tram stops (and bus/tram stops) will be done by placing the needed roadtype (road/tramrails) onto them (later it will be possible to convert a bus stop into a bus/tram stop while placing a line of tramrails). Conversion from bus/tram stop to just bus stop (and bus/tram to just tram stop) will be done by remove road (or tramrail) from bus/tram stop. (same principle will do converting bridges and tunnels) Hope my explanation is somewhat understandable

In my first diff (I think) I had the buttons for normal roadstops disabled, but at the moment they are enabled again. (don't forget, diffs are just work in progress snapshots)And in the tram station box there are 4 unexpected choices..
I think this kind of transportation don't exist in real lifeTruck (drive-through) station will stay enabled, ttdpatch didn't disable it and perhaps someone will make a grf with trams capable of transporting other cargo than passangers (mail, for example).
Trams are only for passengers, like bus.

Last edited by Octopussy on 25 Feb 2007 15:51, edited 1 time in total.
not true, in Germany there is even a special cargo tram for car-parts (isn't it in Dresden for the VW factory?) and Amsterdam (in the Netherlands) is currently experimenting with cargo trams.
Not to mention that during the 1900 till 1950(?) there was a coal tram in Groningen that transported Coal to the 'coal gas' plant.
I'm sure there are more examples.
Not to mention that during the 1900 till 1950(?) there was a coal tram in Groningen that transported Coal to the 'coal gas' plant.
I'm sure there are more examples.
Who is online
Users browsing this forum: No registered users and 18 guests