You're the best, thanks!
2CC Trams 0.9c & 2CC Cargo Trams v0.8r
Moderator: Graphics Moderators
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Coder for the 2cc trams (passenger) and the 2cc cargo trams
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
I have an update for the passenger trams:
- fixed visual effect for electric trams.
The problem with the compressed air trams does not seem to be what I thought it was, not sure what's happening with them.
If on an early start no steamtrams are showing up, you may need to change the parameter for this newgrf to allow longer vehicle model life.
- fixed visual effect for electric trams.
The problem with the compressed air trams does not seem to be what I thought it was, not sure what's happening with them.
If on an early start no steamtrams are showing up, you may need to change the parameter for this newgrf to allow longer vehicle model life.
- Attachments
-
- 2cctrams-nrt6.grf
- 2cc passenger tramset version 0.6 for NRT
- (513.91 KiB) Downloaded 214 times
-
- trams-2cc.nml
- source code
- (487.21 KiB) Downloaded 175 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
I have another update for the cargotrams allso.
Added 5 new trams:
- Melbourne Class U Freight Car/1938/electric/1 part boxtram
- Kaliningrad Tatra T4 Tanker Tram/1975/electric/1 part
- Bochum tanker tram/1914/electric/1 part
- Dublin Guinness Liquids tram/1887/steam/engine + 3 wagons
- Frazer island logging tram/1905/steam/engine + 3 wagons
Added 5 new trams:
- Melbourne Class U Freight Car/1938/electric/1 part boxtram
- Kaliningrad Tatra T4 Tanker Tram/1975/electric/1 part
- Bochum tanker tram/1914/electric/1 part
- Dublin Guinness Liquids tram/1887/steam/engine + 3 wagons
- Frazer island logging tram/1905/steam/engine + 3 wagons
- Attachments
-
- cargotrams7.grf
- 2cc cargotrams version 0.7
- (73.14 KiB) Downloaded 175 times
-
- cargotrams.nml
- source code
- (60.34 KiB) Downloaded 154 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
- Voyager One
- Tycoon
- Posts: 11204
- Joined: 28 Dec 2009 09:47
- Location: Rijeka, Croatia
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Sorry Arnoud, take a look at this "old" and "new" version of the drawing and tell me if this is what you've wanted me to do, I'm not sure I've understood correctly.Arnoud wrote: 08 Dec 2019 19:18 So if a drawer could help me resize the sprites for the trams with 6 and 8 wagons that would be awesome.

