Didn't know if this topic has been solved or just no one gave a **** anymore, so heres a way i added my police3
In OpenIV add the file into the vehicles.img, make sure to rename the files to "police3".
I recommend using notepad++ to edit these files
notepad would just be a pain to use.
4 files are needed to be edited :
handling.dat
vehicles.ide
cargrp.dat
carcols.dat
all files are located in the Grand Theft Auto IVcommondata folder
MAKE BACKUPS OF THESE FILES BEFORE CONTINUING
vehicles.ide
In vehicles.ide copy police2 and paste below it and edit the first 4 words to this.
The first word is the Model Name (e.g. police3.wft) and the second one is the Texture file name(eg police3.wtd), third is the type of vehicle. Fourth is the name given to its handling info in the
Example:
police2, police2, car, POLICE2, POLICE2, VEH@STD, VEH@STD_RI1, 100, 999, 0.2348, 0.2348, 0.2, 2, 1.0 ,1, ext_requi+ext_strong+livery
police3, police3, car, POLICE3, SULTAN, VEH@STD, VEH@STD_RI1, 100, 999, 0.2365, 0.2365, 0.7, 2, 1.0 ,1, ext_gang+ext_strong+livery
at the moment don't worry about the numbers they just relate to the dirt on the car, wheel radius and the frequency of seeing the car.
Once vehicles.ide has been edited save it and open handling.dat
handling.dat
In handling.dat paste the handling info of the car you are adding below POLICE2 then rename it to POLICE3.
Save handling.dat and go to cargrp.dat
cargrp.dat
In cargrp.dat find police2 and add police3, next to it
the line should look like this
police, police2, police3, polpatriot, noose, predator, pstockade, nstockade, fbi # POPCYCLE_GROUP_COPS
editing this file ensures that you don't see civilians driving the police car around, it groups specific cars to groups of people.
Save cargrp.dat and open carcols.dat
carcols.dat
This file just handles the default colors that the car gets spawned with. Find police2 copy and paste below it, then change the name to police3. If you like a specific color for the car to be spawned with use the col table they have at the top of the file.
it looks like this:
col
#BLACK's
10,10,10,-,black # 0 black
37,37,39,-,black # 1 black poly
if you want black to be one of the defaults copy " 10,10,10, " and paste it next to the other set of numbers in police3 that segment should look like this
police2, 113,74,113,
police3, 113,74,113, 22,34,72, 10,10,10,
make sure you have a comma at the end of the line
Save carcols.dat
Adding it to the trainer
In trainer.ini(located in the main GTAIV folder) find the Added Cars section
//Added Cars //
[AddedCars]
edit Enable1=0 to Enable1=1
change ModelName1= turismo to ModelName1=police3
and then change DisplayName1 = Car 1 to the Cars name
it should look similar to this
//Added Cars //
[AddedCars]
Enable1=1
ModelName1=police3
DisplayName1=Police Commodore SS
Save trainer.ini
Open up GTA IV, go into the trainer and spawn the new car in the added car section on the last page, then have some fun!!!