Station Add Ons
Moderator: OpenTTD Developers
-
- Tycoon
- Posts: 11501
- Joined: 20 Sep 2004 22:45
- Born Acorn
- Tycoon
- Posts: 7595
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
Have been doing other stuff recently. Current plans are
- Allow it to be part of the catchment area for what goods a station can recieve
- Fix any bugs I know of
- Tidy up and generalise the code so can do other similar stuff (e.g. post office accepts mail from a longer distance)
- Incorperate the new graphics
but I might not release anything new until the new year, sorry
- Allow it to be part of the catchment area for what goods a station can recieve
- Fix any bugs I know of
- Tidy up and generalise the code so can do other similar stuff (e.g. post office accepts mail from a longer distance)
- Incorperate the new graphics
but I might not release anything new until the new year, sorry
i can't get it working, be cool if it's added to main stream code though? *nudges Darkvater and the others*
...Synthetic Intelligent Organism Normally for Infiltration and Dangerous Exploration...
...sionide.net...
...sionide.net...
cool
i tried putting all the files in the right places and i just get an error when i run openttd.. no worries though - i'll wait on it being added to the main svn
i tried putting all the files in the right places and i just get an error when i run openttd.. no worries though - i'll wait on it being added to the main svn
...Synthetic Intelligent Organism Normally for Infiltration and Dangerous Exploration...
...sionide.net...
...sionide.net...
Latest Version
Here's the latest version.
I've moved the station addons into a seperate toolbar, with a new icon showing a postbox and a cup of tea, as I plan to implement a Post Office and a Station Restaurant as other station addons. If anyone can supply better icons I'd appreciate it!
Note the text for this toolbar is currently too short, but it'll be fine when there are a few more buttons on that toolbar.
I've fixed the ghost stations bug. At the moment I don't know of any other bugs.
I'm afraid I haven't got round to putting the new graphics in yet. I'm not 100% happy with Born Acorns suggestion - it's better than what I've got, but I think it still needs some improvement. Maybe a black/player coloured taxi parked in there? (If someone's designing this, please do the taxi seperately from the base)
The code's changed quite a lot - made more general to allow for other addons easily, and for the taxi rank distance to be dynamic.
In particular there's now a generic "TileMask" which can store arbitrary subsections of tiles. If one of the devs want to take Tilemask.c and Tilemask.h and put them into svn other people can use them for any other projects they're doing (e.g. use them to define an arbitrary hightlight).
Diff is against 1367
I'm prob not going to do much with this for the next couple of weeks-it should be stable to play with, and saveing/loading works (I think), so if anyone fancies trying it in a proper game, feedback would be appreciated. Keep an eye out for memory leaks - I'm pretty sure I've coded well, but the code I've added is more likely to introduce memory leaks than your average code.
I've moved the station addons into a seperate toolbar, with a new icon showing a postbox and a cup of tea, as I plan to implement a Post Office and a Station Restaurant as other station addons. If anyone can supply better icons I'd appreciate it!
Note the text for this toolbar is currently too short, but it'll be fine when there are a few more buttons on that toolbar.
I've fixed the ghost stations bug. At the moment I don't know of any other bugs.
I'm afraid I haven't got round to putting the new graphics in yet. I'm not 100% happy with Born Acorns suggestion - it's better than what I've got, but I think it still needs some improvement. Maybe a black/player coloured taxi parked in there? (If someone's designing this, please do the taxi seperately from the base)
The code's changed quite a lot - made more general to allow for other addons easily, and for the taxi rank distance to be dynamic.
In particular there's now a generic "TileMask" which can store arbitrary subsections of tiles. If one of the devs want to take Tilemask.c and Tilemask.h and put them into svn other people can use them for any other projects they're doing (e.g. use them to define an arbitrary hightlight).
Diff is against 1367
I'm prob not going to do much with this for the next couple of weeks-it should be stable to play with, and saveing/loading works (I think), so if anyone fancies trying it in a proper game, feedback would be appreciated. Keep an eye out for memory leaks - I'm pretty sure I've coded well, but the code I've added is more likely to introduce memory leaks than your average code.
- Attachments
-
- taxi_v4.zip
- Version 4 of the patch
- (449.27 KiB) Downloaded 151 times
Re: Station Add Ons
Yes, I have unearthed a corpsed. I am necromancering it. MUAHAHAHA.
Seriously, could a mod move this over to the Graphics Development or OpenTTD development forum? I would like to see if somebody would like to resurrect this patch properly.
Seriously, could a mod move this over to the Graphics Development or OpenTTD development forum? I would like to see if somebody would like to resurrect this patch properly.
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
Re: Station Add Ons
This is nothing beyond a suggestion for now I suppose. If someone would want to pick this up, I'd be happy to move this to the OpenTTD Development Forum
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
Re: Station Add Ons
Other than the four patches that were already published, that is?Chrill wrote:This is nothing beyond a suggestion for now I suppose.
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
Re: Station Add Ons
Right. I should read first, comment later. Is that it?
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
Who is online
Users browsing this forum: No registered users and 41 guests