no, 11340, thats why i ask for an update. i want to play with this patch so muchDesolator wrote:Are you sure you applied it on r10220?
Patch to buy an area of land
Moderator: OpenTTD Developers
Re: Patch to buy an area of land
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
-
- Route Supervisor
- Posts: 415
- Joined: 07 Oct 2004 10:05
Re: Patch to buy an area of land
Maybe there's only a CMD_AUTO too much in the original patch. I have this patch in ChrisIN and it also works with ChrisIN applied to r11340 and newer.
Re: Patch to buy an area of land
Finaly i made it.
Here's that patch, just update, but working
Here's that patch, just update, but working
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
Re: Patch to buy an area of land
I just made an update. I really like this patch and i hope, i am not alone
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
-
- Route Supervisor
- Posts: 415
- Joined: 07 Oct 2004 10:05
Re: Patch to buy an area of land
Sorry to revive this old thread, but as I see that this is still not working in trunk an update would be really nice it really annoys me to buy every tile with an extra click and I use this a lot in large games to limit city growth to a certain area.
Re: Patch to buy an area of land
I just made an update the the current revision.
- Attachments
-
- BuyLandArea_15599.patch
- (4.29 KiB) Downloaded 140 times
Re: Patch to buy an area of land
keeping updated
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
-
- Chief Executive
- Posts: 658
- Joined: 11 Nov 2007 12:06
- Contact:
Re: Patch to buy an area of land
updated to R15821
Is there any one who can fence off the land we are buying ?
Is there any one who can fence off the land we are buying ?
For Community Integrated Version http://code.google.com/p/civopenttd/
r16447
Updated to r16447.
Supplying two patches; one with DOS CRLF, and one with UNIX LF.
Supplying two patches; one with DOS CRLF, and one with UNIX LF.
- Attachments
-
- buy_area_r16447_dos.patch
- (4.28 KiB) Downloaded 128 times
-
- buy_area_r16447_unix.patch
- (4.26 KiB) Downloaded 124 times
Re: Patch to buy an area of land
Great Idea!
But could you implement to buy only the border of the land instead of buying the complete rectangle? For example if you are pressing ctrl, when you build it?
Sincerely
xZise
But could you implement to buy only the border of the land instead of buying the complete rectangle? For example if you are pressing ctrl, when you build it?
Sincerely
xZise
Re: Patch to buy an area of land
Hello
Tschö, Auge
I think, this is not possible. As an analogy: If you build a diagonal train track you buy the whole tile, not only one side of the tile. If you buy an area of some tiles, tile per tile, you buy every tile with its whole area. In every single case it's the same behaviour.xZise wrote: But could you implement to buy only the border of the land instead of buying the complete rectangle? For example if you are pressing ctrl, when you build it?
Tschö, Auge
Re: Patch to buy an area of land
I think he meant thisAuge wrote:I think, this is not possible. As an analogy: If you build a diagonal train track you buy the whole tile, not only one side of the tile. If you buy an area of some tiles, tile per tile, you buy every tile with its whole area. In every single case it's the same behaviour.xZise wrote: But could you implement to buy only the border of the land instead of buying the complete rectangle? For example if you are pressing ctrl, when you build it?
instead of this
I can see the problem with buying half or part of the tile as you are saying (not sure why anyone would want that), but i don't think it applies here.
Re: Patch to buy an area of land
Hello
Tschö, Auge
Oh, I see, yes you are right.micomico wrote:I think he meant thisAuge wrote:I think, this is not possible. ...xZise wrote: But could you implement to buy only the border of the land instead of buying the complete rectangle? ...
Tschö, Auge
Re: Patch to buy an area of land
Jep I meant this Not the border of a tile (did you mean this Auge?) the border of the rectangle. For example if you only want to lock a area for a bigger airport. If you are playing fair (in MP) or without AI (in SP/MP) this is saving much money.micomico wrote:[...]I think he meant this[...]
Sincerely
xZise
Re: Patch to buy an area of land
Just wondering, but, whats the difference between buying whole 11x10 lot (not sure if this is the size) or just its borders?xZise wrote:...If you are playing fair (in MP) ...
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
Re: Patch to buy an area of land
You don't have to pay for the 9x8 tiles in the borders?
Sincerely
xZise
Sincerely
xZise
Re: Patch to buy an area of land
I really should read everything twice, especialy with my bad english ... From your sentence, I understood the meaning a bit different way Sry for OT
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
Re: Patch to buy an area of land
Hello all,
I conjured up some "buy only borders on ctrl" functionality on this patch.
Enjoy.
I conjured up some "buy only borders on ctrl" functionality on this patch.
Enjoy.
- Attachments
-
- buy_area_r16521.diff
- Patch for rev. 16521
- (4.37 KiB) Downloaded 128 times
-
- buy_area_v070.diff
- Patch for version 0.7.0
- (4.37 KiB) Downloaded 124 times
Re: Patch to buy an area of land
Hello and sorry for the double post (soon to be triple). I want to keep the previous post, just in case.
I decided there was still something missing in this patch. Although the "buy only border on ctrl" was an excellent idea, what i found missing was "ignore measly tiles that can't be bought in the area".
So i've implemented it. I've tried to change the patch to follow "The coding style" also.
Now it allows fun things like:
(continues on the next post)
I decided there was still something missing in this patch. Although the "buy only border on ctrl" was an excellent idea, what i found missing was "ignore measly tiles that can't be bought in the area".
So i've implemented it. I've tried to change the patch to follow "The coding style" also.
Now it allows fun things like:
(continues on the next post)
- Attachments
-
- better_buy_area_v070.diff
- Patch for v.0.7.0
- (4.82 KiB) Downloaded 122 times
-
- better_buy_area_r16525.diff
- Patch for rev. 16525
- (4.82 KiB) Downloaded 125 times
Re: Patch to buy an area of land
(continued)
which gives:
and also:
with the nice result:
The operation only shows an error when no tile could be bought.
which gives:
and also:
with the nice result:
The operation only shows an error when no tile could be bought.
Who is online
Users browsing this forum: No registered users and 28 guests