Difference between revisions of "Vehicle Mod Installation"

From GTAMods Wiki
Jump to navigation Jump to search
m (Fixed link to "CFG Studio".)
(cleaned up the stuff)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
==General Procedure for GTA3, GTAVC & GTASA==
+
__NOTOC__
''This section is incomplete.''
+
Two main tools are required for a typical [[vehicle]] mod for any of the 3D GTA trilogy.
  
==Tools==
+
* An [[IMG#Tools|IMG editing tool]]
Two main tools are required for a typical vehicle mod for any of the 3D GTA trilogy.
+
* Any text editing tool
  
* An IMG editing tool.
+
The [[Rules_of_Modding|standard operating procedure]] is to first back up any and all files being edited.
* A text editing tool (eg. Notepad, packaged with MS Windows).
 
  
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.
+
===Step 1: DFF and TXD===
 +
Navigate to the "models" folder of your GTA install and open [[gta3.img]] with your IMG editor.
  
Some common IMG editing programs are:
+
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.
  
* [[IMG Tool]]
+
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.
* [[ImgEd]]
 
* [[Spark]]
 
  
You can find them in the [http://www.gtagarage.com/mods/browse.php?C=54 Tools section of GTAGarage].
+
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.
  
These IMG editing tools are used to edit the GTA IMG [[Archive]] specifically.
+
Make sure that "read-only" is unchecked for your entire installation folder, or other errors may occur.
  
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]].
+
===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.
  
{{tutorial-stub}}
+
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.
[[Category:Mod_Installation]][[Category:GTA_VC]][[Category:GTA_SA]][[Category:GTA_3]]
+
 
 +
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.
 +
 
 +
===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