Water at the Map Edges
Moderator: Graphics Moderators
Water at the Map Edges
A simple GRF which causes the water graphics (not black) to be drawn at the edge of the map.
Works in all climates.
Will not work with custom water graphics.
Works in all climates.
Will not work with custom water graphics.
- Attachments
-
- Before
- water_edges before.png (52.39 KiB) Viewed 21478 times
-
- After
- water_edges after.png (52.1 KiB) Viewed 21467 times
-
- water_edges.grf
- The GRF
- (2.69 KiB) Downloaded 4291 times
Last edited by Zephyris on 01 Dec 2007 15:24, edited 1 time in total.
Re: Water at the Map Edges
For anyone interested in providing custom water graphics support you may find the following useful:
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4 0D 00 00 00
1 * 8 08 06 "RW" 13 01 00 00
2 * 6 07 83 01 03 00 01
3 * 5 0A 01 01 EC 03
4 sprites/water_edges_temp.pcx 0 0 09 31 64 -31 0
5 * 6 07 83 01 03 01 01
6 * 5 0A 01 01 EC 03
7 sprites/water_edges_trop.pcx 0 0 09 31 64 -31 0
8 * 6 07 83 01 03 02 01
9 * 5 0A 01 01 EC 03
10 sprites/water_edges_arct.pcx 0 0 09 31 64 -31 0
11 * 6 07 83 01 03 03 01
12 * 5 0A 01 01 EC 03
13 sprites/water_edges_toyl.pcx 0 0 09 31 64 -31 0
Last edited by Zephyris on 01 Dec 2007 12:48, edited 1 time in total.
Re: Water at the Map Edges
Hi
Second time here in 2 months and so much progress in ttd world!
Very nice work Zephyris
Second time here in 2 months and so much progress in ttd world!
Very nice work Zephyris
TT-Screenshot Of The Month - 2012 July, winner!
TT-Screenshot Of The Month - 2013 May, winner tie with Purno!
TT-Screenshot Of The Month - 2014 February, winner!
TT-Screenshot Of The Month - 2014 June, winner tie with alluke!
TT-Screenshot Of The Month - 2014 April, winner!
My screen shot thread ---> Have a look
TT-Screenshot Of The Month - 2013 May, winner tie with Purno!
TT-Screenshot Of The Month - 2014 February, winner!
TT-Screenshot Of The Month - 2014 June, winner tie with alluke!
TT-Screenshot Of The Month - 2014 April, winner!
My screen shot thread ---> Have a look
Re: Water at the Map Edges
That seriously should not work. Not when the 7 is skipping the A, at least.Zephyris wrote:Code: Select all
2 * 6 07 83 01 03 00 01 3 * 5 0A 01 01 EC 03 4 sprites/water_edges_temp.pcx 0 0 09 31 64 -31 0
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
Re: Water at the Map Edges
It has worked in my tests, should actionAs not be skipped by action7? I assume the following code would be better:
Code: Select all
3 * 5 0A 01 01 EC 03
2 * 6 07 83 01 03 00 01
4 sprites/water_edges_temp.pcx 0 0 09 31 64 -31 0
5 * 6 07 83 01 03 01 01
7 sprites/water_edges_trop.pcx 0 0 09 31 64 -31 0
8 * 6 07 83 01 03 02 01
10 sprites/water_edges_arct.pcx 0 0 09 31 64 -31 0
11 * 6 07 83 01 03 03 01
13 sprites/water_edges_toyl.pcx 0 0 09 31 64 -31 0
Re: Water at the Map Edges
No, that is not correct, DaleStan was tying to say that you only skipped the ActionA line and not the actual 'real' sprite line below it, the Action7 should jump both.
Hope that helps,
~ Lakie
Code: Select all
For example, it should be jump over the next 2 sprites;
2 * 6 07 83 01 03 00 02
3 * 5 0A 01 01 EC 03
4 sprites/water_edges_temp.pcx 0 0 09 31 64 -31 0
~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Re: Water at the Map Edges
corrected, and still works.
Re: Water at the Map Edges
Seriously nice work Zephyris
But we have a small problem. I am in receipt of a message from some guy named Christopher Columbus ... seems he fell off the edge of the world before your grf and now he can't get back up.

But we have a small problem. I am in receipt of a message from some guy named Christopher Columbus ... seems he fell off the edge of the world before your grf and now he can't get back up.

wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Re: Water at the Map Edges



and thanks Zephyris.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Re: Water at the Map Edges
Nice idea, can you randomize the background too 

Re: Water at the Map Edges
Kinda, as Mr Ford (almost) said; you can any background as long as it repeats every 64/31 pixels in a brick-like fashonNice idea, can you randomize the background too

Re: Water at the Map Edges
wallyweb wrote:But we have a small problem. I am in receipt of a message from some guy named Christopher Columbus ... seems he fell off the edge of the world before your grf and now he can't get back up.



Really nice stuff Zephyris

Official TT-Dave Fan Club
Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr
Why be a song when you can be a symphony? r is a...
Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr
Why be a song when you can be a symphony? r is a...
Re: Water at the Map Edges
heheheZephyris wrote:Kinda, as Mr Ford (almost) said; you can any background as long as it repeats every 64/31 pixels in a brick-like fashonNice idea, can you randomize the background too

nice patch. It makes you wonder why no-one else thought of it.
Creator of the Openttd Challenge Spinoff, Town Demand patch
After action reports: The path to riches, A dream of skyscrapers
After action reports: The path to riches, A dream of skyscrapers
- Railwaymodeler
- Tycoon
- Posts: 2111
- Joined: 23 Dec 2004 18:31
- Location: Wisconsin, USA
Re: Water at the Map Edges
This looks cool, makes ya feel like you're in a bigger world now. Sort of like you're on a remote island, starting a transport service. Which is the mentality I adopted for game maps anyway.
Will download as soon as I finish posting.
Will download as soon as I finish posting.
Re: Water at the Map Edges
Cool stuff. A really cool idea.
Good to see such new things popping up.
Good to see such new things popping up.
*** Ce French Train Set ***
*** Visit my transport related pictures on Flickr ***





Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
*** Visit my transport related pictures on Flickr ***
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
- George
- Tycoon
- Posts: 4354
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: SPb, Russia.
- Contact:
Re: Water at the Map Edges
I like the idea.
GRF is always red in newgrfwindow for me, even when it is applied.

GRF is always red in newgrfwindow for me, even when it is applied.
Re: Water at the Map Edges
Is it working correctly for everyone? Its a simple existing sprite replacement (actionA), but the first one I have ever done, and does include climate specific switches (action7). It may well need some bug fixing...
Re: Water at the Map Edges
I just tested it in all four climates and its fine.Zephyris wrote:Is it working correctly for everyone?
I use the Windows version of TTDX. I wonder if perhaps you will need a DOS version too? Were those having problems playing TTDX DOS?
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Water at the Map Edges
Seems to work fine with the DOS data files here. It's looking very nice. 

No-one's more important than the earthworm.
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Re: Water at the Map Edges
Works fine in OpenTTD too.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Who is online
Users browsing this forum: No registered users and 5 guests