Tuesday, October 19, 2010

Tutorial HOW ADD NEW CARS( NOT REPLACING ADD !!!)

How to add new cars
by emontero

and you will need:
A good pc that handles all original cars changed and when you add new ones ofc fools!!!
notepad for the dat and ide files (vista and seven are a pain back under XD when you try to save those files) but i use
my friendly XP SP3 yet
imgtool
the StreamMemFix1.0.asi
the free id´s list
the SAMore Vehicles.rar plug in
the ASILoader.rar
the VehicleAudioLoader.rar


step 1.

Open the vehicles.ide and go to the botton of the document and you will see this:

610, farmtr1, farmtr1, trailer, FARM_TR1, FARMTR1, null, ignore, 4, 0, 0, -1, 0.32, 0.32, -1
611, utiltr1, utiltr1, trailer, UTIL_TR1, UTILTR1, null, ignore, 4, 0, 0, -1, 0.68, 0.68, -1

end

what means every line??

611 is the id

those two utiltr1 are the model name and txd used on the gta3.img

trailer is the the family object that it´s belongs

UTIL_TR1 this is the handling line

UTILTR1 is for the name

null, ignore "are not very important" for this moment

4, 0, 0,

the first one is for the times that you want to see on the game

second is for flags idk wft is that!!!

third animation grp

and the

-1, 0.68, 0.68, -1

wheel size and wheel group


ok let´s add our first car!!!

checking the id´s free list is 612

ok then:

for example we want to input a new car that brings the buffalo handling and id etc

the copy the buffalo line in the botton

610, farmtr1, farmtr1, trailer, FARM_TR1, FARMTR1, null, ignore, 4, 0, 0, -1, 0.32, 0.32, -1
611, utiltr1, utiltr1, trailer, UTIL_TR1, UTILTR1, null, ignore, 4, 0, 0, -1, 0.68, 0.68, -1
612, buffalo, buffalo, car, BUFFALO, BUFFALO, null, executive, 5, 0, 0, -1, 0.8, 0.8, 0

but wait a minute we must choose a new name we can not use the same name on the dff and txd files fools!!!

so we going to rename the dff and txd as this way: ford.dff and ford.txd so the lines will be as follow:

610, farmtr1, farmtr1, trailer, FARM_TR1, FARMTR1, null, ignore, 4, 0, 0, -1, 0.32, 0.32, -1
611, utiltr1, utiltr1, trailer, UTIL_TR1, UTILTR1, null, ignore, 4, 0, 0, -1, 0.68, 0.68, -1
612, ford, ford, car, BUFFALO, BUFFALO, null, executive, 5, 0, 0, -1, 0.7, 0.7, -1

now check the readme of the new car for the wheel size and change it if this will be necesary

save the vehicle.ide

now with the famous imgtool open the gta_int.img or if your gta3.img is not near to the God Dammed 2.1 gbs you can still use it

but avoid keep your gta3.img a little far away to that size plz! so use the gta_int.img plz!!! you fools!!!

ok let´s add the both new files the dff and txd in the gta_int.img

rebuilt the file as usual

now go and open the carcols.dat and add the new line in alphabetic order as they are and you will add the new line as:

flash, 0,0, 3,3, 6,6, 2,2, 1,1, 10,10, 9,9, 8,8, 37,37
flatbed, 0,0, 3,3, 6,6, 2,2, 1,1, 10,10, 9,9, 8,8, 37,37
ford, 0,0, 3,3, 6,6, 8,8, 9,9, 10,10, 37,37, 1,1
forklift, 110,1, 111,1, 112,1, 114,1, 119,1, 122,1, 4,1, 13,1

save and close

open the carmods.dat and the same task!!

flatbed, nto_b_s, nto_b_l, nto_b_tw
ford, nto_b_s, nto_b_l, nto_b_tw
forklift, nto_b_tw

and save the file.

handling??? no we can not add handlings so this is the black spot in the game so we can not use new handling for those new cars

612, ford, ford, car, BUFFALO, BUFFALO, null, executive, 5, 0, 0, -1, 0.7, 0.7, -1

so our new car going to use the same of buffalo! so choose a similar car specs:

muscle with muscle
normal with normal
and if the car brings the steeringwheel as the japanese and european site
so use the handling similar to them
for example my sentinel is a skyline r-34 and is a japanese car ofc so the steeringwheel is in the other site of the car
so if you going to input a new car and this new car has the steeringwheel in the other site you must use the sentinel
vechile.ide line for the new car
and it´s must be in this way:

613, nissan, nissan, car, SENTINEL, SENTINL, null, richfamily, 20, 0, 0, -1, 0.7, 0.7, 1

notice that i renamed my new car as nissan and the Handling is using the SENTINEL handling and THE SAME NAME

and i do not talk about change the name in game so is a pain in the a** but if you check carefully the other tutorial
you will found how got changed the name in game

next step sound

you can use the Alci_s_SAAT_GUI_FrontEnd_1.0 but this program has a limit in the new id´s so if you want more car they
will be without sound, and we do not want that shitty thing in our gta sa.
So use the VehicleAudioLoader.asi and the VehicleAudioData.ini and open the VehicleAudioData.ini with notepad and
you going to see this:

8:02 07.07.2008
(C) Alexander

[LOADING]
TYPE=1
; Type = 0 - loading without stream , 1 - using stream
; if u have some troubles with sounds try to set TYPE in 0

[IDs]
Number_of_pairs=1
FromID_1=400
ToID_1=611

and if you going to add the new 612 id just change it!!

8:02 07.07.2008
(C) Alexander

[LOADING]
TYPE=1
; Type = 0 - loading without stream , 1 - using stream
; if u have some troubles with sounds try to set TYPE in 0

[IDs]
Number_of_pairs=1
FromID_1=400
ToID_1=612

and add in the botton if this file the new line for our new car

[612]
CarType=0
EngineOnSound=103
EngineOffSound=102
Unknown4=1
Unknown5=0,899999976158142
Unknown6=1
HornTon=10
HornHigh=1
DoorSound=2
RadioNum=13
RadioType=0
Unknown12=2
Unknown13=0
Unknown14=0
Unknown15=0
Unknown16=0

and save how to know which i have to use???
only check the sound in game and look which model you want to input

but our car is not ready to spawn in game yet! so we must to set it in the cargrp.dat

go and open the cargrp.dat

just choose which kind of people going to use your new car and voilá! check my example for references



go in game and check your new car

DOWNLOAD