P.S. I can reset ALL drawings like this extremely quickly if you need it.
- Attachments
-
- Bernburg Mine Lew EL3.PNG (16.53 KiB) Viewed 7721 times
-
- Bernburg Mine Lew EL3 NewFile.PNG (14.88 KiB) Viewed 7721 times
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Yes exactly, I just need these 3 rows.
Now if you put this sprite file in a map together with the other cargo tram sprite files and look at the preview of the files you will notice that the 3 rows in this file are considerably smaller than the ones in the other files.
The size doesnt need to be 100% the same, but in this case the difference is too big; this causes the last few boxes to be in a different location and this causes glitches.
Thats why the rows allso need to be resized to closer in size to the others.
Now if you put this sprite file in a map together with the other cargo tram sprite files and look at the preview of the files you will notice that the 3 rows in this file are considerably smaller than the ones in the other files.
The size doesnt need to be 100% the same, but in this case the difference is too big; this causes the last few boxes to be in a different location and this causes glitches.
Thats why the rows allso need to be resized to closer in size to the others.
Coder for the 2cc trams (passenger) and the 2cc cargo trams
- Voyager One
- Tycoon
- Posts: 11204
- Joined: 28 Dec 2009 09:47
- Location: Rijeka, Croatia
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Ok, got it. If you want, I can redraw all trams like this and write you how many cars they need to have.
Also, for multi-cargo trams, i.e. barrels and steel, I can set it something like 1st row engine, 2nd row empty, 3rd row barrels, 4th row steel etc.
Also, for multi-cargo trams, i.e. barrels and steel, I can set it something like 1st row engine, 2nd row empty, 3rd row barrels, 4th row steel etc.
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Well I allready have a list in the source code documentation that lists how many wagons each tram should have, but different rows for different cargoes would definately be very usefull to get that feature implemented.Voyager One wrote: 14 Dec 2019 21:15 Ok, got it. If you want, I can redraw all trams like this and write you how many cars they need to have.
Also, for multi-cargo trams, i.e. barrels and steel, I can set it something like 1st row engine, 2nd row empty, 3rd row barrels, 4th row steel etc.
Coder for the 2cc trams (passenger) and the 2cc cargo trams
- Voyager One
- Tycoon
- Posts: 11204
- Joined: 28 Dec 2009 09:47
- Location: Rijeka, Croatia
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Ok, then I suggest you take a break while I redraw all, I hope I'll be able to do it pretty quickly.
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Ok, sounds great!Voyager One wrote: 15 Dec 2019 15:03 Ok, then I suggest you take a break while I redraw all, I hope I'll be able to do it pretty quickly.
Coder for the 2cc trams (passenger) and the 2cc cargo trams
- Voyager One
- Tycoon
- Posts: 11204
- Joined: 28 Dec 2009 09:47
- Location: Rijeka, Croatia
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
OK, all 35 trams are reset. Please take a look and tell me if this is OK or you need some more tweaking. 
P.S. I've added a few cargoes to a few of them, I hope that won't make it a problem.

P.S. I've added a few cargoes to a few of them, I hope that won't make it a problem.
- Attachments
-
- 2ccTramsNew.zip
- (449.37 KiB) Downloaded 174 times
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Those new cargoes look very nice!
Yes I should be able to code that, give me some time.
Yes I should be able to code that, give me some time.
Coder for the 2cc trams (passenger) and the 2cc cargo trams
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Ok, I figured out how to code the unique cargoes you drew.
The wantage tram now has unique graphics for steel and wood cargoes.
The change in code had an unintended consequence; support for some of the other cargoes was removed.
Before I fix this though, there is the issue that according to the documentation this tram should not be able to carry either wood or steel; so I am not sure if you put these cargoes in just to test if I would be able to code it or if you want to keep them for this tram?
The wantage tram now has unique graphics for steel and wood cargoes.
The change in code had an unintended consequence; support for some of the other cargoes was removed.
Before I fix this though, there is the issue that according to the documentation this tram should not be able to carry either wood or steel; so I am not sure if you put these cargoes in just to test if I would be able to code it or if you want to keep them for this tram?
- Attachments
-
- cargotrams7b.grf
- 2cc cargotrams 0.7 test version
- (72.23 KiB) Downloaded 174 times
-
- cargotrams.nml
- source code
- (60.78 KiB) Downloaded 175 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
- Voyager One
- Tycoon
- Posts: 11204
- Joined: 28 Dec 2009 09:47
- Location: Rijeka, Croatia
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
I think that the documentation needs to be adjusted according to our new goals




Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Ok sounds good to me.
Now with regard to unique graphics for cargoes before we add a whole bunch of extra default cargoes maybe we should do the ones that are allready in the documentation first, for example with the mining tram we add a heap of ore in 3 rows with each a different colour for iron ore, copper ore and coal.
The reason that I'm suggesting this is because there is allso the issue of the new industries sets; I think most players play with them rather than the default nowadays, so we may want to add some graphics for them allso, and this could potentially be a lot of work to draw/code allready.
I will offcourse code the extra default cargoes you allready added.
======
I allso have another update, it seems I made a silly mistake; I was testing with the default industries and that was the reason the extra firs cargoes werent showing up.
When I tested with firs they did show up, but it seems wood/steel were not showing up, so I added a bit of code to force the wantage tram to accept these cargoes regardless of which industry set is used.
Please note that depending on your parameter settings for your industry set either wood or steel may not exist in the industry chain's cargoes.
Now with regard to unique graphics for cargoes before we add a whole bunch of extra default cargoes maybe we should do the ones that are allready in the documentation first, for example with the mining tram we add a heap of ore in 3 rows with each a different colour for iron ore, copper ore and coal.
The reason that I'm suggesting this is because there is allso the issue of the new industries sets; I think most players play with them rather than the default nowadays, so we may want to add some graphics for them allso, and this could potentially be a lot of work to draw/code allready.
I will offcourse code the extra default cargoes you allready added.
======
I allso have another update, it seems I made a silly mistake; I was testing with the default industries and that was the reason the extra firs cargoes werent showing up.
When I tested with firs they did show up, but it seems wood/steel were not showing up, so I added a bit of code to force the wantage tram to accept these cargoes regardless of which industry set is used.
Please note that depending on your parameter settings for your industry set either wood or steel may not exist in the industry chain's cargoes.
- Attachments
-
- cargotrams7c.grf
- 2cc Cargotrams version 0.7c
- (72.23 KiB) Downloaded 147 times
-
- cargotrams.nml
- source code
- (60.79 KiB) Downloaded 145 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
I have another update, just 1 tram this time, I had planned to code more, but other stuff came up.
This tram has unique graphics for steel
Prague Stresovice Cargo Tram/1917/electric/engine + 3 wagons
This tram has unique graphics for steel
Prague Stresovice Cargo Tram/1917/electric/engine + 3 wagons
- Attachments
-
- cargotrams7d.grf
- 2cc Cargotrams version 0.7d
- (77.16 KiB) Downloaded 189 times
-
- cargotrams.nml
- source code
- (65.15 KiB) Downloaded 149 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
- Voyager One
- Tycoon
- Posts: 11204
- Joined: 28 Dec 2009 09:47
- Location: Rijeka, Croatia
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
A little bit off topic but merry Xmas to all of you people, I wish you all the best, a lot of love, peace and happyness!
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Merry christmass!
I have added 2 more trams
Budapest MUKI wagon/1926/electric/engine + 2 wagons
Lohberg RD-60HST Mining Tram/1980/diesel/engine + 8 wagons
I have added 2 more trams
Budapest MUKI wagon/1926/electric/engine + 2 wagons
Lohberg RD-60HST Mining Tram/1980/diesel/engine + 8 wagons
- Attachments
-
- cargotrams8a.grf
- 2cc cargotrams version 0.8a
- (85.77 KiB) Downloaded 241 times
-
- cargotrams.nml
- source code
- (73.68 KiB) Downloaded 185 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
-
- Engineer
- Posts: 10
- Joined: 07 Aug 2011 11:58
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
I'm sorry if I'm explaining this poorly, or, posting this in the wrong place; but, when I download - from inside the game - the GRF that links to this thread (IE, unless I've screwed up, this GRF) I get the following error:

many of the trams have 0's for various datapoints (weight, power, etc) and for those which have this problem, the bottom of the info panel says "(undefined string)"

many of the trams have 0's for various datapoints (weight, power, etc) and for those which have this problem, the bottom of the info panel says "(undefined string)"
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
Yes, it's a known issue we're still working on. This doesn't affect performance in the game, it's just not properly coded in the buy menu.TheNewTeddy wrote: 14 Jan 2020 17:17 many of the trams have 0's for various datapoints (weight, power, etc) and for those which have this problem, the bottom of the info panel says "(undefined string)"
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets

Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
- Voyager One
- Tycoon
- Posts: 11204
- Joined: 28 Dec 2009 09:47
- Location: Rijeka, Croatia
Re: [OTTD] 2CC|Trams - Nightly Betas Now Released
As far as I've tested it, this issue doesn't affect gameplay or tram performance at all. It seems like it's only an error in displaying proper stats in the buy menu.
Who is online
Users browsing this forum: Amazon [Bot] and 20 guests