Page 35 of 175

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 11:33
by Zephyris
Re: DaleStan
I have always been quietly concerned about the game sounds, I wasn't sure where they were loading from had come from!

Re: lordazamath
The sprites are in the windows palette, I'm not sure what differences are in the toyland palette but it hasn't caused me problems so far.
Sprites 1005-1010 and their monorail and maglev equivalents can be the same as the ones I have made for other climates.
I was too lazy to make the blinking ones (same with newinfrastructure v0.2) just code the non-blinking graphics to both places and I'll add the blink later.

And another technical question: What are all the pink special colours for in the windows palette? I know entries two and three are font colour and font shadow respectively but what are the others!

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 13:29
by Zephyris
newTerrain v0.4
Fixes ugly grid lines on shore tiles
Adds snow in temperate sprites (not supported in yet, see by starting a sub-arctic game and switching climate to temperate)
Adds complete shore line sprites (needs testing, still not in nightlies?)

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 13:47
by DeletedUser5
Zephyris wrote:Adds snow in temperate sprites (not supported in yet, see by starting a sub-arctic game and switching climate to temperate)
Adds complete shore line sprites (needs testing, still not in nightlies?)
Beautiful snow in temperate. Shore line don't work - still not in nightlies. Here's a screenshot of beatiful temperate climate with snow. :D

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 14:25
by Zephyris
I have just confirmed the shore line works in TTDPatch, so is evidently not complete in OpenTTD nightlies yet...

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 14:43
by Loop
Wow, just wow. The snow in temperate looks amazing. And the shores are also beautiful. You just have to love this project :-) Great work guys, keep it up!

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 18:21
by LordAzamath
Ok.. I finished coding a few hours ago, but there is one problem... Toyland tunnels won't show :( Everything else works perfectly. I tested in TTDP too, but no difference.. I anyone could look at the sourse of this, I would be thankful.

The pcx for commented nfo:
toyland.pcx
(185.29 KiB) Downloaded 478 times
EDIT:
Ok.. I found out the fault:
http://pastebin.com/pastebin.php?diff=m697a4d8eThis will be there for one month (starting from today :)

The grf:

EDIT: To stop you downloading this bugged grf, I'll remove it.. The right one is few posts below.

madis.

EDIT: Zephyris, you had some errors in the png and the order was wrong.. I corrected some things..

EDIT2:
Since today the trunk has rivers in it... It will use canal graphics, if rivers grf is not supplied.. Zephyris, will we support rivers too?

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 19:38
by Zephyris
It only seems sensible, what are the rivers like? Literally canals with alternative graphics? Those graphics would be quite simple to do, I plan to try the canals soon too...

Code debugging:
Line 15.

Code: Select all

              20 93 0d                                    //Sprites 2365-2396 -> 32 sprites -> All tunnels
Should be:

Code: Select all

              20 3D 09                                    //Sprites 2365-2396 -> 32 sprites -> All tunnels
I really recommended using the escape sequence \w (ie. \w2365) instead of hand converting to hex...

*edit* Bridges:
I have done a massive push on bridges and have made a template for coding graphics, so it will now be really easy to put them into the game :). Unfortunately I am rubbish at drawing the sprites, so would be very grateful if someone would give it a go! All I need are the two orientations of the bridge structure, I will do the rest. See the example for the Steel Girder bridge attached. Note the palette - the suspension, cantilever and tubular bridges must use those reds...

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 20:08
by LordAzamath
Zephyris wrote:It only seems sensible, what are the rivers like? Literally canals with alternative graphics? Those graphics would be quite simple to do, I plan to try the canals soon too...

Code debugging:
Line 15.

Code: Select all

              20 93 0d                                    //Sprites 2365-2396 -> 32 sprites -> All tunnels
Should be:

Code: Select all

              20 3D 09                                    //Sprites 2365-2396 -> 32 sprites -> All tunnels
I really recommended using the escape sequence \w (ie. \w2365) instead of hand converting to hex...
By the time you posted it, I already had found the fault when I tried to explain what's wrong to Maedhros, and spotted the fault myself :D
Unfortunately I am rubbish at drawing the sprites, so would be very grateful if someone would give it a go!
He lies!!

