User Tools

Site Tools


usage:tools:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
usage:tools:start [2023-12-12 03:03]
blockhead Blue->blue
usage:tools:start [2023-12-12 03:39] (current)
blockhead [Train copy/paste tool] doesn't do inventories
Line 1: Line 1:
-===== Tools ======+======= Tools ======= 
 + 
 +There are 4 main tools included with Advtrains, the 3 "sonic screwdrivers" and the [[#train_copy_paste_tool|train copy/paste tool]]. Other mods may include further tools, such as Livery Tools and DlxTrains. 
 + 
 +====== The sonic screwdrivers ======
 These 3 tools are used for special purposes such as laying track, setting up components for atlatc and inspecting locks for the interlocking system. There are no crafting recipes for any of these tools, and you will need the right privileges to use any of them except the trackworker. These 3 tools are used for special purposes such as laying track, setting up components for atlatc and inspecting locks for the interlocking system. There are no crafting recipes for any of these tools, and you will need the right privileges to use any of them except the trackworker.
  
 Blockhead likes to call them names according to their colours, so: blue screwdriver, red screwdriver & green screwdriver. You know you've used a lot of Advtrains if you've used all 3 screwdrivers! Blockhead likes to call them names according to their colours, so: blue screwdriver, red screwdriver & green screwdriver. You know you've used a lot of Advtrains if you've used all 3 screwdrivers!
 +
 ===== Trackworker ===== ===== Trackworker =====
-[[usage:tools:trackworker|{{:usage:tools:trackworker128.png?nolink&64|}}]]+{{:usage:tools:trackworker128.png?nolink&64|}}
  
 The trackworker rotates track and changes its type. To use, look at the track you want to change and click on it. The trackworker rotates track and changes its type. To use, look at the track you want to change and click on it.
Line 19: Line 24:
 The trackworker is not useful outside of the Advtrains mod as a general purpose rotation tool like the screwdriver. The trackworker is not useful outside of the Advtrains mod as a general purpose rotation tool like the screwdriver.
 ===== Passive Component Naming Tool ===== ===== Passive Component Naming Tool =====
-[[usage:tools:pcnamer|{{:usage:tools:pcnamingtool128.png?nolink&64|}}]]+{{:usage:tools:pcnamingtool128.png?nolink&64|}}
  
 This tool is used to help set nice names for passive //and active// components for the [[usage:atlatc:start|LuaAutomation system]]. You can name signals, turnouts, operation panels, LuaATC mesecon controllers and possibly more. This tool is used to help set nice names for passive //and active// components for the [[usage:atlatc:start|LuaAutomation system]]. You can name signals, turnouts, operation panels, LuaATC mesecon controllers and possibly more.
Line 30: Line 35:
  
 ===== Interlocking Tool ==== ===== Interlocking Tool ====
-[[usage:tools:interlocking|{{:usage:tools:interlockingtool128.png?nolink&64|}}]]+{{:usage:tools:interlockingtool128.png?nolink&64|}}
  
 This tool is used to help inspect and manually place locks for the [[usage:interlocking:start]]. To use it, right-click on turnouts or signals. It will open a formspec that tells you whether there is a lock applied to that component and where that lock came from. This tool is used to help inspect and manually place locks for the [[usage:interlocking:start]]. To use it, right-click on turnouts or signals. It will open a formspec that tells you whether there is a lock applied to that component and where that lock came from.
Line 42: Line 47:
  
 {{:usage:tools:interlocker-formspec-routeset.jpg}} {{:usage:tools:interlocker-formspec-routeset.jpg}}
 +
 +
 +====== Train copy/paste tool ======
 +{{:usage:tools:copytool128.png?nolink&64|}}
 +
 +
 +The train copy/paste tool is a tool for copying and pasting entire trains at once. It can help speed up deployment of multiple trains.
 +
 +Left-clicking on a train with the tool in hand will copy the train to the clipboard. It copes the line number, routing code, inside text and outside text (the [[usage:using_stock:train_fields]]). It copies the kinds of wagons in the train and whether they are flipped around. It puts this information into the metadata of the tool itself. You can hold multiple clipboards and even rename them with something like the  [[https://forum.minetest.net/viewtopic.php?t=17482|engraving table mod]] to help keep track. The tool will not copy inventories.
 +
 +Right-clicking will paste the train on the track, with the front wagon where you click and the rest of the train proceeding backwards. You need enough track to place the train, or it will give you an error message.
 +
 +Pasting will try to place the train facing the same way as you, just like when you place individual wagons. This can involve flipping wagons around to face the right way. An algorithm is used to determine what kind of train is being dealt with and how to place it 'forward':
 +  * **Multi-unit or push-pull train**: There are wagons with motive power (is_locomotive=1) on both ends of the train, ergo locomotives or multiple unit wagons. The train will never be flipped, as it has no specific "front" and "back".
 +  * **Locomotive-hauled train**: There is only one end with a locomotive. The train will be flipped so that the locomotive is always at the front. If the locomotive points long hood forward, it will still point long hood forward.
 +  * **Rake of wagons**: There is no locomotive on either end of the train. The train will be flipped according to to which end of the train the player copies from. If the player is towards the back (wagon out of train divided by total wagons > 0.5), then the back becomes the new front. If the player is towards the front, no change.
usage/tools/start.1702346639.txt.gz · Last modified: 2023-12-12 03:03 by blockhead