Strobe Modding
Welcome to our site! Please take a moment to register or if you already have an account, LOG IN now.

 
 
HomeCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in
Share | 
 

 [TUT] Adding Vehicles To SA (Not Replacing)

View previous topic View next topic Go down 
AuthorMessage
Reckless
Admin


Posts: 74
Join date: 2012-03-19
Age: 19
Location: Los Angeles, CA

PostSubject: [TUT] Adding Vehicles To SA (Not Replacing)   Fri Mar 23, 2012 2:24 pm

ADDING CARS TO GTA SA TUTORIAL

Hey, there is the same tutorial like this, it's author silvermanblue, but his tutorial was very complicated, dificult and old ( It wasn't working for many peaople ) so I decided to make another tutorial, because I want that all people could add some new cars to SA, it is a very nice feature.
So @silvermanblue, dont be mad, and forgive me...


DESCRIPTION

With this tutorial you will be able to add more vehicles to SA, not replacing them. I will tell it step by step how to do it, so this tutorial is pretty helpful.

TOOLS YOU NEED

1. VehicleAudioEditorUltimate
2. SA More Vehicles
3. SAHandlingAdderUltimate
4. ASILoader
5. SALimitAdjuster
6. SA GXT Editor


GETTING STARTED...

1. After you download all those plugins, extract all of those in your GTA SA root folder/directory.
2. Then, download a car you want. And there will be 2 files with .dff and .txd endings. Rename it to a simple name for a car, like BMW.dff and BMW.txd, and remember this name ( In my case BMW ).
3. Download IMG Tool from here, and open your gta3.img file wich is in your GTA SA>Models directory with it.
4. Click on Commands>Add. And add your renamed .dff and .txd files (BMW.dff and BMW.txd for me)
5. Click on Commands>Rebuild Archive>Yes(OK)
6. Then open SAlimits.ini file in your GTA SA directiory, search for Vehicle Models=212, and up it by one. Like this:
From:
#Vehicle Models=212
To:
#Vehicle Models=213
Then save and close.
7. Open Handling.cfg in your GTA SA>Data directory. With your downloaded car, there should be a readme.txt file, there you will need a line, something like this:

CODE
URANUS 1390.0 3614.4 1.6 0.0 0.0 -0.15 75 0.80 0.79 0.51 5 265.0 18.7 23.0 F P 5.5 0.6 1 30.0 1.0 0.11 0.0 0.27 -0.08 0.5 0.50 0.2 0.02 15000 0 700003 0 1 0
But instead of URANUS ( Or other name ) you need to change it to a name you changed those .dff and .txd files. In my case its BMW, so your line should look like this:

CODE
BMW 1390.0 3614.4 1.6 0.0 0.0 -0.15 75 0.80 0.79 0.51 5 265.0 18.7 23.0 F P 5.5 0.6 1 30.0 1.0 0.11 0.0 0.27 -0.08 0.5 0.50 0.2 0.02 15000 0 700003 0 1 0
So now, in your Handling.cfg file, find a category/goup of cars. Add your new line that we created. Save and close.
8. Open up the Vehicle.IDE file in your GTA SA>Data directory and add your new IDE line from your car mod readme at the end of the list. Instead of the name of the car you would replace, use your new name ( In my case its BMW ). And your cars ID will be 612. Save and close.
9. Open your carcols.dat file in the GTA SA>Data folder. Add your new vehicle's name in alphabeticly ( In my case BMW ) and your cars carcols line from your downloaded cars readme file. Save and close.
10. Open your cargrp.dat file in the same directory. And add your new car's name in some groups ( In my case its BMW ). This will make car spawn in random places, or ped groups.
11. Open carmods.dat in the same folder. Add your new car's carmods line from your downloaded cars readme file. Dont forget to change it to your new name, like mine's BMW.
12. Open VehicleAudioData.ini file in your GTA SA folder. There you will see lines:

CODE
[IDs]
Number_of_pairs=1
FromID_1=400
ToID_1=615
Up the 615 to 616, like this:

CODE
[IDs]
Number_of_pairs=1
FromID_1=400
ToID_1=616
Then scroll down to the end and add these lines:

CODE
[612]
CarType=0
EngineOnSound=93
EngineOffSound=92
Unknown4=0
Unknown5=1
Unknown6=1
HornTon=6
HornHigh=0,943874299526215
DoorSound=2
RadioNum=5
RadioType=0
Unknown12=31
Unknown13=0
Unknown14=0
Unknown15=0
Unknown16=0
Save and close.
13. Then open HandlingAdder.ini file in the same folder. You will see this:

CODE
[CAR_IDs]
411
So, change it to your vehicles ID. If you are adding one car, it will be 612.
Then insted of this:

CODE

[411]
index=11
fmass=1400
fTurnMass=2725,30004882813
fDragMult=1,5
x=0
y=0
z=-0,25
nPercentSubmerged=70
fTractionMultiplier=0,699999988079071
fTractionLoss=0,800000011920929
fTractionBias=0,5
nNumberOfGears=5
fMaxVelocity=1,22800159454346
fEngineAcceleration=0,00119999994058162
fEngineInertia=10
nDriveType=4
nEngineType=P
fBrakeDeceleration=0,00439999997615814
fBrakeBias=0,509999990463257
bABS=0
fSteeringLock=30
fSuspensionForceLevel=1,20000004768372
fSuspensionDampingLevel=0,189999997615814
fSuspensionHighSpdComDamp=0
fSuspensionUpperLimit=0,25
fSuspensionLowerLimit=-0,100000001490116
fSuspensionBiasBetweenFrontAndRear=0,5
fSuspensionAntiDiveMultiplier=0,400000005960464
fSeatOffsetDistance=0,370000004768372
fCollisionDamageMultiplier=1,02857148647308
nMonetaryValue=95000
modelFlags=1073750020
handlingFlags=12599296
frontLight=1
rearLight=1
animGroup=1
Change the 411, to the 612 at the top of this. Its ( [411] to [612] ). Save and close.
14. Now use GXT Editor to open american.gxt in your GTA SA>Text folder.
15. Remember the name you have used in your Handling.cfg, carcols.dat, carmods.dat and other files. In my case its BMW. Find the table MAIN.
16. Add a new entry in MAIN from the button Entry>Add
17. Name your entry according to the name you used in handling.cfg and other files, mine is once again BMW.
18. You will then see Entry Name followed by Value, which is empty.
19. Enter the name of your vehicle into the Value area. e.g. 2007 BMW M3 2.0. Save and close.
20. Here it is. Launch your GTA SA, and go find your new car.

_________________


Strobe Modding Owner/Founder Arrow Forum Head Administrator
Click the spoiler for an insta-boner. (56k ALERT!!)
Spoiler:
 

Back to top Go down
http://strobemodding.nstars.org
 

[TUT] Adding Vehicles To SA (Not Replacing)

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Fast vehicles, transports and shooting
» KFF and Vehicles
» Vehicles Exploding in a multi-combat
» Where can I find alternative vehicles similar to 40k?
» Need help on adding more wall textures in ChaosEdit

Permissions in this forum:You cannot reply to topics in this forum
Strobe Modding ::  :: -