Teardown – TAT User Guidance

Teardown – TAT User Guidance 1 - steamlists.com
Teardown – TAT User Guidance 1 - steamlists.com
A tutorial telling you how to use TAT for your own mods

 
 

⚠ Latest Version of TAT is 0.1.1 ⚠

 
 
 
 

Acknowledgement

  1. 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 
 

GoodThisIsAFolder
BadThis 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 
 
You can use YLVF (YuLun’s Vehicle Framework) at the same time to reduce your amount of work if you want to have: 

  • tilt cabin 
  • hood 
  • controlled lights (not supported in YLVF 0.1) 
  • doors 
  • etc.

 
You can subscribe this sample map to help you make progress 
(everything mentioned above included in sample map) 
https://steamcommunity.com/sharedfiles/filedetails/?id=2414735882″ target=”_blank”>https://steamcommunity.com/sharedfiles/filedetails/?id=2414729430″ target=”_blank”>https://steamcommunity.com/sharedfiles/filedetails/?id=2414735882 at the same time to reduce your amount of work if you want to have: 

  • tilt cabin 
  • hood 
  • controlled lights (not supported in YLVF 0.1) 
  • doors 
  • etc.

 
You can subscribe this sample map to help you make progress 
(everything mentioned above included in sample map) 

 
 

Usage — Modelling

 

Trucks

Types of Trucks Supported 

 
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 

  1. DO NOT CHANGE ANYTHING in 5th wheel.vox 
     
  2. make back of your truck not higher than 11 voxs in Magica as shown below 
     
    Teardown - TAT User Guidance 
     
  3. 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
     
    Teardown - TAT User Guidance 
     
    Teardown - TAT User Guidance 
     
    Teardown - TAT User Guidance 
     
    Teardown - TAT User Guidance 
     
    Teardown - TAT User Guidance 

 
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 

  1. DO NOT CHANGE ANYTHING in 5th wheel.vox 
     
  2. 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 
     
    Teardown - TAT User Guidance 
     
  3. 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

  1. Make sure your truck is finished except anything relate to TAT 
     
  2. Place the group called ” TAT4Truck ” as a children of truck foundation (or main body) 
    Teardown - TAT User Guidance 
     
  3. 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 
    Teardown - TAT User Guidance 
     
  4. Move ENTIRE TAT4Truck group vertically and make sure the model it’s one vox higher than top of foundation 
    Teardown - TAT User Guidance 
     
  5. Add a script to contain your ” truck [vehicle] ” part 
    Teardown - TAT User Guidance 
     
  6. Add ” connected=true ” to param0 in script if you want your truck start with connected 
    (leave empty is disconnected) 
    Teardown - TAT User Guidance 
     
  7. Add other tags / parameters required or supported by TAT 
     
  8. Don’t forget to save

 
 

trailers

  1. Make sure your trailer is finished except anything relate to TAT 
     
  2. 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 
    Teardown - TAT User Guidance 
     
  3. Place the group called ” TAT4Trailer ” as a children of truck foundation (or main body) 
    Teardown - TAT User Guidance 
     
  4. 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 
    Teardown - TAT User Guidance 
     
  5. Move ENTIRE TAT4Trailer group vertically and make sure the model have EXACTLY one vox overlaps foundation of trailer 
    Teardown - TAT User Guidance 
     
  6. Add a script to contain your ” trailer [vehicle] ” part 
    Teardown - TAT User Guidance 
     
  7. Add ” connected=true ” to param0 in script if you want your trailer start with connected 
    (leave empty is disconnected) 
    Teardown - TAT User Guidance 
     
  8. Add other tags / parameters required or supported by TAT 
     
  9. Don’t forget to save

 
 
 
 

Usage — Scripts

  1. Find scripts you added to truck / trailer moment before 
     
  2. add this… 
    #include "........./TAT.lua"…to start of your script 
    example 
    Teardown - TAT User Guidance 
     
    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 
     

  3. 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 
     
  4. 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 
     
  5. 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 
 
 
 

Publish & Share

You can put the link of your truck / trailer to this https://steamcommunity.com/workshop/filedetails/discussion/2414735699/3108018684251325593 which is specialized for TAT vehicles 
 
Why Discussion Branch? Why not a Collection? 
 
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 
 

Function

Discription

TATsetupTruck()

setup a truck for TAT

TATsetupTrailer()

setup a trailer for TAT

TATforTruck()

main truck function for TAT

TATforTrailer()

main trailer function for TAT

  • Include leg controlling

 
 

Written by YuLun

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!