Two Company Colours GUI (Work In Progress)
Moderator: TTDPatch Moderators
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)
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)
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.
Current list of items*
* - 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
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.
Current list of items*
Code: Select all
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
patchman can decide if any items should be added or removed.
~ Lakie
- Attachments
-
- twoccgui7.png (257.02 KiB) Viewed 583 times
TTDpatch Developer 2005 - 2010 ~ 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."
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."
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.
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.
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
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
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.
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.
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
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.
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.
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
TTDpatch Developer 2005 - 2010 ~ 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."
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."
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.
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
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: Select all
<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)
Last screenshot for a while,
Please feel free to add comments about it.
~ Lakie
- Attachments
-
- Two Company Colours Gui Tabs.png (182.04 KiB) Viewed 558 times
TTDpatch Developer 2005 - 2010 ~ 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."
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."
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
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
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!
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!
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
Lakie, will you write a gui for newroutes?
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
- SuperTycoon
- Chief Executive
- Posts: 733
- Joined: 24 Jun 2004 20:05
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
Lakie, will you eventually write all the various improvements I want made to the scenario editor?
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
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.
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.
~ Lakie
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.
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.
~ Lakie
TTDpatch Developer 2005 - 2010 ~ 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."
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."
Who is online
Users browsing this forum: No registered users and 25 guests