Feature #3717

Better custom articulation/other callbacks

Added by oberhuemer over 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:2012-02-27
Priority:NormalDue date:
Assignee:oberhuemer% Done:

100%

Category:-
Target version:-

Description

Just choosing a middle and end is often not really enough for graphics, and manual code for everything also takes a bit of time. I'd suggest something like "artic:(<id 1>,<id 2>[<number>],<id 3>,<id 4>)" etc. in the custom_callbacks field instead of just a file name, with an extension to other callbacks definitely in order.
I'll put this under less important since it sounds like a lot to me and can be done without.


Subtasks

Bug #3745: Articulated vehicle cost, power etc. summing doesn't work...Assigned

Associated revisions

Revision 715:f2dcb1619d1f
Added by oberhuemer about 7 years ago

Feature/review: a simple version of #3717, adjust t-table with it

Revision 717:ff20eabf026f
Added by oberhuemer about 7 years ago

Cleanup: remove Britrains file, previous commit should close #3717

History

#1 Updated by Eddi over 7 years ago

just as a wild thought how it could work:
  • turn the "artic_middle" column into a "artic_pattern" column
  • fill it with values like "ab3c", which means:
    • "head is this vehicle-id"
    • "first wagon is vehicle-id+a"
    • "second, third and fourth wagon is vehicle-id+b"
    • "fifth wagon is vehicle-id+c"
  • all existing entries "0" turn into "e"
  • all existing entries "#" turn into "m#e" (where # is any number > 0)

#2 Updated by Eddi over 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Eddi

wth is a category "Frills" btw?

#3 Updated by oberhuemer over 7 years ago

  • Category deleted (Frills)

#4 Updated by oberhuemer about 7 years ago

  • Assignee changed from Eddi to oberhuemer

#5 Updated by oberhuemer about 7 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset ff20eabf026f.

Also available in: Atom PDF