Difference between revisions of "Vehicle Mod Installation"

From GTAMods Wiki
Jump to navigation Jump to search
(cleaned up the stuff)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{tutorial-stub}}
+
__NOTOC__
Two main tools are required for a typical vehicle mod for any of the 3D GTA trilogy.
+
Two main tools are required for a typical [[vehicle]] mod for any of the 3D GTA trilogy.
  
* An IMG editing tool.
+
* An [[IMG#Tools|IMG editing tool]]
* A text editing tool (eg. Notepad, packaged with MS Windows).
+
* Any text editing tool
  
Note that not all released IMG editing tools work with every GTA. It is recommended you find the very latest release of a program in order for it to work with the latest games. Always read the readme.
+
The [[Rules_of_Modding|standard operating procedure]] is to first back up any and all files being edited.
  
Some common IMG editing programs are:
+
===Step 1: DFF and TXD===
 +
Navigate to the "models" folder of your GTA install and open [[gta3.img]] with your IMG editor.
  
* [[IMG Tool]]
+
Find the model file of the vehicle you are replacing. Look in your [[default.ide]] file for more information regarding specific model names. We will be replacing the Linerunner. Once you find "linerun.dff", right click it and choose "delete". Do the same for the "linerun.txd" file.
* [[ImgEd]]
 
* [[Spark]]
 
  
You can find them in the [http://www.gtagarage.com/mods/browse.php?C=54 Tools section of GTAGarage].
+
Choose "add" and add the dff and txd that came with the mod. Make sure they are named correctly, in this case "linerun.dff" not "linerunner.dff". If the IMG editor have an option to rebuild the archive on demand, use this option and wait until it is finished.  
  
These IMG editing tools are used to edit the [[IMG archive]]s specifically.
+
In case you're doing it for GTA III, also open "[[txd.img]]" with your IMG editor. Navigate to "linerun.txd" and delete it. Add the file that came with the mod and rebuild the archive.
  
Though MS Notepad is sufficient for editing the [[Vehicle Formats]], you can also use any other simple text editing program. Several can be found simply [http://www.google.co.uk/search?q=text+editor searching Google]. However, you can also find tools specifically designed for editing a particular file, such as [http://projectcerbera.com/apps/cfgstudio.html CFG Studio] for the [[Handling.cfg]].
+
Make sure that "read-only" is unchecked for your entire installation folder, or other errors may occur.
  
Also, the special mod-installer tools exist, that make the process of installing mods way easier:
+
===Step 2: Carcols.dat===
* [[GGMM|GTAGarage Mod Manager]]
+
If the readme file does not specify any changes to the [[carcols.dat]] file, skip this step. Not all models have new car colors. Open carcols.dat in your data folder with a text editor.
* [[SAMI|San Andreas Mod Installer]]
 
  
 +
Change the car's colors by pasting new lines next to its entry towards the bottom of the file. The first number is the primary color and the second is the secondary color - see [[Carcols.dat#CAR|here]] for more info.
  
{{SA-navi}}
+
If you need to add new colors, paste them underneath the last entry on the top of the file. Make sure their number does not match a previous color - see [[Carcols.dat#Adding_new_colours|here]] for more info on this.
[[Category:GTA_VC]][[Category:GTA_3]][[Category:Mod_Installation]]
+
 
 +
===Step 3: Default.ide===
 +
You may need to change the [[default.ide]] line for a car. Find the car's entry in the default.ide and paste the information specified in the readme file. You may simply receive instructions to change the wheel size to a certain number - change the last number in the entry.
 +
 
 +
===Step 4: Handling.cfg===
 +
This entry dictates how your car will handle when you drive it. Most mods will have a readme with a handling entry - simply paste this entry over the old one. Customization is possible but difficult - see [[handling.cfg|here]] for more info.
 +
 
 +
==External link==
 +
* {{Icon|3}} {{GTAF|296678|Easy way to install car mods}} – a tutorial by {{U|gtamodder}}
 +
 
 +
{{N|SA|VC|3}}
 +
[[Category:Mod_Installation]]

Latest revision as of 18:18, 4 March 2015

Two main tools are required for a typical vehicle mod for any of the 3D GTA trilogy.

The standard operating procedure is to first back up any and all files being edited.

Step 1: DFF and TXD

Navigate to the "models" folder of your GTA install and open gta3.img with your IMG editor.

Find the model file of the vehicle you are replacing. Look in your default.ide file for more information regarding specific model names. We will be replacing the Linerunner. Once you find "linerun.dff", right click it and choose "delete". Do the same for the "linerun.txd" file.

Choose "add" and add the dff and txd that came with the mod. Make sure they are named correctly, in this case "linerun.dff" not "linerunner.dff". If the IMG editor have an option to rebuild the archive on demand, use this option and wait until it is finished.

In case you're doing it for GTA III, also open "txd.img" with your IMG editor. Navigate to "linerun.txd" and delete it. Add the file that came with the mod and rebuild the archive.

Make sure that "read-only" is unchecked for your entire installation folder, or other errors may occur.

Step 2: Carcols.dat

If the readme file does not specify any changes to the carcols.dat file, skip this step. Not all models have new car colors. Open carcols.dat in your data folder with a text editor.

Change the car's colors by pasting new lines next to its entry towards the bottom of the file. The first number is the primary color and the second is the secondary color - see here for more info.

If you need to add new colors, paste them underneath the last entry on the top of the file. Make sure their number does not match a previous color - see here for more info on this.

Step 3: Default.ide

You may need to change the default.ide line for a car. Find the car's entry in the default.ide and paste the information specified in the readme file. You may simply receive instructions to change the wheel size to a certain number - change the last number in the entry.

Step 4: Handling.cfg

This entry dictates how your car will handle when you drive it. Most mods will have a readme with a handling entry - simply paste this entry over the old one. Customization is possible but difficult - see here for more info.

External link