Go Back   GTAGaming Forums > Grand Theft Auto Mods > Grand Theft Auto IV Mods
Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12-05-2008   #1
rappo
Professional Dumbass
 
rappo's Avatar
 
Join Date: Aug 2003
Location: Los Angeles
Posts: 6,986
rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.
How to: create your own GTA IV PC mods!

Only a couple days into the release and modders are already at it! I've test out this method and it works perfectly on my system, which is the retail copy of GTA IV (not Steam). Here's how to mod the game:
  1. Download aru's File Modding Ability Patch - this is a small, but powerful tool, because it will basically trick your game into thinking that all the files are original (GTA IV won't run unless the original files are running).
  2. Figure out what you want to mod and locate the file. For this simple example, I made a fast and powerful taxi, which is just a modification of the handling.dat file, which is located at GTA IV\common\data.handling.dat.
  3. Right click the handling.dat file, choose Properties, and make sure that Read-Only is unchecked.
  4. Open the handling.dat file in a text editor like Notepad. Find the line that begins with COMET, it will look something like this:
    Code:
    COMET		 1450.0  6.5   85	0.0 0.0 -0.21		0.2  5  0.24  1.0 160.0	0.34 0.66 0.7  35.0		1.50 1.25 12.5 0.12 0.48  		2.4  1.6  1.8  0.10 -0.15 0.0  0.5  		1.0 1.0 0.6 1.5 	0.0  60000 		40440010	1				1
    Copy the whole line.
  5. Find the lines that begin with TAXI and TAXI2. Delete these two lines, and in their place insert the COMET line twice. Change the first pasted COMET line to TAXI, and the second to TAXI2. What we basically did here was give the Taxis the same properties as the Comet.
  6. Change the first value on both the TAXI and TAXI2 lines from 1450.0 to 99999.0, therefore making your lines like this:
    Code:
    TAXI	     99999.0  6.5   85	0.0 0.0 -0.21		0.2  5  0.24  1.0 160.0	0.34 0.66 0.7  35.0		1.50 1.25 12.5 0.12 0.48  		2.4  1.6  1.8  0.10 -0.15 0.0  0.5  		1.0 1.0 0.6 1.5 	0.0  60000 		40440010	1				1
    TAXI2	     99999.0  6.5   85	0.0 0.0 -0.21		0.2  5  0.24  1.0 160.0	0.34 0.66 0.7  35.0		1.50 1.25 12.5 0.12 0.48  		2.4  1.6  1.8  0.10 -0.15 0.0  0.5  		1.0 1.0 0.6 1.5 	0.0  60000 		40440010	1				1
  7. Save the handling.dat file, close it, and run GTA IV. Find a Taxi and you should notice that it's a lot more powerful than before!

And that's it. Here's a video of the mod running:


Watch in high quality


This was a silly little example, but the main thing to get out of this is that Modding Ability Patch - without it your file edits are useless! Be sure to share anything that you whip up
__________________
rappo is offline   Reply With Quote
Old 12-06-2008   #2
JinxyBoi
Be nice. =)
 
Join Date: Dec 2008
Location: Somewhere in Texas
Posts: 34
JinxyBoi will become famous soon enoughJinxyBoi will become famous soon enoughJinxyBoi will become famous soon enoughJinxyBoi will become famous soon enoughJinxyBoi will become famous soon enoughJinxyBoi will become famous soon enough
oi, these handling mods don't carry over to mmultiplayer do they? I don't wanna see a bunch of unstoppable taxis running around. =/
JinxyBoi is offline   Reply With Quote
Old 12-06-2008   #3
rappo
Professional Dumbass
 
rappo's Avatar
 
Join Date: Aug 2003
Location: Los Angeles
Posts: 6,986
rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.
Quote:
Originally Posted by JinxyBoi View Post
oi, these handling mods don't carry over to mmultiplayer do they? I don't wanna see a bunch of unstoppable taxis running around. =/
I don't think they will. I know that opium_addict's injector, one of the file modding patches out there, doesn't let you, but I'm not sure about the patch that I linked to in the beginning of this tutorial,
__________________
rappo is offline   Reply With Quote
Old 12-08-2008   #4
Phnx
Registered User
Newbie Member
 
Join Date: Jan 2008
Posts: 4
Phnx is an unknown quantity at this point
Camera mod?

Is it possible to change the camera "on foot" and "in the car", so that it is centered behind Niko on foot and centered behind THE CAR when you're driving and not centered behind Niko while in a car?!
Phnx is offline   Reply With Quote
Old 12-10-2008   #5
Nite
Addicted PC Gamer
 
Nite's Avatar
 
Join Date: Jul 2005
Location: Sumner, WA, USA
Posts: 4,893
Nite has a brilliant futureNite has a brilliant futureNite has a brilliant futureNite has a brilliant futureNite has a brilliant futureNite has a brilliant futureNite has a brilliant futureNite has a brilliant futureNite has a brilliant futureNite has a brilliant futureNite has a brilliant future
Quote:
Originally Posted by Phnx View Post
Is it possible to change the camera "on foot" and "in the car", so that it is centered behind Niko on foot and centered behind THE CAR when you're driving and not centered behind Niko while in a car?!
I'd like to know this as well, I thought that was kinda strange :/
__________________

