Differences

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

Link to this comparison view

addattacher [2017/05/24 14:27]
addattacher [2017/05/24 14:27] (current)
Line 1: Line 1:
 +====== How To Add A Front Attacher To A Vehicle. ======  ​
  
 +Game Version: ​     \\
 +Programs required: ​
 +----
 +
 +[[modding_tutorials|Modding Index]] | [[vehicle_modding|Vehicle Tutorials]]
 +
 +----
 +
 +===== Tutorial Intro =====
 +
 +I had trouble trying to add a front attacher to a truck to use with the attachable 3 point hitch hosted on here so i could hook up a plow to my truck to plow snow. A wonderful fella- Marxtai helped me sort my problem and it turns out other users had the same questions. So ill pass on my knowledge here.
 +
 +===== Prep Work =====
 +
 +
 +
 +===== Full Details =====
 +
 +Hello All,
 +
 +I will be showing you how to add a front attacher to a truck or any vehicle here so you can attach the attachable 3 point hitch located here:
 +
 +[url]http://​fs-uk.com/​mods/​view/​33104[/​url]
 +
 +First you want to locate the zip file of the mod you would like to add the attacher to. After that open it and copy and paste all contents into a new folder:
 +[img width=500]http://​s29.postimg.org/​s34si1daf/​Capture1.png[/​img] ​
 +
 +I  have added the contents of my zip file into a new unpopulated folder.
 +
 +The next step is to locate a tractor or other mod with a front attacher you want to put on your vehicle. For this i will use a front attacher from a john deere tractor. To do this you must copy and paste the contents of the zip file of the vehicle with the attacher you desire to another new folder:
 +
 +[img width=500]http://​s23.postimg.org/​zapvmod8r/​image.jpg[/​img]
 +
 +After this open the i3d file located in the folder you just created and then select the object or attacher you would like to put on your vehicle, as you can see i have already selected mine in the scenegraph:
 +
 +[img width=500]http://​s17.postimg.org/​8syzglkjj/​Capture3.png[/​img]
 +
 +The next step is to export the selected object by going to: File=>​Export Selection. You want to navigate to the folder you created with the vehicle you want to edit's files in it: 
 +
 +[img width=500]http://​s28.postimg.org/​fkgc8k3ul/​Capture4.png[/​img]
 +
 +And name the exported file to hitch or something of that sort and hit ok. You now want to locate a "​frontAttacher"​ joint or something similar in the scenegraph of the vehicle that you "​stole"​ the hitch from and export that the same way you exported the hitch itself. After this close the GE window and open the i3d file of the vehicle you are editing:
 +
 +[img width=500]http://​s10.postimg.org/​dw31s4x7t/​Capture5.png[/​img]
 +
 +And you want to go to: File=>​Import and locate the two i3d files you previously exported to your folder:
 +
 +[img width=500]http://​s18.postimg.org/​6tdsbh3fd/​Capture6.png[/​img]
 +
 +And hit open, your scenegraph should now look like this:
 +
 +[img width=500]http://​s29.postimg.org/​ct18zuq9v/​Capture7.png[/​img]
 +
 +Now you want to position the attacher and the hitch on the truck. The hitch should be easy but the attacher joint will take some trial and error to get in the right place. Once you think youve got them both positioned where they should be cut and paste them into the the top item on your scenegraph, it should look like this now:
 +
 +[img width=500]http://​s23.postimg.org/​nm2don7kb/​Capture8.png[/​img]
 +
 +Also take note on the index node of the two files you imported you will need them for the next step. For example mine are: For frontTrailer:​ 0>20 and "​transform":​ 0>21.
 +
 +Now open your vehicle.xml file in notepad and add:
 +[img]http://​s27.postimg.org/​dsqmst7jn/​Capture9.png[/​img] ​
 +
 +Notice how i the "<​trailerAttacherJoints>"​ section is underneath the     "<​AttacherJoints>"​ section some mods wont have a trailerAttacherJoints section so you will have to add it underneath the regular AttacherJoints section if it is not already there. After this save your xml and exit notepad. Make a new zip file on your desktop and copy and paste your contents of your folder into the new zip file and place the zip file in your mods folder.
 +
 +[img width=500]http://​s9.postimg.org/​9kzwlfn2n/​fs_Screen_2014_01_04_10_39_47.png[/​img]
 +
 +Note: If this does not work and you have followed all steps correctly it is almost gauranteed that your attacherJoint is facing the wrong angle for this mod i had to set the angles as follows: X: 90 Y:-90 Z: -90. This requires some modding knowledge and lots of patience. I hope that i have helped some or many of you.
 +
 +----
 +
 +Original Author: ​ Wolf  | Date: January 04, 2014
 +        ​
 +[[modding_tutorials|Modding Index]] | [[vehicle_modding|Vehicle Tutorials]]\\
 +
 +{{:​fsukwiki.png?​nolink&​200 |}}