A tutorial telling you how to use TAT for your own mods
⚠ Latest Version of TAT is 0.1.1 ⚠
Acknowledgement
Earlier versions of TAT features are always included in later versions therefore you don’t have to update previous vehicles for new TAT
File Location
After you subscribed TAT, you can go to here… steamapps\workshop\content\1167630\2414729430 …then copy whole folder to your mod folder, that’s much easier to access
Usage — Get Start
To use TAT, first you need to have a copy of TAT in your mod folder
You can put anywhere you like But remember: folders includes TAT must not include space when naming
Good
ThisIsAFolder
Bad
This is a folder
Besides TAT, you need 5th wheel.vox to make your vehicles able to cooperate with others’ If you are making a special / unique version then you don’t have to have this file
I think I don’t need to give you much instructions at this section but there are some basic points to follow if you want your truck able to cooperate with others’ trailers correctly
DO NOT CHANGE ANYTHING in 5th wheel.vox
make back of your truck not higher than 11 voxs in Magica as shown below
Leave enough room for trailers therfore they can move freely maybe more than 40 voxs can fit most trailers you can use data of real world trucks as references
Trailers
Types of Trailer Supported
Basic Semitrailer examples: (left to right) Enclosed & Refrigerated ; Lowboy ; Flatbed ; Step Deck ; Liquid This should be easy if you’re ETS2 player
I think I don’t need to give you much instructions at this section but there are some basic points to follow if you want your truck able to cooperate with others’ trucks correctly
DO NOT CHANGE ANYTHING in 5th wheel.vox
make the part of bottom of foundation which need to connect truck at 12 voxs high in Magica and also have a flat bottom as shown below
Leave enough room for trucks therfore they can move freely maybe more than 40 voxs can fit most trailers you can use data of real world trailers as references
Usage — Editing in Editor
trucks
Make sure your truck is finished except anything relate to TAT
Place the group called ” TAT4Truck ” as a children of truck foundation (or main body)
Move ENTIRE TAT4Truck group horizontally and make sure it’s less than around 25 voxs from back end of truck, It doesn’t need to be that accurate but you need to make sure trailer won’t hit cabin of truck
Move ENTIRE TAT4Truck group vertically and make sure the model it’s one vox higher than top of foundation
Add a script to contain your ” truck [vehicle] ” part
Add ” connected=true ” to param0 in script if you want your truck start with connected (leave empty is disconnected)
Add other tags / parameters required or supported by TAT
Don’t forget to save
trailers
Make sure your trailer is finished except anything relate to TAT
You can move location of player far away from trailer to get rid of “Riding a Trailer” notice: you cannot use “nodrive” for trailers since this disables braking, steering and lights as well
Place the group called ” TAT4Trailer ” as a children of truck foundation (or main body)
Move ENTIRE TAT4Trailer group horizontally and make sure it’s less than around 20 voxs from front end of trailer, It doesn’t need to be that accurate but you need to make sure trailer won’t hit cabin of truck
Move ENTIRE TAT4Trailer group vertically and make sure the model have EXACTLY one vox overlaps foundation of trailer
Add a script to contain your ” trailer [vehicle] ” part
Add ” connected=true ” to param0 in script if you want your trailer start with connected (leave empty is disconnected)
Add other tags / parameters required or supported by TAT
Don’t forget to save
Usage — Scripts
Find scripts you added to truck / trailer moment before
add this… #include "........./TAT.lua"…to start of your script example
NOTICE: dots above refers to your file path, DO NOT put these dots to your script
For writing path of files in lua, these points following are what you need to know
../refers to ” Go to previous folder
folderName/refers to ” Go to folder named as ‘folderName’ “
If folder name includes space (and maybe some special characters & punctuation as well) your path can never be correct so please use letters only
Finish setup functionfunction init() ---- this is setup functioncheck TAT library to see what is required (and supported) for setup You can also write your own setup functions as the same time
Finish main functionsfunction tick(df) function update() ---- these are main functionscheck TAT library to see what is required (and supported) for main functions You can also write your own main functions as the same time
Save your progress
Usage — Testing
Run your truck / trailer in Teardown to see if they’re working properly
If everything goes OK then you’ve finished! Hooray!
If you find something wrong and cannot fix that, you’re welcome to ask me (or maybe someone else) for help
Beacuse collection cannot be edited by everyone while for Discussion everybody can leave a comment (I don’t think someone would spend lots of time collecting ALL TAT vehicles and put into a collection, at least I’m not going to do like that)
TAT Brief Library
For full library list please open TAT.lua on your pc
This is all about Teardown – TAT User Guidance; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!
Leave a Reply