Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (84,864 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

mataanjin

Add New Car GTA IV

Recommended Posts

mataanjin

i'll explain about adding a new car in GTA IV

 

files you need from IV:

 

carcol.datcargrp.datdefault.datgta.datimages.txt

 

 

others file:

 

a new car file(wft + wtd)openIV

 

in this tutorial i'll be using test.wft & test.wtd as new car file and it replace turismo.

if your new vehicle didn't have handling or carcol, you can use the one it replace, but rename the name to your car name(test)

all words that's bold can be change to any name you like(don't use space)

while editing always follow the format of the file( space, CAPITAL LETTERS, and everything) don't make a blank new line or

delete a new line(it'll crash sometime).

don't change a vehicle that's in your parking(saved car) or you will get smpa60 error.

to add more than 24 vehicle you need patch 1.0.0.4(max 28).

 

1. edit default.dat, gta.dat and images.txt

default.dat -> add "HANDLING common:/data/newhandling.dat"

 

## Object types#IDE common:/data/default.ideIDE common:/data/vehicles.ideIDE common:/data/peds.ideANIMGRP common:/data/animgrp.datHANDLING common:/data/handling.datVEHICLEEXTRAS common:/data/VehicleExtras.datPLAYER platform:/models/cdimages/playerped.rpfPEDGRP common:/data/pedgrp.datCARGRP common:/data/cargrp.datRADIO common:/data/radiohud.datRADIOLOGOS independent:/textures/radio_hud.itdWEAPONINFO common:/data/weaponinfo.xmlTHROWNWEAPONINFO common:/data/thrownweaponinfo.xmlPEDPERSONALITY common:/data/pedpersonality.datMELEEANIMS common:/data/meleeanims.datACTIONTABLE common:/data/action_table.csvEXPLOSIONFX common:/data/effects/explosionFx.datVEHOFF common:/data/vehOff.csvFMENUFILE common:/data/frontend_menus.xmlLBDATAFILE common:/data/leaderboards_data.xmlLBICONSFILE independent:/textures/Leaderboards.itdHANDLING common:/data/newhandling.datHTML http:

 

gta.dat -> add "IDE common:/data/newveh.ide","IDE common:/data/newveh1.ide" and so forth as needed.

 

## Load IDEs first, then the models and after that the IPLs##IMG ASSETS.IMGIMGLIST common:/data/images.txt##  Water#WATER common:/DATA/WATER.DAT common:/DATA/WATERLOW.DAT.....##  Lod Cullers#IPL platform:/DATA/MAPS/GENERIC/lodcull_j.IPLIPL platform:/DATA/MAPS/GENERIC/lodcull_m.IPLIPL platform:/DATA/MAPS/GENERIC/lodcull_e.IPLIDE common:/data/newveh.ideIDE common:/data/newveh1.ide

 

images.txt -> add "platformimg:/models/cdimages/newveh 1"

 

# NOTE: The names and paths in this file are CASESENSITIVE on PS3 so don't f*ck 'em up.#this has been ordered to reflect the order on the diskcommonimg:/data/cdimages/navgen_scriptcommonimg:/data/cdimages/script_network	1platformimg:/anim/cutsprops  1platformimg:/anim/cuts  	1platformimg:/data/maps/interiors/Int_Props/props_ss	1platformimg:/data/maps/interiors/Int_Props/props_ab	1platformimg:/data/maps/interiors/Int_Props/props_km	1platformimg:/data/maps/interiors/Int_Props/props_mp	1platformimg:/data/maps/interiors/Int_Props/props_ld	1....platformimg:/data/maps/east/queens_w2	0platformimg:/data/maps/east/queens_w	0platformimg:/data/maps/east/queens_e	0platformimg:/data/maps/east/bronx_e	0platformimg:/data/maps/east/bronx_e2	0platformimg:/data/maps/east/bronx_w	0platformimg:/data/maps/east/bronx_w2	0platformimg:/models/cdimages/newveh	1#map xref#map instance

 

2. create a new img file using open iv, name it newveh.img

3. add new car files(wtd & wft) to newveh.img(if car name have been used in vehicles.img, you need to rename your new car)

4. edit carcol.dat -> add a new line, either in car3 section or car4 section.

 

washington,	0,0,12, 4,4,12, 6,6,12, 10,10,12, 21,21,12, 23,23,12, 25,25,12, 33,33,35, 37,37,32, 49,49,63, 52,52,56, 54,54,55, 65,65,63, 67,67,118, 70,70,65, 98,98,90, 16,16,76, 9,9,91, 15,15,93, 19,19,93, 13,13,80,yankee,  15,112,1, 26,78,1,test,  0,0,1, 35,35,127, 1,1,3, 17,17,34, 21,21,21, 31,31,33, 38,38,30, 52,52,50, 69,69,63, 72,72,63, 81,81,63, 89,89,89, 95,95,90,

 

5. create newhandling.dat and newveh.ide.

newhandling.dat(if you make mistakes when you spawn it, it looks correct but when you touch it, it fall to the ground)

 

TEST 1500.0 7.0 85 0.0 -0.06 -0.18 0.0 5 0.34 1.0 225.0 0.34 0.65 0.7 35.0 1.50 1.50 13.5 0.12 0.48 2.0 1.3 1.3 0.12 -0.13 0.0 0.5 1.0 0.3 3.4 7 0.0 110000 440010 1 1

 

newveh.ide(if you make mistakes your game will crash on loading[error SMPA60])

 

carstest, test, car, TEST, COMET, [email protected],	NULL, 1,  999, 0.2621, 0.2621, 0,	5, 1.0, 0, noboot+sportsendtxdpvehshare_truck, vehshareend

 

6. edit cargrp.dat(so ped will use new vehicle)-> add test after each turismo

 

oracle, fortune, uranus, vigero, primo, admiral, df8, fxt, feroci, e109, pinnacle, habanero, sentinel, schafter, rebla, supergt,  pcj, perennial, landstalker, faggio, comet, test, coquette, bus,   # POPCYCLE_GROUP_MIDTOWN

 

7. place in common\data

carcol.dat

cargrp.dat

default.dat

gta.dat

images.txt

newveh.ide

newhandling.dat

8. place in pc\models\cdimages

newveh.img

 

i'm not good at explain i guess. if you didn't understand just ask here smile.gif

and maybe someone can explain more better

 

known bugs:

depend on how many vehicle you add, there is a bug(minigame, carwash and maybe other place are screwed)(fixed)

 

if you find any bug just post it, so i can update this tut.(maybe someone can solve it)

 

basic edited and added file

http://www.mediafire.com/?5jz2qnymylo

 

credit: good_NTS(open iv), espedito(bug fix),

 

for EFLC, thakns to deagle21

http://www.gtaforums.com/index.php?showtop...st&p=1059894747

 

translated to france by berunours

http://www.gtaforums.fr/index.php?showtopic=10326

 

translated to Italy by Fabio206

http://forum.gta-expert.it/topic/15838-doc...on-sostituirli/

 

translated to Germany by Mr.Bolleck

http://gta-worldmods.t-n-network.de/forum/...?threadid=10841

 

sorry for my english tounge.gif

Share this post


Link to post
Share on other sites
ikt

Niiice. I'll try this, but... how do i spawn a added heli? I don't think peds will fly it so you can steal it tounge.gif

Share this post


Link to post
Share on other sites
mataanjin
Niiice. I'll try this, but... how do i spawn a added heli? I don't think peds will fly it so you can steal it tounge.gif

just open consol and type spawn vehicle_name

Share this post


Link to post
Share on other sites
Black-hawk
Niiice. I'll try this, but... how do i spawn a added heli? I don't think peds will fly it so you can steal it tounge.gif

just open consol and type spawn vehicle_name

IV has a console?

Share this post


Link to post
Share on other sites
KingBulleT 8747
Niiice. I'll try this, but... how do i spawn a added heli? I don't think peds will fly it so you can steal it tounge.gif

just open consol and type spawn vehicle_name

IV has a console?

No the net. Scripthook has one.

Share this post


Link to post
Share on other sites
Andrew

This is a tutorial so it belongs in the tutorial forum.

Share this post


Link to post
Share on other sites
mataanjin
This is a tutorial so it belongs in the tutorial forum.

i have try to post there, but it didn't shown up.

 

feel free to move this thread smile.gif

Share this post


Link to post
Share on other sites
Dvt-MedShot

But do do you get the vehicle adding glitches in the game such as you can't play bowling, map glitches in Hove Beach and etc. (same glitches that the TLAD Bikes mod created)?

Share this post


Link to post
Share on other sites
chasez

Do we really need to extract all vehicles.img file? Can't we just add cars in OpenIV and edit the dat and ide files? have you tried that?

Share this post


Link to post
Share on other sites
mataanjin

^^

you don't need to. but my open iv gets error if i just edit vehicles.img directly.

 

 

But do do you get the vehicle adding glitches in the game such as you can't play bowling, map glitches in Hove Beach and etc. (same glitches that the TLAD Bikes mod created)?

yeah, you can't play bowling sad.gif

didn't know why.

but i dont see glitches. maybe it drop performance becouse you add more vehicle and a hi-res one.

Share this post


Link to post
Share on other sites
mataanjin

i found out where the error came from.

it's from vehicle.ide and the way gta treat ide files.

i seems that it used a fixed array for all ide file, so if you add one, the other below it will be replace(it's place)

the more you add the more it's bug.

 

for the mini game such as bowling, you still can playit, only the place is changed(again it's according to how many you add)

 

 

Share this post


Link to post
Share on other sites
berunours

Hi... Thank you for the tuto...

 

But i have a little problem and i don't know why... Can you help me please ?

 

I try with 3 different cars but it's always the same...

user posted image

 

Car has no wheels, no texture, and is not an car but an object ? I have name the car: bmwm3

 

gta: 1.0.4.0, some car already install.

 

sorry for mi bad english, i'm french sad.gif

Share this post


Link to post
Share on other sites
mataanjin

it seems that your vehicle.ide is wrong.

what is your line that you add to vehicle.ide?

Share this post


Link to post
Share on other sites
berunours

 

it seems that your vehicle.ide is wrong.

what is your line that you add to vehicle.ide?

bmwm3, bmwm3, car, BMWM3, SENTINEL, [email protected], [email protected]_LU2_RI2, 100, 999, 0.2737, 0.2737, 0, 5, 1.0 ,0, ext_gang+ext_all+ext_strong

 

 

thank you for your help

Share this post


Link to post
Share on other sites
mataanjin
it seems that your vehicle.ide is wrong.

what is your line that you add to vehicle.ide?

bmwm3, bmwm3, car, BMWM3, SENTINEL, [email protected], [email protected]_LU2_RI2, 100, 999, 0.2737, 0.2737, 0, 5, 1.0 ,0, ext_gang+ext_all+ext_strong

 

 

thank you for your help

strange, i got it working. where did you place this new line?

 

i found another way though

you can edit default.dat and add a new "IDE common:/data/newvec.ide"

 

## Object types#IDE common:/data/default.ideIDE common:/data/vehicles.ideIDE common:/data/peds.ideANIMGRP common:/data/animgrp.datHANDLING common:/data/handling.datVEHICLEEXTRAS common:/data/VehicleExtras.datPLAYER platform:/models/cdimages/playerped.rpfPEDGRP common:/data/pedgrp.datCARGRP common:/data/cargrp.datRADIO common:/data/radiohud.datRADIOLOGOS independent:/textures/radio_hud.itdWEAPONINFO common:/data/weaponinfo.xmlTHROWNWEAPONINFO common:/data/thrownweaponinfo.xmlPEDPERSONALITY common:/data/pedpersonality.datMELEEANIMS common:/data/meleeanims.datACTIONTABLE common:/data/action_table.csvEXPLOSIONFX common:/data/effects/explosionFx.datVEHOFF common:/data/vehOff.csvFMENUFILE common:/data/frontend_menus.xmlLBDATAFILE common:/data/leaderboards_data.xmlLBICONSFILE independent:/textures/Leaderboards.itdIDE common:/data/newvec.ideHTML http:

 

then you create newvec.ide with content like this(follow the format)

 

carsyour car ideend

 

is it fix your problem?

i have encountered the same problem before, but i forget what is wrong.

Share this post


Link to post
Share on other sites
berunours

 

strange, i got it working. where did you place this new line?

 

I tried:

-as indicated

-at the end of cars

-and alphabetically

 

but each time same result sad.gif

 

I tried the second method (create newvec.ide) but same result sad.gif

 

I think i should I re-installed gta

Share this post


Link to post
Share on other sites
mataanjin

 

strange, i got it working. where did you place this new line?

 

I tried:

-as indicated

-at the end of cars

-and alphabetically

 

but each time same result sad.gif

 

I tried the second method (create newvec.ide) but same result sad.gif

 

I think i should I re-installed gta

no, you don't need to reinstall gta. as i have encountered the same problem before but i fix it.

 

can you show me your vehicles.ide and handling.dat?

when you open vehicles.img can you see bmwm3? can you open its wtd?

 

 

add me at ym([email protected])

Edited by mataanjin

Share this post


Link to post
Share on other sites
berunours

I try with another car: Shelby, same result

 

 

can you show me your vehicles.ide and handling.dat?

link on megaupload

 

 

when you open vehicles.img can you see bmwm3? can you open its wtd?

 

Yes, it looks good

 

user posted image

 

Share this post


Link to post
Share on other sites
mataanjin

can you add me at ym([email protected]) so we can test it on the fly smile.gif

 

can you open the wtd file using open iv?

 

handling file that you gave me is a backup one? i dont see shelby there.

when you edit vehicle.ide it's best if you just copy the one that you will replace and change its name accordingly.

 

let's try using a same model, can you dl this car and name it audi.wtf and audi.wtd

then use open iv to add this to vehicles.img(use the original vehicles.img)

Share this post


Link to post
Share on other sites
exiscetti

it'll be exciting if we can add new cars into gtaiv!!!! but still some questions here :

 

during the very first steps i make a copy of vehicles.img (out of gtaiv dir), and successfully add audir8.wft & audir8.wtd to vehicles.img with open IV (I like that mod, too smile.gif )

will this way work? (ps. if I use Open IV add .wtd & .wft files to vehicles.img in game dir directly, I get error too)

 

and during step 8, when edit vehicles.ide, why not put the now car's line in "car" group, under yankee?

 

 

Share this post


Link to post
Share on other sites
mataanjin
it'll be exciting if we can add new cars into gtaiv!!!! but still some questions here :

 

during the very first steps i make a copy of vehicles.img (out of gtaiv dir), and successfully add audir8.wft & audir8.wtd to vehicles.img with open IV (I like that mod, too smile.gif )

will this way work? (ps. if I use Open IV add .wtd & .wft files to vehicles.img in game dir directly, I get error too)

 

and during step 8, when edit vehicles.ide, why not put the now car's line in "car" group, under yankee?

as long as vehicles.img not corrupted it should work.

 

if you add a new line after yankee and you have bikes in your park(saved) before you add car

it will be shifted once/so. so when you load game again you will see your zombie being replaced.

 

you can try it though, but if you often disable/enable this maybe your savegame can be corrupted.

 

that's why i place it at the the end smile.gif

 

Share this post


Link to post
Share on other sites
berunours

sorry I don't be at home today tounge.gif

 

I try with original gta files and the audi r8 but same result sad.gif

Edited by berunours

Share this post


Link to post
Share on other sites
exiscetti

Hi...thank you man, I got it working!!

 

I do as what you said (method 1), just now I met a car on the street driven by a ped!!! tounge.gif

 

 

user posted image

 

but can you tell me how to spawn a car? If a use iv control center by saracoglu , I can only choose what the game already have. if i type the name "audir8" in "keyboard shortcuts" (#47) , and click apply, i just get a error says "Object reference not set to an instance of an object." confused.gif

 

anyway, good job man!

Share this post


Link to post
Share on other sites
mataanjin
Hi...thank you man, I got it working!!

 

I do as what you said (method 1), just now I met a car on the street driven by a ped!!! tounge.gif

 

but can you tell me how to spawn a car? If a use iv control center by saracoglu , I can only choose what the game already have. if i type the name "audir8" in "keyboard shortcuts" (#47) , and click apply, i just get a error says "Object reference not set to an instance of an object." confused.gif

 

anyway, good job man!

open consol(~) than type

spawn audir8

you can change audir8 to any car name you want to spawn.

to oen consol you need scripthook and scripthookdotnet

Share this post


Link to post
Share on other sites
berunours

 

Hi...thank you man, I got it working!!

 

I do as what you said (method 1), just now I met a car on the street driven by a ped!!! tounge.gif

 

but can you tell me how to spawn a car? If a use iv control center by  saracoglu , I can only choose what the game already have. if i type the name "audir8" in "keyboard shortcuts" (#47) , and click apply, i just get a error says "Object reference not set to an instance of an object." confused.gif

 

anyway, good job man!

What's your GTA version ?

Share this post


Link to post
Share on other sites
mataanjin
Hi...thank you man, I got it working!!

 

I do as what you said (method 1), just now I met a car on the street driven by a ped!!! tounge.gif

 

but can you tell me how to spawn a car? If a use iv control center by  saracoglu , I can only choose what the game already have. if i type the name "audir8" in "keyboard shortcuts" (#47) , and click apply, i just get a error says "Object reference not set to an instance of an object." confused.gif

 

anyway, good job man!

What's your GTA version ?

my gta version is 1.0.1.3.

my OpenIV is 0.9.202.

i'm using win 7 64bit -> but it shouldn't matter i think smile.gif

 

can you replace car? not adding it.

Share this post


Link to post
Share on other sites
exiscetti

my GTA version is 1.0.3.0 (I downdated from 1.0.4.0)

My OS is windows 7 x64

my Open IV version is 0.9.202

Share this post


Link to post
Share on other sites
Shor_van

 

^^

you don't need to. but my open iv gets error if i just edit vehicles.img directly.

 

 

But do do you get the vehicle adding glitches in the game such as you can't play bowling, map glitches in Hove Beach and etc. (same glitches that the TLAD Bikes mod created)?

yeah, you can't play bowling sad.gif

didn't know why.

but i dont see glitches. maybe it drop performance becouse you add more vehicle and a hi-res one.

I have found a way to fix this

 

this happens because GTA IV gives each model a ID as it loads it so when you add a new model other models get a different ID so the only way to fix this to make sure that the added model is the last to be loaded so all the other models get the original number.

 

how to fix it

 

To fix it you have to first create your own ide file call it what ever you what Ex:mycars (to create a ide just create a txt file and change .txt to .ide)

 

your ide should look like this

 

 

carsend

 

 

 

make sure you put your new ide in

 

 

Grand Theft Auto IV\common\data

 

 

now open the gta.dat

 

go down to the end add this

 

IDE common:/data/youridefilename.ide

 

 

you gta.dat should look like this

 

IPL platform:/DATA/MAPS/EAST/BROOK_S3.IPLIPL platform:/DATA/MAPS/EAST/QUEENS_E.IPLIPL platform:/DATA/MAPS/EAST/QUEENS_M.IPLIPL platform:/DATA/MAPS/EAST/QUEENS_W.IPLIPL platform:/DATA/MAPS/EAST/QUEENS_W2.IPLIPL platform:/DATA/MAPS/EAST/BRONX_W.IPLIPL platform:/DATA/MAPS/EAST/BRONX_W2.IPLIPL platform:/DATA/MAPS/EAST/BRONX_E.IPLIPL platform:/DATA/MAPS/EAST/BRONX_E2.IPL##  Interiors#IPL platform:/DATA/MAPS/INTERIORS/Test/INTERIORS.IPL##  Lod Cullers#IPL platform:/DATA/MAPS/GENERIC/lodcull_j.IPLIPL platform:/DATA/MAPS/GENERIC/lodcull_m.IPLIPL platform:/DATA/MAPS/GENERIC/lodcull_e.IPLIDE common:/data/mycars.ide

 

 

now just add cars the normal way but instead of the vehicles.ide use your ide

 

add the cars between cars and end

 

 

carscrx,  crx,  car,  CRX,  BLISTA,  [email protected],	[email protected]_LE1_RI1,	100,	999,  0.2272,	0.2272,  0,	5,	1.0	,0,	sportsend

 

 

sorry I forgot about tdxp

 

aftar cars end add tdxp end

 

 

carsendtdxpend

 

 

the tdxp is there to make sure that the game find all the needed txds

 

when adding a new car make sure to add this between tdxp and end

 

 

tdxpcarwtdname, vehshare end

 

 

when your done your ide should look something like this

 

 

carscrx,  crx,  car,  CRX,  BLISTA,  [email protected],	[email protected]_LE1_RI1,	100,	999,  0.2272,	0.2272,  0,	5,	1.0	,0,	sportslencer,  lencer,  car,  LENCER,  FEROCI,  [email protected],	[email protected]_LE1_RI1,	100,	999,  0.2272,	0.2272,  0,	5,	1.0	,0,	sportsendtdxpcrx, vehsharelencer, vehshareend

 

Edited by espedito

Share this post


Link to post
Share on other sites
CHARLES007

but how can i spawn tha car?

Share this post


Link to post
Share on other sites
mataanjin

 

but how can i spawn tha car?

either using console(from scripthookdotnet)

or

edit cargrp.dat.

 

@espedito

sounds good smile.gif will try and post update soon

TQ

 

 

edit: it's working nice man.

mind if i add this fix to first post?

Edited by mataanjin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.