IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules Attention:

This is for the discussion and releasing of tutorials for modifying GTA. Anything that isn't a tutorial will be deleted without notification.

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (32) [1] 2 3 ... Last »  ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 Add New Car GTA IV

 Not Replacing
 
mataanjin  
Posted: Friday, Aug 7 2009, 05:20
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



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

files you need from IV:
CODE

carcol.dat
cargrp.dat
default.dat
gta.dat
images.txt


others file:
CODE

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"
CODE

#
# Object types
#
IDE common:/data/default.ide
IDE common:/data/vehicles.ide
IDE common:/data/peds.ide

ANIMGRP common:/data/animgrp.dat
HANDLING common:/data/handling.dat
VEHICLEEXTRAS common:/data/VehicleExtras.dat
PLAYER platform:/models/cdimages/playerped.rpf
PEDGRP common:/data/pedgrp.dat
CARGRP common:/data/cargrp.dat
RADIO common:/data/radiohud.dat
RADIOLOGOS independent:/textures/radio_hud.itd
WEAPONINFO common:/data/weaponinfo.xml
THROWNWEAPONINFO common:/data/thrownweaponinfo.xml
PEDPERSONALITY common:/data/pedpersonality.dat
MELEEANIMS common:/data/meleeanims.dat
ACTIONTABLE common:/data/action_table.csv
EXPLOSIONFX common:/data/effects/explosionFx.dat
VEHOFF common:/data/vehOff.csv
FMENUFILE common:/data/frontend_menus.xml
LBDATAFILE common:/data/leaderboards_data.xml
LBICONSFILE independent:/textures/Leaderboards.itd
HANDLING common:/data/newhandling.dat

HTML http:

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

#
# Load IDEs first, then the models and after that the IPLs
#

#IMG ASSETS.IMG
IMGLIST common:/data/images.txt

#
#  Water
#
WATER common:/DATA/WATER.DAT common:/DATA/WATERLOW.DAT



.
.
.
.
.




#
#  Lod Cullers
#
IPL platform:/DATA/MAPS/GENERIC/lodcull_j.IPL
IPL platform:/DATA/MAPS/GENERIC/lodcull_m.IPL
IPL platform:/DATA/MAPS/GENERIC/lodcull_e.IPL
IDE common:/data/newveh.ide
IDE common:/data/newveh1.ide

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

# 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 disk

commonimg:/data/cdimages/navgen_script
commonimg:/data/cdimages/script_network 1
platformimg:/anim/cutsprops  1
platformimg:/anim/cuts   1
platformimg:/data/maps/interiors/Int_Props/props_ss 1
platformimg:/data/maps/interiors/Int_Props/props_ab 1
platformimg:/data/maps/interiors/Int_Props/props_km 1
platformimg:/data/maps/interiors/Int_Props/props_mp 1
platformimg:/data/maps/interiors/Int_Props/props_ld 1



.
.
.
.




platformimg:/data/maps/east/queens_w2 0
platformimg:/data/maps/east/queens_w 0
platformimg:/data/maps/east/queens_e 0
platformimg:/data/maps/east/bronx_e 0
platformimg:/data/maps/east/bronx_e2 0
platformimg:/data/maps/east/bronx_w 0
platformimg:/data/maps/east/bronx_w2 0
platformimg:/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.
CODE
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)
CODE

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])
CODE

cars

test, test, car, TEST, COMET, VEH@LOW, NULL, 1,  999, 0.2621, 0.2621, 0, 5, 1.0, 0, noboot+sports


end

txdp

vehshare_truck, vehshare

end

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

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
PMYahoo
  Top
 

 
ikt  
Posted: Friday, Aug 7 2009, 05:57
Quote Post


 
Group Icon
Group: Members
Joined: Oct 2, 2006

XXXXX



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
PM
  Top
 

 
mataanjin  
Posted: Friday, Aug 7 2009, 06:31
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



QUOTE (ikt @ Aug 7 2009, 05:57)
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
PMYahoo
  Top
 

 
Black-hawk  
Posted: Friday, Aug 7 2009, 06:38
Quote Post


Boss
Group Icon
Group: The Connection
Joined: Mar 28, 2004

XXXXX



QUOTE (mataanjin @ Aug 6 2009, 23:31)
QUOTE (ikt @ Aug 7 2009, 05:57)
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?
PMMSN
  Top
 

 
KingBulleT 8747  
Posted: Friday, Aug 7 2009, 06:43
Quote Post


LOL
Group Icon
Group: BUSTED!
Joined: Aug 31, 2008

gr.gif

XXXXX



QUOTE (Black-hawk @ Aug 7 2009, 06:38)
QUOTE (mataanjin @ Aug 6 2009, 23:31)
QUOTE (ikt @ Aug 7 2009, 05:57)
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.
PMMSNICQPlayStation Network
  Top
 

 
Andrew  
Posted: Friday, Aug 7 2009, 06:58
Quote Post



Group Icon
Group: Forum Admins
Joined: Jul 21, 2003

Member Award




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

 
mataanjin  
Posted: Friday, Aug 7 2009, 07:21
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