i7 2600k @ 4.2Ghz | 16GB Corsair Vengeance DDR3 1333 | 4GB EVGA GTX 770 SC ACX | EVGA Z68 SLI
Nite is offline   Reply With Quote
Old 12-06-2008   #6
behzad_sol
Unregistered User
 
behzad_sol's Avatar
 
Join Date: Jun 2008
Location: Iran
Posts: 1,025
behzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to beholdbehzad_sol is a splendid one to behold
It seems to be hard to make changes,I'm gonna try it...
__________________
behzad_sol is offline   Reply With Quote
Old 12-10-2008   #7
Erika_
Registered User
Newbie Member
 
Join Date: Dec 2008
Posts: 4
Erika_ is on a distinguished roadErika_ is on a distinguished roadErika_ is on a distinguished roadErika_ is on a distinguished roadErika_ is on a distinguished road
I looked at the handling.dat file and noticed that there are two vehicles possibly quoted out.

Code:
#SWAT        2500.0  2.0   80	0.0 0.0 -0.3  		0.5  5  0.20  1.0 160.0	0.5  0.50 0.7  35.0		0.95 0.75 10.0 0.15 0.5  		1.5  1.3  1.0  0.20 -0.20 0.0  0.5  		1.0 1.0 0.8 1.5 	0.25 40000 		8			300000			2
Code:
#$	FIGHTER		0.5		2.0		0.0		-0.003  	0.002	 0.10	0.03	-0.002	0.003	0.0020	0.0		0.1 	1.0	 1.0  0.0		0.01	0.5		0.5		0.5			0.5		0.5  	0.5
I wonder what they are.
Erika_ is offline   Reply With Quote
Old 12-10-2008   #8
rappo
Professional Dumbass
 
rappo's Avatar
 
Join Date: Aug 2003
Location: Los Angeles
Posts: 6,986
rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.
Yeah I saw those and wondered the same. SWAT is fairly intuitive but I don't know what the FIGHTER could have been. Also, if you have a peek into the weapon configuration files there are two commented lines, one for a flamethrower and another for a camera. I'm not sure if this info was just copied and pasted from San Andreas and then commented, but if they took out an originally planned flamethrower... well, that sucks.
__________________
rappo is offline   Reply With Quote
Old 12-10-2008   #9
Erika_
Registered User
Newbie Member
 
Join Date: Dec 2008
Posts: 4
Erika_ is on a distinguished roadErika_ is on a distinguished roadErika_ is on a distinguished roadErika_ is on a distinguished roadErika_ is on a distinguished road
I think they're related to SA, I saw another file before that was entirely dedicated to SA, it's called statdisp.dat, there are skills and such, gambling skill, fat, stamina, etc.

And even though they didn't make a flamethrower, I'm pretty sure someone will eventually do it as a mod.
Erika_ is offline   Reply With Quote
Old 12-10-2008   #10
rappo
Professional Dumbass
 
rappo's Avatar
 
Join Date: Aug 2003
Location: Los Angeles
Posts: 6,986
rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.
Cameras would most likely be a script mod, which isn't an option right now.
__________________
rappo is offline   Reply With Quote
Old 12-14-2008   #11
Adam2kl4u
Registered User
Newbie Member
 
Join Date: Dec 2008
Posts: 2
Adam2kl4u is an unknown quantity at this point
If i wanted to lower a car for example a sentinel and make the wheels a bit bigger can some one tell me what I would need to edit please

test

Can anyone see a difference despite the fact the camera is a lil off.
Attached Images
File Type: jpg normal.jpg (87.6 KB, 0 views)
File Type: jpg bit bigger.jpg (89.9 KB, 0 views)
Adam2kl4u is offline   Reply With Quote
Old 12-14-2008   #12
rappo
Professional Dumbass
 
rappo's Avatar
 
Join Date: Aug 2003
Location: Los Angeles
Posts: 6,986
rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.
Well, the weather is a litlte different... what were you trying to change?

Edit: oh I see you were aiming for bigger wheels... well, no I don't see a difference sorry
__________________
rappo is offline   Reply With Quote
Old 12-14-2008   #13
daniel1919
Registered User
Newbie Member
 
daniel1919's Avatar
 
Join Date: Aug 2008
Posts: 4
daniel1919 is an unknown quantity at this point
the car is longer??(maybe is because u moved the camera a bit),also there is no window on the left door ??
daniel1919 is offline   Reply With Quote
Old 12-15-2008   #14
Adam2kl4u
Registered User
Newbie Member
 
Join Date: Dec 2008
Posts: 2
Adam2kl4u is an unknown quantity at this point
After abit of looking at both pictures the only difference i see in my 2 photos is that the back tire is kind of under the panel in "bit bigger" but looks like my little test failed to find out what i should change to make the wheels bigger. Oh well lol.
Adam2kl4u is offline   Reply With Quote
Old 12-16-2008   #15
Splint
Registered User
Newbie Member
 
Join Date: Dec 2008
Posts: 5
Splint is an unknown quantity at this point
Yo, I got a question regarding editing advanced vehicle statistics, such as deformation resistance and these kind of settings. Basically I just can't seem to find the right file where these things are stored. Just like in SA, I started by checking handling.dat out but no luck. I know it's possible as I took it from here: http://www.gta4.net/vehicles/
Quote:
...All data is taken straight from game files.
So, it does exist but I have no idea where.

Could any of you help me out?
Splint is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:20 PM.