The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Dwachs on May 13, 2010, 08:23:08 pm

Title: [Patch] timeline for powerlines
Post by: Dwachs on May 13, 2010, 08:23:08 pm
Intro/retire dates are defined for powerlines already. However, only one powerline object is used all the time. This patch enables the use of more powerline objects (for different times, different types etc).
Title: Re: [Patch] timeline for powerlines
Post by: VS on May 13, 2010, 09:37:38 pm
Thanks! Yet another place where object type "monopoly" is eliminated :)
Title: Re: [Patch] timeline for powerlines
Post by: The Hood on May 13, 2010, 09:41:12 pm
Yes, thanks for this, I will aim to take advantage of it in pak128.Britain at some point...
Title: Re: [Patch] timeline for powerlines
Post by: prissi on May 13, 2010, 09:50:03 pm
This was on my todo list for four year (since I had the japanese power lines.) With the new power line patch, different capacities might be possible too.
Title: Re: [Patch] timeline for powerlines
Post by: jamespetts on May 13, 2010, 10:53:01 pm
Yes, thanks for this, I will aim to take advantage of it in pak128.Britain at some point...

I shall look forward to this!
Title: Re: [Patch] timeline for powerlines
Post by: Dwachs on May 14, 2010, 06:20:54 am
incorporated with revision 3276.

You (as pak authors) can differentiate between different levels of powerlines with the help of the topspeed: by default powerlines are built on top of other powerlines with lower topspeed (as it is for ways).
Title: Re: [Patch] timeline for powerlines
Post by: The Hood on May 14, 2010, 07:45:59 am
Does this timeline also include substations as well as the powerlines themselves?
Title: Re: [Patch] timeline for powerlines
Post by: VS on May 14, 2010, 08:25:14 am
It doesn't look that way...
Title: Re: [Patch] timeline for powerlines
Post by: Dwachs on May 14, 2010, 09:26:08 am
Does this timeline also include substations as well as the powerlines themselves?
I do not understand. Do you mean these transformer stations? Then the answer is no.
Title: Re: [Patch] timeline for powerlines
Post by: The Hood on May 14, 2010, 10:46:00 am
Yes, that is what I meant.  Is there a plan to allow a timeline for these too, or am I just being greedy now?
Title: Re: [Patch] timeline for powerlines
Post by: Dwachs on May 14, 2010, 10:56:19 am
That would be a rather difficult undertaking. Right now, dat/pak-system-wise PowerSource/Dest are misc-objects, which means they can carry only information about names and authors, and have a continuous list of images. Any attempt to create intro/retire dates etc would mean reworking the system. The changes I committed lately were rather small changes (no heavy changes in makeobj).
Title: Re: [Patch] timeline for powerlines
Post by: The Hood on May 14, 2010, 11:33:03 am
OK.  I'll cope :)

I don't think it's a major priority.
Title: Re: [Patch] timeline for powerlines
Post by: prissi on May 14, 2010, 09:17:06 pm
The biggest problem are currently crossings between different powerlines. They are really not matching.