QUOTE (Gangsta Killa @ Aug 7 2009, 06:58)
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
PMYahoo
  Top
 

 
Dvt-MedShot  
Posted: Friday, Aug 7 2009, 09:15
Quote Post


Playa
Group Icon
Group: Members
Joined: May 2, 2007

nl.gif

XXXXX



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)?
PMMSNICQXbox Live
  Top
 

 
chasez  
Posted: Friday, Aug 7 2009, 09:25
Quote Post


Living On Times Square
Group Icon
Group: Members
Joined: Nov 21, 2008

us.gif

XXXXX



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?
PMMSNICQ
  Top
 

 
mataanjin  
Posted: Friday, Aug 7 2009, 09:33
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



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

QUOTE (Dvt-MedShot @ Aug 7 2009, 09:15)
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.
PMYahoo
  Top
 

 
mataanjin  
Posted: Saturday, Aug 8 2009, 06:24
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



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)

PMYahoo
  Top
 

 
berunours  
Posted: Friday, Aug 14 2009, 13:03
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 7, 2009

XXXXX



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
PM
  Top
 

 
mataanjin  
Posted: Friday, Aug 14 2009, 14:25
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



it seems that your vehicle.ide is wrong.
what is your line that you add to vehicle.ide?
PMYahoo
  Top
 

 
berunours  
Posted: Friday, Aug 14 2009, 16:01
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 7, 2009

XXXXX



QUOTE (mataanjin @ Aug 14 2009, 14:25)
it seems that your vehicle.ide is wrong.
what is your line that you add to vehicle.ide?

bmwm3, bmwm3, car, BMWM3, SENTINEL, VEH@LOW, VEH@LOW_LU2_RI2, 100, 999, 0.2737, 0.2737, 0, 5, 1.0 ,0, ext_gang+ext_all+ext_strong


thank you for your help
PM
  Top
 

 
mataanjin  
Posted: Friday, Aug 14 2009, 17:32
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



QUOTE (berunours @ Aug 14 2009, 16:01)
QUOTE (mataanjin @ Aug 14 2009, 14:25)
it seems that your vehicle.ide is wrong.
what is your line that you add to vehicle.ide?

bmwm3, bmwm3, car, BMWM3, SENTINEL, VEH@LOW, VEH@LOW_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"
CODE

#
# Object types
#
IDE common:/data/default.ide
IDE common:/data/vehicles.ide
IDE common:/data/peds.ide

ANIMGRP common:/data/animgrp.dat
HANDLING common:/data/handling.dat
VEHICLEEXTRAS common:/data/VehicleExtras.dat
PLAYER platform:/models/cdimages/playerped.rpf
PEDGRP common:/data/pedgrp.dat
CARGRP common:/data/cargrp.dat
RADIO common:/data/radiohud.dat
RADIOLOGOS independent:/textures/radio_hud.itd
WEAPONINFO common:/data/weaponinfo.xml
THROWNWEAPONINFO common:/data/thrownweaponinfo.xml
PEDPERSONALITY common:/data/pedpersonality.dat
MELEEANIMS common:/data/meleeanims.dat
ACTIONTABLE common:/data/action_table.csv
EXPLOSIONFX common:/data/effects/explosionFx.dat
VEHOFF common:/data/vehOff.csv
FMENUFILE common:/data/frontend_menus.xml
LBDATAFILE common:/data/leaderboards_data.xml
LBICONSFILE independent:/textures/Leaderboards.itd
IDE common:/data/newvec.ide

HTML http:

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

cars

your car ide

end

is it fix your problem?
i have encountered the same problem before, but i forget what is wrong.
PMYahoo
  Top
 

 
berunours  
Posted: Friday, Aug 14 2009, 18:30
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 7, 2009

XXXXX



QUOTE ("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
PM
  Top
 

 
mataanjin  
Posted: Saturday, Aug 15 2009, 01:05
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



QUOTE (berunours @ Aug 14 2009, 18:30)
QUOTE ("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(mataanjin@yahoo.co.id)

This post has been edited by mataanjin on Saturday, Aug 15 2009, 01:25
PMYahoo
  Top
 

 
berunours  
Posted: Saturday, Aug 15 2009, 08:23
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 7, 2009

XXXXX



I try with another car: Shelby, same result

QUOTE ("mataanjin")
can you show me your vehicles.ide and handling.dat?

link on megaupload

QUOTE ("mataanjin")
when you open vehicles.img can you see bmwm3? can you open its wtd?


Yes, it looks good

user posted image
PM
  Top
 

 
mataanjin  
Posted: Saturday, Aug 15 2009, 10:16
Quote Post


Rat
Group Icon
Group: Members
Joined: Feb 20, 2009

in.gif

XXXXX



can you add me at ym(mataanjin@yahoo.co.id) 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)
PMYahoo
  Top
 

 
Exiscetti  
Posted: Saturday, Aug 15 2009, 13:21
Quote Post


Renfei.Song
Group Icon
Group: Members
Joined: May 1, 2009

cn.gif

XXXXX



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?

Users WebsitePMMSNXbox Live
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (32) [1] 2 3 ... Last »

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG