2CC Trams 0.9c & 2CC Cargo Trams v0.8r

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

Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

Voyager One wrote: 10 Dec 2019 05:55 Will do it as soon as possible, give me a day or two. :wink:
You're the best, thanks!
Coder for the 2cc trams (passenger) and the 2cc cargo trams
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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.
Attachments
2cctrams-nrt6.grf
2cc passenger tramset version 0.6 for NRT
(513.91 KiB) Downloaded 144 times
trams-2cc.nml
source code
(487.21 KiB) Downloaded 104 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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
Attachments
cargotrams7.grf
2cc cargotrams version 0.7
(73.14 KiB) Downloaded 121 times
cargotrams.nml
source code
(60.34 KiB) Downloaded 110 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Voyager One »

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.
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. :wink:

P.S. I can reset ALL drawings like this extremely quickly if you need it.
Attachments
Bernburg Mine Lew EL3.PNG
Bernburg Mine Lew EL3.PNG (16.53 KiB) Viewed 6744 times
Bernburg Mine Lew EL3 NewFile.PNG
Bernburg Mine Lew EL3 NewFile.PNG (14.88 KiB) Viewed 6744 times
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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.
Coder for the 2cc trams (passenger) and the 2cc cargo trams
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Voyager One »

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.
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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.
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.
Coder for the 2cc trams (passenger) and the 2cc cargo trams
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Voyager One »

Ok, then I suggest you take a break while I redraw all, I hope I'll be able to do it pretty quickly.
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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.
Ok, sounds great!
Coder for the 2cc trams (passenger) and the 2cc cargo trams
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Voyager One »

OK, all 35 trams are reset. Please take a look and tell me if this is OK or you need some more tweaking. :wink:

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 114 times
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

Those new cargoes look very nice!

Yes I should be able to code that, give me some time.
Coder for the 2cc trams (passenger) and the 2cc cargo trams
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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?
Attachments
cargotrams7b.grf
2cc cargotrams 0.7 test version
(72.23 KiB) Downloaded 124 times
cargotrams.nml
source code
(60.78 KiB) Downloaded 116 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Voyager One »

I think that the documentation needs to be adjusted according to our new goals :lol: :lol: :lol:
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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.
Attachments
cargotrams7c.grf
2cc Cargotrams version 0.7c
(72.23 KiB) Downloaded 98 times
cargotrams.nml
source code
(60.79 KiB) Downloaded 102 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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
Attachments
cargotrams7d.grf
2cc Cargotrams version 0.7d
(77.16 KiB) Downloaded 104 times
cargotrams.nml
source code
(65.15 KiB) Downloaded 89 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Voyager One »

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!
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Arnoud »

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
Attachments
cargotrams8a.grf
2cc cargotrams version 0.8a
(85.77 KiB) Downloaded 144 times
cargotrams.nml
source code
(73.68 KiB) Downloaded 105 times
Coder for the 2cc trams (passenger) and the 2cc cargo trams
TheNewTeddy
Engineer
Engineer
Posts: 10
Joined: 07 Aug 2011 11:58

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by TheNewTeddy »

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:

Image

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)"
User avatar
kamnet
Moderator
Moderator
Posts: 8548
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by kamnet »

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)"
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.
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2CC|Trams - Nightly Betas Now Released

Post by Voyager One »

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.
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: Ahrefs [Bot] and 16 guests