NIMBY Rails

NIMBY Rails

评价数不足
Track Catenary
   
奖励
收藏
已收藏
取消收藏
CONSTRUCTION: Buildings
文件大小
发表于
更新日期
187.495 KB
9 月 13 日 下午 11:30
9 月 18 日 上午 2:30
3 项改动说明 ( 查看 )

订阅以下载
Track Catenary

描述
This mod provide some basic catenary element for your track.

The default setting for Midtrack and Extenedable assets require track parallel offset of 4 meters, it should automatically centered to double-track railways, the extenedable assets can drag to continue extend more.

##Update 9/17##
Stretchable:
Only spawn 1 pole for each section of assets, this require more work to place them.
The sample way to placing them, attach the assets to track, drag for width 30-50m (distance between each pole in real life), check Building Properties for "Start t" or "End t", Like "End t" : 0.2, attach a new pole to the same track, type "Start t" as 0.2 then drag, repeat.

##Update 9/18##
More recognizable wires.
A sign to indicate the wires are powered or power cut.
4 条留言
Tenma_4suka  [作者] 9 月 17 日 上午 7:48 
The layer for building are not enough, it's been mentioned many times on Discord.
If there's more layers WaW have updated, I will change the setting.

border_x=60 means lock the pixel from both left and right with images of 60 pixels, only the center 8 pixels can be dragged.
sascha.pascal 9 月 17 日 上午 6:56 
Well, the player could still get rid of that problem by putting the roof on another layer, A building on layer 1 will always overlap a building on ground level, also the roof ones. Roof only means that the building will be on the layer it is build over tracks and trains. I have put my Roofs normally 1 layer over the the catenary and all was fine.

My tips were mostly about that with my trick you could have it that the poles of the catenary will not appear every 5 meters. Normally catenary poles are between 25-60m apart from each other. As your catenary and poles are not the same building, you could easily implement my trick with putting the catenary poles in your texture files on the left side and then with the rule_x=stretch and border_x=60 the pole wouldn't be stretched, but only the right part of your image (which is just empty.) The rule_x=stretch are important, because the standard rule is repeat.
Tenma_4suka  [作者] 9 月 17 日 上午 4:52 
@sascha.pascal Update it as a independent building assets, but I keep the default draw layer as floor (Over track), consider that if player would have time to place catenary, they probably have their station roofed or other assets over tracks.
sascha.pascal 9 月 16 日 下午 10:48 
Hey Tenma,
I have a suggestion for you. Because I also have made a catenary mod in the past, but with one important difference: Unlike your catenary my only spawns one pole per track part, so that when you for example make 30 or 50m long track parts you will get the typical distance of catenary poles.
The way I did it quite "simple":

First of all the texture needs to have a specific way to be drawn: the catenary pole needs to be on the left side of the image, the first 64 pixels of the 128 pixel image. The best is to have it at the 1/4 position, so that you have some slack left of the catenary.

Then you need to put specific features into your mod file for each catenary:

rule_x=stretch
border_x=60

(also make your default_draw_layer=roof to avoid trains driving over your catenary)

with this trick you will not have the problem that the catenary poles repeat itself every 5 meter.
yours Sascha