Build Templates (Copy&Paste) (r13911 + 0.6.3 + 0.6.2)

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

the signal with the turned arrow is very cool and more comprensible than others
Frostregen
Transport Coordinator
Transport Coordinator
Posts: 340
Joined: 06 Feb 2006 23:58

Post by Frostregen »

@Skidd:
I guess there are people who need the Linux binaries, if you add them in your post, I can link them into the first post.
Attachments
Just for linking into the first post
Just for linking into the first post
gui.png (4.52 KiB) Viewed 5998 times
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

Where did the option for signal 8 go?
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
Frostregen
Transport Coordinator
Transport Coordinator
Posts: 340
Joined: 06 Feb 2006 23:58

Post by Frostregen »

See the numbering scheme in the first post.
(The lower left image is left out, as it is the "disabled" state)
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

You used another numbering sheme on the previous page, you should change that as it causes some confusion.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
Frostregen
Transport Coordinator
Transport Coordinator
Posts: 340
Joined: 06 Feb 2006 23:58

Post by Frostregen »

Is there a way to edit a poll?
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

I think that you need to ask a moderator.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

mmm mistook to vote... i wanted to vote the 6
i counted the "-" as five
-----------------
| 1 | 2 | 3 | 4 |
-----------------
| - | 5 | 6 | 7 |
-----------------
^
User avatar
skidd13
OpenTTD Developer
OpenTTD Developer
Posts: 522
Joined: 03 Mar 2005 10:49
Location: Germany

Re: Build Templates (r5285 v2)

Post by skidd13 »

Frostregen wrote:Pro's:
-You are able to copy a maglev crossing, and use it in a game,
where maglev is not available.
:? I think this should be disabled and added to the cheat menu. realy :!:
Frostregen wrote:@Skidd:
I guess there are people who need the Linux binaries, if you add them in your post, I can link them into the first post.
I would have added them this time, but during compilation I get an error.
The files command_queue.c and copy_paste_gui.c are missing.

Edit: Is this patch against clean source or previous patch?

Btw I belong also to the wrong voters (voted #7) count me to #4 .
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Frostregen
Transport Coordinator
Transport Coordinator
Posts: 340
Joined: 06 Feb 2006 23:58

Post by Frostregen »

I forgot to add those 2 files to svn... They got removed because i had to clean the source to build a version whith the bridge-branch included. (To convert the crossings savegame)
skidd13 wrote:
Frostregen wrote:Pro's:
-You are able to copy a maglev crossing, and use it in a game,
where maglev is not available.
:? I think this should be disabled and added to the cheat menu. realy :!:
That's not how I meant it.
Paste fails if you try to paste maglev, without it being available to you.
By using the convert button, you may paste it as normal rail.
(This way you are able to use the crossing at all) (I admit I expressed it wrong ;))

Vote corrections:
4: +1
6: +1
7: -2
User avatar
skidd13
OpenTTD Developer
OpenTTD Developer
Posts: 522
Joined: 03 Mar 2005 10:49
Location: Germany

Post by skidd13 »

So here is the linux binary (SVN 5285).
Try it. Need feedback if everything is ok with it!

Compile options -Os

Edit: attachment removed
Last edited by skidd13 on 24 Jun 2006 10:10, edited 1 time in total.
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Frostregen
Transport Coordinator
Transport Coordinator
Posts: 340
Joined: 06 Feb 2006 23:58

Post by Frostregen »

Seems like a win for icon 4.
The updated grf is available in the first post.

Congrats no. 4 ;)
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

there was a pole :shock: ??? must've been over weekend, when i don't visit :cry: ... i'd have voted number 4 anyway.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
User avatar
skidd13
OpenTTD Developer
OpenTTD Developer
Posts: 522
Joined: 03 Mar 2005 10:49
Location: Germany

Post by skidd13 »

Today I tested the rail conversion, but there is a little bug. :o
The tunnels stay in their original rail type.

My SVN version: 5314
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Frostregen
Transport Coordinator
Transport Coordinator
Posts: 340
Joined: 06 Feb 2006 23:58

Post by Frostregen »

Thx for bugreport :)

Bridges&Depots stayed original too. Both fixed.

Currently I'm implementing the
-"Copy Road?"
-"Copy Rail?"
-"Copy only own Stuff?"
Buttons.

When this is done, I'll release a new version.
Last edited by Frostregen on 19 Jun 2006 18:47, edited 1 time in total.
User avatar
skidd13
OpenTTD Developer
OpenTTD Developer
Posts: 522
Joined: 03 Mar 2005 10:49
Location: Germany

Post by skidd13 »

Frostregen wrote:When this is done, I'll release a new version.
*lol* This brings "The Duke" back in my mind.
Frostregen wrote:Currently I'm implementing the
-"Copy Road?"
-"Copy Rail?"
-"Copy only own Stuff?"
Buttons.
Ah, the GUI will grow further. So I think the GUI becomes to complex, so it should be cascaded.
Here 2 suggestions:
1st as slim gui
2nd as rectangle gui

@Frostregen: hope that won't be to much work for you :wink:
Attachments
cascaded_gui.png
cascaded_gui.png (4.7 KiB) Viewed 5674 times
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Frostregen
Transport Coordinator
Transport Coordinator
Posts: 340
Joined: 06 Feb 2006 23:58

Post by Frostregen »

The 3 buttons are implemented and working. See Image.
(2 small glitches prevent me from releasing...)

@skidd13:
Hmm, the GUI cascading needs some thinking.
Maybe even 3 parts.

1. Copy - Paste
Most basic functionality.

2. Load - Save - Rotate - Mirror - Reverse Signals - Convert Track
Everything you need to load&save and work with templates.

3. Vacant Terrain - Bulldoze before Rebuild - Copy Road? - Copy Rail? - Copy Only Own?
Advanced finetuning not really needed by most people.

I dislike the idea of having seperated GUI's. I'll try to make them expandable. (I hope this doesn't get too hacky)
Attachments
current GUI
current GUI
cp2.png (4.82 KiB) Viewed 5622 times
User avatar
skidd13
OpenTTD Developer
OpenTTD Developer
Posts: 522
Joined: 03 Mar 2005 10:49
Location: Germany

Post by skidd13 »

Frostregen wrote:@skidd13:
Hmm, the GUI cascading needs some thinking.
Maybe even 3 parts.
Do you think of such an GUI?
Attachments
ng_gui.png
ng_gui.png (3.77 KiB) Viewed 5610 times
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

skidd13 wrote: Do you think of such an GUI?
That looks better then move all into one menu and there it looks confusing

i noticed something goes wrong with the signals if you paste one layout with signals exact over the same layout. Caused by not enough money.
One way signals switch direction each time i paste the copied terrain.
And by pressing shift the estimated costs are wrong.

I also noticed that the game pauses if you load or save terrain templates. Dunno why, but it's not needed (IMO).
User avatar
skidd13
OpenTTD Developer
OpenTTD Developer
Posts: 522
Joined: 03 Mar 2005 10:49
Location: Germany

Post by skidd13 »

To prevent to much switching between the different GUI sizes there should be set some defaults set in the "configure patches"-"construction" menu.
like:

Code: Select all

================
copy/paste patch
================
default gui - simple/medium/complex
convert track - on/off
vacant terrain - on/off
bulldoze before rebuild - on/off
copy road - on/off
copy rail - on/off
copy only own - on/off
@Frostregen: Just an idea. Whats your opinion to this? Another Poll ;)?
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 5 guests