NewGRF Stations: what I did when I should've been working...

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

which code?

i don't see how curved tracks would work the same as 45degree corners.

i supose though that you are right...


as for the new graphics patch format.
why keep NFO? its horrible to learn, write, understand and debug.
a cleaner cut more english(with words rather than just number) based version might be easier to learn, write, understand and debug.

and since you can't compile a series of 32bpp PNG files into a GRF, theres not much point in keeping NFOs.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
User avatar
prissi
Chief Executive
Chief Executive
Posts: 648
Joined: 15 Nov 2004 19:46
Location: Berlin, Germany
Contact:

Post by prissi »

I support this idea: Make the description files ASCII text with simple entries like:

obj=vehicle (or building/factory/Station/Depot/Menu/...)
name=SHP8
speed=80
payload=....

This is like the simutrans system, where your datafiles are plain (unix) ASCII together with PNG graphic files. They are just compiled then by a program into PAK-files. For OTTD, only a grf2-files (or whatever name they will get) is needed.

This would allow artists to reuse their work for different games, and will increase the number of available cars quickly. Imho, the easy "coding" of objects for Simutrans is one of the reasons why there are much more coded engines and cars available compared to TTD, even though TTD is much older.
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1791
Joined: 30 Mar 2005 09:43

Post by peter1138 »

That doesn't quite contain all the information that GRF does... things like sprite sets and varactions, callbacks, etc...
Alltaken
Tycoon
Tycoon
Posts: 1285
Joined: 03 Dec 2003 06:24
Location: Christchurch, New Zealand
Contact:

Post by Alltaken »

bobbing about Ssshhhhhhhh.

you are making a fool of yourself.

Map arry needs to be done before new track layouts can be used, that ain't gonna happen before NewGFX, so this patch still stands.

NFO being used WTF, sorry have you missed the entire new GFX format discussion? i am sure you have replied in it.

you are arguing with facts that "litterally don't exist" so stop making stuff up, and Ssssshhhhhhhh.

if i sound like i am being offensive, its because comments like yours often waste a lot of the time of the developers in getting rid of the misconseptions you have created by wrong information that you seemingly got from weird locations. you try to come up with sollutions to problems that litterally don't exist.


Back on topic, lets stay on topic, Station Patch.... thanks guys this is good.

Alltaken
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

I agree with Alltaken, how about we stop talking about file formats and go bakc to the disscussion of peter1138's amazing newGRF newstations patch
Image
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1791
Joined: 30 Mar 2005 09:43

Post by peter1138 »

If anyone's been playing with older versions of the patch (yes, it is around somewhere :D) then I've made it compatible, but for good reason. Now you can mess around with the order of newgrf files and the correct stations will appear, or just revert to the standard sprites if they're not there any more.

Here's some more screenshots ;-)
Attachments
Suburban and plain platforms from PGS
Suburban and plain platforms from PGS
grfstat2.png (32.71 KiB) Viewed 5019 times
Freight station from PGS
Freight station from PGS
grtstat1.png (26.46 KiB) Viewed 5019 times
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

its very nice.

they are all nice, although i think the grey pavement or whatever it is for the platform on stat1 is a bit dark.

i think they might need a few more remap parts though, for the company colours. because if they are used in the subsidiares patch, its going to be hard to determine who own which platforms, and this can be important because if you use platforms other than the ones you own, you have to pay for the services.
its probably not important enough to matter though. its unlikely the 2 will be used together unless 1 is merged into the trunk, or both are used by the intergration.

and you are right about it not being the topic for new graphics.
forgetting new features like curved track(Dunno why i was thinking about that anyway) only difference i see in the 32bpp system is the way the information is presented(plus more different sprites for the same thing. think we are having a seasonal cycle.), we have PNGs instead of GRF sprites, and probably something else instead of NFO, but means the same thing.

and its bobing about. bobing, not bobbing.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