The toyland infrastructure grf.. And about the junction sprites (remember I told you don't have them :D) I think it's more useful to define them all at one time and to all climates (eg no action07).. What do you think Zephyris? Next infrastructure release will come with junctions to all?

EDIT: Forgot to add grf :D
OpenGFX_-_newInfrastructure_-_Toyland_v0.1.grf
(153.59 KiB) Downloaded 1258 times
About rivers.. You can examine the rivers grf which was avilable for TTDP only, but now is usable for trunk too :)

madis

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 20:19
by michael blunck
lordazamath wrote:About rivers.. You can examine the rivers grf which was avilable for TTDP only, but now is usable for trunk too
May I politely point out that the .grf in question (rivers[w].grf) is copyrighted material? So don´t "examine" it too closely, in a way that it will come out similar like the original. :mrgreen:

regards
Michael

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 20:39
by Zephyris
newInfrastructure v0.3
Includes:
Road, Rail, Monorail and Maglev including tunnels, level crossings and fences in all climates.
Road, Rail, Monorail and Maglev stations in temperate, sub-tropical and sub-arctic.

Bugs:
Level crossing lights don't flash.

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 20:52
by LordAzamath
michael blunck wrote:
lordazamath wrote:About rivers.. You can examine the rivers grf which was avilable for TTDP only, but now is usable for trunk too
May I politely point out that the .grf in question (rivers[w].grf) is copyrighted material? So don´t "examine" it too closely, in a way that it will come out similar like the original. :mrgreen:

regards
Michael
I was more of thinking how to code it.. What actions or something like that.. Not graphics.. And if it's all up in specs (havent checked yet) then no looking up might be
needed. :)

EDIT: Zephyris, what do you think of when we get this thing almost done, giving the #coop alpha grf to test final things out before we try to convince devs to include it in installers? Osai mentioned this to me and I (being a coop player :D ) support the idea, once we are ready enough..

madis

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 21:14
by DaleStan
Zephyris wrote:The sprites are in the windows palette, I'm not sure what differences are in the toyland palette
The water cycle colors.
Zephyris wrote:I know entries two and three are font colour and font shadow respectively but what are the others!
You mean entries 1 and 2, not 2 and 3. The remaining entries, 3-9 and 246-254 are just bright pink.

EDIT: Bum quote trimming.

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 19 Jan 2008 23:07
by Gonozal_VIII
Here's a Gimp palette that I made based on http://wiki.ttdpatch.net/tiki-index.php ... oordinates

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 20 Jan 2008 01:20
by Zephyris
Surely those spare colours could be used for new special effects? I guess no sprites actually use them (apart from possibly toyland) and they could be used for lightening or darkening (shadows/lights) and transparency simulation (station roof) etc...

Re: lordazamath
Coop testing is definitely a good plan - and could start soon, for example the terrain graphics really are "complete". Testing of the final trg*r.grfs (assuming this is the application method chosen) could start later once the alpha of the complete graphics is done.

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 20 Jan 2008 02:41
by athanasios
Ooops:
Some rail fences are buried in the ground. Wrong code for some fences on slopes. :mrgreen:

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 20 Jan 2008 11:54
by Zephyris
Apologies to athanasios, I forgot his road depots - they will be included!

Properties of the fences bug, its all due to foundations:

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 20 Jan 2008 12:49
by DJ Nekkid
just a question, why dont we make much prettier foundations? The old ones are butt ugly, and the new ones seems to be "ripped" from the old ones. Why not some kind of brick setup, or something similar to the "new foundations"?? http://www.tt-forums.net/viewtopic.php?f=26&t=28049

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 20 Jan 2008 15:15
by athanasios
Yep, valid suggestion. I agree.
Zephyris: Sorry for blaming the code. :oops: I should blame the foundations instead. :mrgreen:

regards
athanasios

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 20 Jan 2008 18:06
by Zephyris
Re: 7of9 and athanasios
Sure! I'll make some brick foundations... Could always be an parameter controlled optional extra to have old style/new foundations...

Fonts, again. So... lordazamath, do you want another fun piece of coding? Newspaper font - based on Garamond, but with much pixel tweaking. Slightly smaller than the original font, to allow better accents, etc., and more proportional width. All sprite offsets should be x = 0, y = 2 (or is that -2? try 2 first :) ). png and pcx attached, png to look at, and pcx to use if the png has a messed up palette...

Re: [8bpp] Graphics Replacement Project - Revived

Posted: 20 Jan 2008 20:01
by prissi
I could donate foundations from the simuttd projekt. These are made by me from simutrans graphics, thus I am the copyright holder. So they are free.