Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)
Moderator: OpenTTD Developers
Re: Build Templates (Copy&Paste) (r10450 + 0.5.2)
Well, unfortunately I found out it is not possible to react on some keys, namely these:
- = \ [ ] ; ' , . /
I wrote a fix, called "Extra keyboard shortcuts" which fixes this and also adds few keyboard shortcuts (V for spawning new viewport, M for spawning map window ...), however, it is not yet accepted in trunk. But once it get accepted, it would be possible to react on all these keys.
- = \ [ ] ; ' , . /
I wrote a fix, called "Extra keyboard shortcuts" which fixes this and also adds few keyboard shortcuts (V for spawning new viewport, M for spawning map window ...), however, it is not yet accepted in trunk. But once it get accepted, it would be possible to react on all these keys.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re:
Isnt there a shortcut for dynamite?Bilbo wrote: .....Also relatively often I toggle the "dynamite" button, so I think it deserves a shortcut too.
I use the "d" button on my keyboard, or do you mean toggling to some function of dynamite that i'm not aware of?
"d" does not work when having a trainshedule up when pressing "d".
Re: Re:
That's because, when you've got a trainschedule up, [d] is the shortcut for "Skip order", of course.Starbud wrote:"d" does not work when having a trainshedule up when pressing "d".
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: Re:
He means the dynamite toggle on the Copy and Paste dialog, not the dynamite tool.Starbud wrote:Isnt there a shortcut for dynamite?Bilbo wrote: .....Also relatively often I toggle the "dynamite" button, so I think it deserves a shortcut too.
I use the "d" button on my keyboard, or do you mean toggling to some function of dynamite that i'm not aware of?
"d" does not work when having a trainshedule up when pressing "d".
- goldfiction
- Engineer
- Posts: 8
- Joined: 06 Jun 2005 02:02
- Location: Waterloo
Re: Build Templates (Copy&Paste) (r10450 + 0.5.2)
Two suggestions:
1. Can people post their template files? Or did I overlook some postings? I posted mine. It's a small collection but I used them a lot.
2. Can people start to host internet games using this new version? Is this copy&paste making a whole new version of openttd nightly? I can't seem to find any internet servers using this version. I really don't want to give up neither online game nor copy&paste function.
1. Can people post their template files? Or did I overlook some postings? I posted mine. It's a small collection but I used them a lot.
2. Can people start to host internet games using this new version? Is this copy&paste making a whole new version of openttd nightly? I can't seem to find any internet servers using this version. I really don't want to give up neither online game nor copy&paste function.
- Attachments
-
- tmpl.zip
- some tmpl files I made
including: clover, t-junc, 2x terminal tracks ... - (2.5 KiB) Downloaded 117 times
Adopt a rabbit and get a free elephant.
--the Simpsons.
--the Simpsons.
Re: Build Templates (Copy&Paste) (r10450 + 0.5.2)
Well, I think you're first who posted some templates.goldfiction wrote:Two suggestions:
1. Can people post their template files? Or did I overlook some postings? I posted mine. It's a small collection but I used them a lot.
2. Can people start to host internet games using this new version? Is this copy&paste making a whole new version of openttd nightly? I can't seem to find any internet servers using this version. I really don't want to give up neither online game nor copy&paste function.
As to the compatibility, openttd with copy & paste patch is fully compatible with same version of openttd without the patch (in multiplayer too). So this is not a problem :)
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: Build Templates (Copy&Paste) (r10450 + 0.5.2)
you the first to post templates, but this has came up on page 16 before
so i'll again tell people there was a saved game made, with junctions,
so you can just load the game copy and save the junctions
save game can be found in this thread
so i'll again tell people there was a saved game made, with junctions,
so you can just load the game copy and save the junctions
save game can be found in this thread
- goldfiction
- Engineer
- Posts: 8
- Joined: 06 Jun 2005 02:02
- Location: Waterloo
quick link button
Is it possible for Copy&Paste to have quick link buttons? When I try to paste two kinds of templates, I have to keep switching the files. If there are 5 quick link buttons, each can be set to a different templates, it will be way faster than loading different files over and over again.
Also, I am eagerly waiting for the copy&paste to come up 0.5.3 version. Or we have to wait for 0.5.3 finalized?
Also, I am eagerly waiting for the copy&paste to come up 0.5.3 version. Or we have to wait for 0.5.3 finalized?
Re: quick link button
The patch for 0.5.2 will probably work in 0.5.3-rc2, as these two differ basically only by few bugfixes. But you have to compile it yourself :)goldfiction wrote:Is it possible for Copy&Paste to have quick link buttons? When I try to paste two kinds of templates, I have to keep switching the files. If there are 5 quick link buttons, each can be set to a different templates, it will be way faster than loading different files over and over again.
Also, I am eagerly waiting for the copy&paste to come up 0.5.3 version. Or we have to wait for 0.5.3 finalized?
I may post here win32 binaries, IF I figure out why 0.5.3 configure can't find zlib, while nighly have no trouble with it.
Some "quick links" button would be nice, as I often use few templates repetitively.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
-
- Transport Coordinator
- Posts: 340
- Joined: 06 Feb 2006 23:58
Re: Build Templates (Copy&Paste) (r10450 + 0.5.2)
Currently I'm waiting for orudge, if he finds a way to re-enable attachement-updating within this forum.
Expect the precompiled 0.5.3-rc2 sometime around this weekend. (Too hot here to do anything productive atm
)
Expect the precompiled 0.5.3-rc2 sometime around this weekend. (Too hot here to do anything productive atm

Re: Build Templates (Copy&Paste) (r10450 + 0.5.2)
I thought of one ... design flaw that is present in the copy & paste patch.
One of templates I use often is a depot block - I insert it over double tracks avery few squares to have service centers along the line.
But problem is, that the corner square (marketd yellow in the picture) is used as base for height of the depot. While "logical" would be to use the one marked blue for example. I think the patch have no chance in correctly guessing which one is the desired centerpoint, but I think user should be able to set the centerpoint manually - to decide which tile in the template is to be used as center
As shown in the example, for track in valley, I can't insert the template directly for it to work, I have to dig unnecessary hole to that it will be inserted properly.
One of templates I use often is a depot block - I insert it over double tracks avery few squares to have service centers along the line.
But problem is, that the corner square (marketd yellow in the picture) is used as base for height of the depot. While "logical" would be to use the one marked blue for example. I think the patch have no chance in correctly guessing which one is the desired centerpoint, but I think user should be able to set the centerpoint manually - to decide which tile in the template is to be used as center
As shown in the example, for track in valley, I can't insert the template directly for it to work, I have to dig unnecessary hole to that it will be inserted properly.
- Attachments
-
- Depot block
- depot-block_N.png (33.53 KiB) Viewed 2425 times
-
- Inserting the block directly to track in valley will fail
- inserting_directly_fails.png (16.11 KiB) Viewed 2424 times
-
- I have to dig "unnecessary" hole to insert the block properly
- have_to_dig.png (19.43 KiB) Viewed 2423 times
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
-
- Transport Coordinator
- Posts: 340
- Joined: 06 Feb 2006 23:58
Re: Build Templates (Copy&Paste) (r10649 + 0.5.3-rc2)
Ok, 0.5.3-rc2 is available.
The quick-link-buttons seem like a good idea,
although i don't use copy&paste *this* often.
Any gui ideas for this?
5 buttons in a row.
left click activates the template, and rightclick saves the current template onto the button?
Better ideas anyone?
About the reference tile problem:
I think I could just search the borders of a template in circles inwards, till i find a track/road. if this track points to the center, it will be considered the reference tile, else the search continues. If no track can be found, it will be the same tile as curently.
I'm looking into a way to change the color of the reference tile, just like in your images.
Expect something around next WE. Lack of time currently
The quick-link-buttons seem like a good idea,
although i don't use copy&paste *this* often.
Any gui ideas for this?
5 buttons in a row.
left click activates the template, and rightclick saves the current template onto the button?
Better ideas anyone?
About the reference tile problem:
I think I could just search the borders of a template in circles inwards, till i find a track/road. if this track points to the center, it will be considered the reference tile, else the search continues. If no track can be found, it will be the same tile as curently.
I'm looking into a way to change the color of the reference tile, just like in your images.
Expect something around next WE. Lack of time currently

Re: Build Templates (Copy&Paste) (r10649 + 0.5.3-rc2)
Yes, the result of looking for proper track in circle around edge will probably give good results most of the time. although I can think still of few cases when you may want some other tile to be the reference tile (sometimes a tile in the middle actually would be useful :). I think four extra buttons to move the reference tile up/down/left/right in the current thing will do the job fine. Then you'll copy something and if you're unhappy with the reference tile, you use these 4 buttons to move it anywhere you desire.Frostregen wrote:About the reference tile problem:
I think I could just search the borders of a template in circles inwards, till i find a track/road. if this track points to the center, it will be considered the reference tile, else the search continues. If no track can be found, it will be the same tile as curently.
I'm looking into a way to change the color of the reference tile, just like in your images.
Expect something around next WE. Lack of time currently :(
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: Build Templates (Copy&Paste) (r10791 + 0.5.3-rc2)
I want to compile the patched sources but do not understand which version ist the right for your r10791 because there isnt a r10791
http://nightly.openttd.org/source/
Compiling 0.5.2 and 0.5.3-rc2 functioned.
http://nightly.openttd.org/source/
Compiling 0.5.2 and 0.5.3-rc2 functioned.
Re: Build Templates (Copy&Paste) (r10791 + 0.5.3-rc2)
use the one closest to r10791smoovi wrote:I want to compile the patched sources but do not understand which version ist the right for your r10791 because there isnt a r10791
http://nightly.openttd.org/source/
Compiling 0.5.2 and 0.5.3-rc2 functioned.

Re: Build Templates (Copy&Paste) (r10791 + 0.5.3-rc2)
Speaking of reference tile:
How about picking it when saving a template? Ctrl+click maybe?
This way you won't need to write sophisticated loops, and computer won't need to process it. User will decide which tile is a reference tile
How about picking it when saving a template? Ctrl+click maybe?
This way you won't need to write sophisticated loops, and computer won't need to process it. User will decide which tile is a reference tile
Re: Build Templates (Copy&Paste) (r10791 + 0.5.3-rc2)
I like that idea.
According to me that would be the most useful way of doing it
According to me that would be the most useful way of doing it

Re: Build Templates (Copy&Paste) (r10791 + 0.5.3-rc2)
Why don't you checkout the proper revision from SVN repository? If you use Windows, try TortoiseSVN. It is Explorer extension (accessible via file/folder contect menu) and pretty easy to use.smoovi wrote:I want to compile the patched sources but do not understand which version ist the right for your r10791 because there isnt a r10791
http://nightly.openttd.org/source/
Compiling 0.5.2 and 0.5.3-rc2 functioned.
Re: Build Templates (Copy&Paste) (r10791 + 0.5.3-rc2)
I do not use windows
i just want to know on which versions he build up his patches for. so svn seems the answer
i just want to know on which versions he build up his patches for. so svn seems the answer

-
- Transport Coordinator
- Posts: 340
- Joined: 06 Feb 2006 23:58
Re: Build Templates (Copy&Paste) (r10791 + 0.5.3-rc2)
exactly 
@MeusH:
I can't think of a nice how this should be done...
Best thing would be some copy&paste preview window (something like the eyecandy patch)
in which you could move the reference tile.
Or how should your proposed CTRL+click work? (where would you click??)

@MeusH:
I can't think of a nice how this should be done...
Best thing would be some copy&paste preview window (something like the eyecandy patch)
in which you could move the reference tile.
Or how should your proposed CTRL+click work? (where would you click??)
Who is online
Users browsing this forum: No registered users and 18 guests