Peter is just doing an implementation, he is not making the graphics. For that you need to complain to the people who made them in the Graphics forum (not OpenTTD Graphics).
No longer active here, but you can still reach me via email: luca[at]stackednotion[dot]com
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

I know this is still work in progress, but there is a small bug I've noticed. Look at grtstat1.png. There are some black catwalks\ledges above rails. They are cut in half and miss one support tower.
Hmm... maybye it is graphic glitch present in TTDPatch, too, but please check it out because it doesn't look well.
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

MeusH wrote:I know this is still work in progress, but there is a small bug I've noticed. Look at grtstat1.png. There are some black catwalks\ledges above rails. They are cut in half and miss one support tower.
Hmm... maybye it is graphic glitch present in TTDPatch, too, but please check it out because it doesn't look well.
they look ok to me because they are cranes, not catwalks. They are only meant to be connected in one end. It's a freight station, not a passenger station
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

So if it is just graphic, that's okay. I just thought it looks unstable, like collapsing into the rail in a moment. Bah, I shouldn't think too much, then.
User avatar
DanMacK
Tycoon
Tycoon
Posts: 3906
Joined: 27 Feb 2004 20:03
Location: Ontario, Canada
Contact:

Post by DanMacK »

OK, so for those of us too lazy to compile our own source and add Diffs, when is this (and HackyKid's other newgrf support) going into the nightly builds? (If it hasn't already)
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

When It Is Ready (TM)
No longer active here, but you can still reach me via email: luca[at]stackednotion[dot]com
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Everybody hates that answer. and it adds nothing!

"Im terribly sorry Mr MacKellar, but our top coders are working on having newgrf support included with the game. We want to be able to be as advanced as the patch in that section. Also I should be finishing all my features soon, such as one way roads, Helidepots and others.

sincerely.

Mr Lucas Spiller."

Now that is a reply :P
Image
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

[ot]
Who is this Mr Lucas Spiller? :P

But come one, everyone wants to know when something is going to be ready, and we don't know. We are not paid to meet targets, and we do have lives outside of the game, so it is impossible to tell when it will be ready. If we give a date and we miss it everyone will complain "U f*****g b*****d! Were is dis patch??!??!?!?! I will h0x0r U! L00k @ me! 1337 ch4v!" yadda, yadda, yadda. So the easiest option for everyone is "When It is Ready (TM)". :P

As for the devs, I dunno what they are doing - most of them are working hard on their tan. TrueLight is working hard on getting the New AI done, there should be something big out at the end of next week.

- Luca Spiller
[/ot]
No longer active here, but you can still reach me via email: luca[at]stackednotion[dot]com
User avatar
Arsenal
Traffic Manager
Traffic Manager
Posts: 227
Joined: 06 Jan 2004 21:25

Post by Arsenal »

lucaspiller wrote: As for the devs, I dunno what they are doing - most of them are working hard on their tan. TrueLight is working hard on getting the New AI done, there should be something big out at the end of next week.

- Luca Spiller
[/ot]
Didn't truelight say the same thing a few weeks ago? I don't mind waiting for it. :D
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

actually, that same thing was said a few months ago :P
Image
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1791
Joined: 30 Mar 2005 09:43

Post by peter1138 »

In case anyone's wondering, I haven't forgotten this. In fact...
Attachments
progress.png
progress.png (21.67 KiB) Viewed 4280 times
User avatar
belugas
OpenTTD Developer
OpenTTD Developer
Posts: 1507
Joined: 05 Apr 2005 01:48
Location: Deep down the deepest blue
Contact:

Post by belugas »

peter1138 wrote:In case anyone's wondering, I haven't forgotten this. In fact...
Ho my god! Indeed, you have been quite busy...
It looks absolutely wonderfull!
Congratulations
User avatar
jacke
Director
Director
Posts: 533
Joined: 19 May 2002 14:47
Location: Sweden

Post by jacke »

Very nice to see some progress! Keep up the good work :)
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 13 guests