Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Sep 02, 2010 6:24 pm

All times are UTC




Post new topic Reply to topic  [ 62 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Sat Dec 10, 2005 12:15 am 
Moderator
Moderator
User avatar
Offline

Joined: Wed Oct 02, 2002 6:57 pm
Posts: 5552
Location: Ithaca, New York
No.

_________________
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 7:03 pm 
Graphics Moderator
Graphics Moderator
User avatar
Offline

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 3643
Location: The Moon
I've been thinking on secondary colours for the AI to use, and this is what I've come up with.

The colours in brackets are the secondary colours the AI can choose from for a given primary. In all cases, I think it should also be able to repick the primary as the secondary (so, for example, a dark blue AI will be able to pick white or dark blue for its secondary).

If getting the AI to pick from multiple colours is not happening, the first colour in the lists below is, I think, the best one.

dark blue (white)
pale green (cream)
pink (grey)
yellow (white)
red (white, blue)
light blue (cream)
green (dark blue, white)
dark green (orange)
blue (white, red)
cream (white)
mauve (white)
purple (pink, white)
orange (light blue)
brown (yellow)
grey (orange, yellow, red)
white (red, yellow, dark blue)

_________________
PikkaWiki Image UKRS2 Image NARS2 Image av8 Image
NewGRF Specs - Savegame Internals - GRFCrawler - Sprite Templates - BaNaNaS


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 7:58 pm 
Moderator
Moderator
User avatar
Offline

Joined: Wed Oct 02, 2002 6:57 pm
Posts: 5552
Location: Ithaca, New York
Thanks, I'll put this in the code. I'll probably make a list of four secondary colours for each primary colour, and have the AI choose a random one from that; the preferred colour would then be listed twice to have a higher chance.

_________________
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 8:29 pm 
TTDPatch Developer
TTDPatch Developer
User avatar
Offline

Joined: Wed May 26, 2004 4:37 pm
Posts: 1618
Location: Britain
Few updates.

Added tabs to break up the special colours and to get under the 32 active elements limit.
I have yet to add the code for the tabs, changing tab works though. :D

Current list of items*
Code:
Main Window
- Global Company Colours

Rail Vehicle Tab
- Steam Engine
- Diesel Engine
- Electric Engine
- Monorail Engine
- Maglev Engine
- Diesel Multiple Unit
- Electric Multiple Unit

Road Vehicle Tab
- Bus
- Tram
- Truck

Sea Vehicle Tab
- Passenger Ship
- Freight Ship

Air Vehicles Tab
- Plane
- Helicopter
- Zeppilen


* - this list is what I've put on the gui and is subject to change.
patchman can decide if any items should be added or removed.

~ Lakie


Attachments:
twoccgui7.png [257.02 KiB]
Downloaded 188 times

_________________
Image
TTDpatch Developer 2005 - 2008 ~ 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."
Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 9:14 pm 
Moderator
Moderator
User avatar
Offline

Joined: Wed Oct 02, 2002 6:57 pm
Posts: 5552
Location: Ithaca, New York
Is a separate entry for zeppelins really useful? In that case, freight and passenger planes might have different liveries too.

Personally, I'd get rid of the "Zeppelin" entry, and instead split regular planes into three categories, one for small airports (no idea what to call it, "Regional aircraft"?), one for large airports, and freight planes.

Otherwise I like the look of it, except that the borders around the elements are bit thin; look how far the buttons are from the edges in TTD's windows and try to reproduce that look.

_________________
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 10:29 pm 
OpenTTD Developer
OpenTTD Developer
Offline

Joined: Wed Mar 30, 2005 9:43 am
Posts: 1333
Might want to remove the word "Window" from the window title :D

_________________
He's like, some kind of OpenTTD developer.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 10:29 pm 
Tycoon
Tycoon
User avatar
Offline

Joined: Fri Feb 07, 2003 1:58 am
Posts: 11681
Location: Washington DC, USA
Lakie, what was the steam locomotive in your posted screenshot? I don't recognize it.

_________________
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 11:17 pm 
Graphics Moderator
Graphics Moderator
User avatar
Offline

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 3643
Location: The Moon
What happened to passenger wagon and frieght wagon?

_________________
PikkaWiki Image UKRS2 Image NARS2 Image av8 Image
NewGRF Specs - Savegame Internals - GRFCrawler - Sprite Templates - BaNaNaS


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 12:11 am 
TTDPatch Developer
TTDPatch Developer
User avatar
Offline

Joined: Wed May 26, 2004 4:37 pm
Posts: 1618
Location: Britain
patchman:
Ok, I'll modify the list just before I got to bed.
Yeah, I being thinking they are alittle to close to the edges of the window too... I'll look at changing it.

Peter1138:
Does it really matter if it has window in the title?
But I'll remove it, if just to keep you happy. :D

krtaylor:
It's the 2-4-0 'Pacific', from Pikka's UK Renewal Set.
Which might I add it great as it has some vehicles support two company colours.
Such as the above locomotive. :D

Pikka:
Sorry must have missed them while tpying the list, they should be in that list yes.

I'll post the updated list later with the total number of elements left per tab.
And how many elements each entry takes.

I'll try and code the tabs to work fully with click code, this weekend in most lightly hood, due to time constrants.

~ Lakie

_________________
Image
TTDpatch Developer 2005 - 2008 ~ 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."


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 12:31 am 
Graphics Moderator
Graphics Moderator
User avatar
Offline

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 3643
Location: The Moon
Lakie wrote:
It's the 2-4-0 'Pacific', from Pikka's UK Renewal Set.


No, it's the Wardale '5AT' from the UKRS. ;)

_________________
PikkaWiki Image UKRS2 Image NARS2 Image av8 Image
NewGRF Specs - Savegame Internals - GRFCrawler - Sprite Templates - BaNaNaS


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 1:04 am 
TTDPatch Developer
TTDPatch Developer
User avatar
Offline

Joined: Wed May 26, 2004 4:37 pm
Posts: 1618
Location: Britain
Sorry, but thats what the name in the buy list here was. :(

Last Screesnshot.
Changes new spacing more like the buttons in the company window now. (3px)
Removed Zippelin and changed plane into 3 classes.

New list.
Code:
<Element group> (<active elem>, <non Active>, <active elements free>)
Main (3, 0, 23)
- Global (2, 3)

Rails Tab (1, 1, 5)
- Steam (3, 3)
- Diesel (3, 3)
- Electric (3, 3)
- Monorail (3, 3)
- Maglev (3, 3)
- DMU (3, 3)
- EMU (3, 3)
- Passenger Wagons (inc mail) (3, 3)
- Freight Wagons (3, 3)

Road Vehicle Tab (1, 1, 23)
- Bus (3, 3)
- Tram (3, 3)
- Truck (3, 3)

Sea Vehicles Tab (1, 1, 26)
- Passenger Ship (3, 3)
- Freight Ship (3, 3)

Air Vehicles Tab (1, 1, 20)
- Regional Aircraft (3, 3)
- Express Aircraft (3, 3)
- Freight Aircraft (3, 3)
- Helicopter (3, 3)


IF anyone can thik of better names for the different aircraft types based off small / large airports, please do post.

Last screenshot for a while,
Please feel free to add comments about it.

~ Lakie


Attachments:
Two Company Colours Gui Tabs.png [182.04 KiB]
Downloaded 163 times

_________________
Image
TTDpatch Developer 2005 - 2008 ~ 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."
Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 1:20 am 
Moderator
Moderator
User avatar
Offline

Joined: Wed Oct 02, 2002 6:57 pm
Posts: 5552
Location: Ithaca, New York
I like it :)

_________________
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 1:37 am 
Graphics Moderator
Graphics Moderator
User avatar
Offline

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 3643
Location: The Moon
Lakie wrote:
Sorry, but thats what the name in the buy list here was. :(


Oh whoops, I didn't realise he was referring to the latest picture.. yes, that's the 4-6-2 'Pacific' (aka Gresley A4).

I'm liking the look of the gui. :D Maybe simply "small airliners" and "large airliners" for the aircraft?

_________________
PikkaWiki Image UKRS2 Image NARS2 Image av8 Image
NewGRF Specs - Savegame Internals - GRFCrawler - Sprite Templates - BaNaNaS


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 4:00 am 
TTDPatch Developer
TTDPatch Developer
Offline

Joined: Wed Feb 18, 2004 3:06 am
Posts: 10249
I would probably use "Long-range aircraft" instead of "Express aircraft".

_________________
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
TTDPatch NFO coding consultant. (Private messages on this topic will be ignored. Ask in public only.)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 8:32 am 
Tycoon
Tycoon
Offline

Joined: Mon Feb 09, 2004 10:02 am
Posts: 2689
Location: Morphett Vale, South Australia.
That looks s***-hot Lakie! No really, it does!

Now TTDPatch is really getting to a point where it can kick Locomotions arse for some of the bigger features it boasts.

Long live TTDPatch!

_________________
Richard Eldred. Administrator of Planet TT-Forums!.
Former NewGRF Coder and Sprite Artist

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 9:00 am 
TTDPatch Developer
TTDPatch Developer
User avatar
Offline

Joined: Fri Mar 07, 2003 1:10 pm
Posts: 3548
Location: Germany
Lakie, will you write a gui for newroutes? :wink:

_________________
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 4:09 pm 
Chief Executive
Chief Executive
User avatar
Offline

Joined: Thu Jun 24, 2004 8:05 pm
Posts: 733
eis_os wrote:
Lakie, will you write a gui for newroutes? :wink:

newroutes? have i missed a feature?

Edit: My 500th Post! Woot!

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 8:05 pm 
TTDPatch Developer
TTDPatch Developer
Offline

Joined: Wed Feb 18, 2004 3:06 am
Posts: 10249
/me gestures vaguely in the direction of the wiki

_________________
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
TTDPatch NFO coding consultant. (Private messages on this topic will be ignored. Ask in public only.)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 8:14 pm 
Tycoon
Tycoon
Offline

Joined: Mon Feb 09, 2004 10:02 am
Posts: 2689
Location: Morphett Vale, South Australia.
Lakie, will you eventually write all the various improvements I want made to the scenario editor? :P

_________________
Richard Eldred. Administrator of Planet TT-Forums!.
Former NewGRF Coder and Sprite Artist

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Thu Dec 15, 2005 12:20 am 
TTDPatch Developer
TTDPatch Developer
User avatar
Offline

Joined: Wed May 26, 2004 4:37 pm
Posts: 1618
Location: Britain
Aegir:
Probably not?

Been fixing a few bugs in the global part of the gui.
Such as changing other companies colours allowing special CC's to be used. :o

Hopefully, with all the global stuff fixed, I can try working on the special colour schemes.
I might also fix the exploit shown here.

Small problems have occured though with saving loading code, so I might not be able to test all the special cases yet. (I need patchman's help on how to fix his player2 array saving / loading code).

[edit] And I'm also thinking about making the tab button's icons changable via grf, with 2cc remapping, if possible.
I'll have to ask patchman about grf support, thats something new to me. :D

~ Lakie

_________________
Image
TTDpatch Developer 2005 - 2008 ~ 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."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 62 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Sat Nav | Car Insurance Quote | ESW5080 | Iphone 4 | Tea Forums & Tea Industry Forum
Powered by phpBB © 2000-2009 phpBB Group

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2010.
Hosted by Zernebok.