Page 1 of 4

Two Company Colours GUI (Work In Progress)

Posted: 08 Dec 2005 01:25
by Lakie
Hi,

I decided to show you all what I've been working on for patchman's Two Company Colours patch.
So What do you think? and any comments on how to make it more user friendly / easier to use?
(Lastest shot at the bottom of post)

Current Development Issues:-
Currently it crashes if you clich the colour scheme button in the company window when the window is open.
Window is not destroyed when company window closed. (Same with when managing another company).
Doesn't limit choice of First colour entries.

Hopefully, over the next few weeks, I'll be able to solve these. :D


Archive of development:-
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5


~ Lakie

Posted: 08 Dec 2005 01:32
by PikkaBird
Nice! :D Told you you'd find a stylish yet simple way of doing it. :)

Posted: 08 Dec 2005 09:44
by Menno
very nice! (but notice that diesel is writtten diesel and not desiel in screenshot 4;))
one thing: how can I use it in vehicles? (i.e. which colour from the standard TT colour palette is now the second company colour?)

Posted: 08 Dec 2005 13:45
by lobster
awesome! now let's hope there'll be a lot of sets supporting it.

Posted: 08 Dec 2005 14:12
by DaleStan
Menno wrote:(i.e. which colour from the standard TT colour palette is now the second company colour?)
http://wiki.ttdpatch.net/tiki-index.php ... oordinates

Posted: 08 Dec 2005 15:22
by Patchman
I propose the following options:
  • Steam train
  • Diesel train
  • Electric train
  • Monorail/maglev train
  • Passenger train
  • Freight train
  • Bus/Tram
  • Truck
  • Passenger ship
  • Freight ship
  • Aircraft
Each entry should have a checkbox to enable the selection. If unchecked, the global settings are used instead.

For the train ones, each should also have a checkbox saying "Apply to locomotive only". If that's not checked, the whole steam train will get the given colour scheme, no matter whether it's passenger or freight, but if it's checked, the passenger/freight setting will apply to the wagons.

Posted: 08 Dec 2005 15:39
by Hyronymus
Isn't that an expanded Lomo-approach for assigning vehicle colours? The level at which you could specify colour schemes in Lomo was very adequate to me.

Posted: 08 Dec 2005 16:02
by Patchman
I don't remember how the Locomotion scheme worked, but this way gives people the option to colour either by engine type (steam/diesel/electric) or by train type (passenger vs. freight).

Maybe the "apply to loco only" option is a bit overkill, but the rest seems useful to me.

Posted: 08 Dec 2005 18:49
by Lakie
PikkaBird
Yes, Sorry about not persuing your idea, but I found it too complex for me. :(
I find the Locomotion Style far more simple and effective.

Menno
Yeah, I've been fixing typing errors in thew strings it uses while developing it.
From what I remember i think it's 80-87 in the ttd palette for the second company colour, also you need to set a bit in the vehicle's action0.

astath
Yeah, I hope many sets will begin to use Company Colours again, Always been fond of Company Colours vehicles.

Hyronymus
Yes, it's based off the locomotion design since I consider that towards the most user friendly gui. :D

Patchman
So the list would be?
* Global Colour Scheme (For when they are not checked)
* Steam train
* Diesel train
* Electric train
* Monorail
* Maglev train (Since I like having them as sperate rails when possible)
* Passenger train
* Freight train
* Bus/Tram
* Truck
* Passenger ship
* Freight ship
* Aircraft


And you want check boxes. (I think they can be added to the gui)
I'll try to change my prototype to add what you want whilest cleaning up the code since it's quite a big mess now, and trying to fix the bugs it has. :)

~ Lakie

Posted: 08 Dec 2005 22:18
by Illegal_Alien
Locomotion make a differens between:


Diesel
Steam
Electric (Caternary/3rd rail)
EMU/DMU
Passengers (Including the high speed trains)
Freight
Bus (and tram)
Ships
Aircraft

And that what i currently know out of my head :)

Posted: 08 Dec 2005 22:48
by Lakie
Well, this isn't Locomotion, so the different classes can be chosen by patchman.
Also why conform to Chris Sawyer's setup, when we can make a new setup to suit ttdpatch? :D

~ Lakie

Posted: 08 Dec 2005 22:55
by Illegal_Alien
I know its just a little side info :)

Posted: 08 Dec 2005 23:17
by PikkaBird
Lakie, I can only comment on what I know from researching trains in the UK and Queensland.

Firstly, locomotives often have different liveries depending on whether they are mainly used for passenger services, or mainly used for freight/mixed traffic. This is especially the case with steam locomotives, but also applies to diesels and electrics.

However, I think that these differences can be made by the graphics creator, rather than needing explicitly different colour schemes.

Secondly, the passenger/freight wagon livery is completely unrelated to the locomotive livery (eg, in the 1960s in the UK, the diesel locomotive livery was dark green, passenger carriages were red and cream, and freight wagons were brown - in the same period in Queensland, diesels were blue, passenger cars were red, and wagons were black). Obviously this doesn't apply to MUs, special train sets etc - this can probably be got around in TTDP by making wagons take the colour scheme of the locomotive if a wagon override is used?

Also, MUs (in TTD terms, any train which carries passengers/mail in the "locomotive") often have a completely different livery from either regular Locomotives, or from locomotive-hauled passenger cars.

So my personal "wishlist" of options would be
  • Steam loco
  • Diesel loco
  • Electric loco
  • Passenger wagon
  • Freight wagon
(where "Passenger wagon" includes mail vans, etc)
  • Monorail
  • Maglev
Do monorails and maglevs need seperate colours for their wagons? Probably not.
  • Bus/Tram
  • Truck
  • Ship
  • Aircraft
There was another idea I had, but I'll save that for IRC.. I don't want to get people excited in case it turns out to be not possible. ;)

Posted: 09 Dec 2005 09:55
by Hyronymus
PikkaBird wrote:There was another idea I had, but I'll save that for IRC.. I don't want to get people excited in case it turns out to be not possible. ;)
Aww, that's too bad. Now we have to torture you :D.

Posted: 09 Dec 2005 17:13
by Patchman
PikkaBird wrote:this can probably be got around in TTDP by making wagons take the colour scheme of the locomotive if a wagon override is used?
Yes, that should be possible.

I think I agree with your list, although you didn't list DMUs/EMUs separately. Was that intentional? As you say, they usually have an entirely separate colour scheme, so they should be a separate option as well. I'm not sure if we need one or two options (one for DMUs and one for EMUs or a combined one).

Posted: 09 Dec 2005 18:24
by Rob
YES !! AWESOME !! :shock:
I realy like this. I always play with company colours, if possible.
And I specially like the option to give my freight trains different colour sheme then the passenger trains.

The coloured selection signs in the attached image is a neat thing too.
This way you can immediatly see what colour is selected. :D
PikkaBird wrote:Firstly, locomotives often have different liveries depending on whether they are mainly used for passenger services, or mainly used for freight/mixed traffic. This is especially the case with steam locomotives, but also applies to diesels and electrics.

However, I think that these differences can be made by the graphics creator, rather than needing explicitly different colour schemes.
I agree, but I think that you should still be able to override this by slecting your own colours if you want too.

Posted: 09 Dec 2005 23:18
by PikkaBird
Patchman wrote:I think I agree with your list, although you didn't list DMUs/EMUs separately. Was that intentional?
Oops.

Yeah, there were supposed to be entries for MUs in there too. :)

Posted: 09 Dec 2005 23:25
by George
Is it possible to apply 2 company colours to sprite 3097 replaced with action A?

Posted: 09 Dec 2005 23:55
by Patchman
2CC only works for vehicles and buildings.

Posted: 10 Dec 2005 00:09
by George
Patchman wrote:2CC only works for vehicles and buildings.
would it be possible to apply it to that sprite directly? (always?)