Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

05.11.

2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

 Subscriptions  Log in Register  

Home
 Forums
 Games
 Game Discussion
 Grand Theft Auto IV

AD

GTA IV Modification Tutorial



Adv
· 
Apr 23, 2010
· 
94,434
PC
· PlayStation 3
· Xbox 360

 Subscribe


Not open for further replies.

1 of 9 Next  

Apr 23, 2010  #1

Adv
GTA Guru

I will not give support for this thread

The Ballad of Gay Tony Modding

Use this guide/tutorial when editing v5.0 or mods based off v5.0, this tutorial can also be used to create mods from scratch.

Below is a in-depth guide of the most commonly modded files in GTA and pretty much every public mod to date.

To get started you will need these modding tools and you will need Mods v5.0 by Brady Mac, I PUN1SHM3NT I and xX ShAdOvV Xx.

You will need to open up the common and DLC.rpfs in Open IV provided in the modding tools above.

You can use Notepad to edit the files.

You can read the text inside all the files to get an even better understanding.

Bypassing Patch

In order to mod after the patch you need to change a few files.

Setup XML (In DLC.rpf)

setup2.xml

Setup files define expansion packs of GTA IV, they gave information on certain core files and directories

Open

setup2.xml with notepad.

Rename content.dat to contenx.dat

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 1/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
Code:

<datfile>contenx.dat</datfile>

Now rename content.dat to contenx.dat.

It doesn't have to be called contenx, it just has to be different from "content" because with the patch applied it won't load a modified content.dat without
renaming it.

Content

content.dat (contenx.dat in v5.0)

This file is similar to setup2.xml, it tells the game what the names of the files are to load, example:

Code:

WEAPONINFO common/data/weaponinfo.xml

The above code is basically saying the "WEAPONINFO" is in the common.rpf in "common/data" and its name is "weaponinfo.xml." More on bypassing the
patch below.

Open content.dat with Notepad.

Rename any files you will be modding, examples:

Code:

IDE common/data/vehiclesx.ide

WEAPONINFO common/data/weap.xml

EXPLOSIONFX common/data/effects/exploFx.dat

HANDLING common/data/hand.dat

CARCOLS common/data/carc.dat

PEDGRP common/data/pedgrx.dat

CARGRP common/data/carg.dat

CARGRP common/data/carg.dat

HUDCOLOR common/data/hudcolox.dat
WEAPONFX common/data/effects/weapFx.dat

VISUALSETTINGS common/data/visualsettingx.dat

Now rename the corresponding files.

The reason for all this is because after the title update you need to change the names of the files to bypass the patch. If you mod these files without changing
their names you will get a looping loading screen. If you get a black screen or it freezes on the loading screens then you need to go back and check that you
renamed everything correctly, the file names in the content, setup2, and the file names themselves.

What the patch does is retierives a unique signature (changes if the file has been changed) of each file and compares it with the unmodded signature, if the
retreived signature is not equal to the unmodded signature then the file will not load and hence will loop.

Detailed Patch Bypassing Info

Mostly every useful file from the common.rpf has a check on it. In order to change anything from the original file it has to be merged with the identical file in
the DLC.rpf. Once all the info is added to the DLC files it can be modded in the DLC.rpf and will override the info that was taken from the files in the
common.rpf.

The following useful files from the common.rpf have checks on them:

explosionfx.dat

carcols.dat

cargrp.dat

peds.ide (you can't combine this file with the one in the dlc.rpf, it will cause freezing.)

handling.dat

vehicles.ide (must be deleted from common.rpf in order to overridden with the one in DLC.rpf.)

weaponinfo.dat

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 2/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
The following useful and semi useful files do not have checks on them and can be modded without bypassing:

bloodfx.dat

materialfx.dat

pedfx.dat

vehiclefx.dat

weaponfx.dat

hud.dat

hudcolor.dat

loadingscreens_360.dat

maleplayersettings.dat

femaleplayersettings.dat
scrollbars.dat

taskparams.txt

vehoff.csv

visualsettings.dat

water.dat

American GXT (In both common and DLC.rpf)

american.gxt

These files contain all the text in the game, there are 3 GXTs, one in the common and one in each DLC.

Use the GXT editor provided in the modding tools at the beginning of this guide.

Open your desired .gxt in in the GXT Editor. Depending on your computer, it takes a bit of time to load.

For "Table Name" leave it on "MAIN". Most things in multiplayer are located here along with LOADING and a lot more.

Or if you know the text you want to change just hit CTRL + F, type in what you are looking for, and it will find it.

Edit:

Spoiler

Save, and replace the original.

Time Cycle

timecyc.dat

TO BE ADDED

Blood FX (In common.rpf)

bloodfx.dat

This file contains all the blood effects for each part of your body and each weapon group.

When modding this file be sure to change all the options you want, here is a code from bloodfx.dat:

Spoiler

Here are some others:

MELEE BLUNT

MELEE SHARP

GUNS

SHOTGUN

ect.....

If you want to change the blood spatter from your character when hit by something you can change:

Code:

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 3/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
---SIZE A---- ---SIZE B---- ---LIFE----

MIN MAX MIN MAX MIN MAX

0.12 0.4 0.12 0.4 20.0 30.0

This file is was used to create one of the the "Ghost Rider" mods.

If you want to change the type of effect to something else other then blood spatter then you need to change the "FX_SYSTEM" (see code above) to something
else, example:

Code:

FX_SYSTEM

ambient_fire_generic

ambient_fire_generic

ambient_fire_generic

You can use some effects from entityfx.dat. Here are some examples:

Code:

AMB_BUTTERFLIES ambient_butterflies

AMB_CIG_SMOKE_ASHTRAY ambient_ashtray_smoke

AMB_CIG_SMOKE_ATTACHED ambient_cig_smoke

AMB_CIG_SMOKE_CLOUDS ambient_cig_clouds

AMB_COCKROACHES ambient_cockroaches

AMB_DRIPS_WATER ambient_water_drips

AMB_DRY_ICE ambient_dry_ice

AMB_DUST_LIT_WINDOWS ambient_dust_lit_windows

AMB_FIRE_GENERIC ambient_fire_generic

AMB_FLIES_CIRCLING ambient_flies_circling

Look in entityfx.dat for more.

These may get annoying after a while and no one else can see them except the fire.

Male Player and Female Player Settings (In common and DLC.rpf)

maleplayersettings.dat and femaleplayersettings.dat

This file contains all the info on your multiplayer character model, different clothes he wears and the level you unlock them at. Here is piece of code:

Spoiler

You can change all numbers under "-LEVEL-" to 1 to unlock all the clothes at a lower level. Make sure to do this for all body parts.

Car Colors (In DLC.rpf)

carcols.dat (carc.dat in 5.0)

This file contains all the colors for each vehicle.

Save this image to your desktop:

Spoiler

That image has all the colors available from both regular GTA IV and TBOGT.

Open carcols.dat with notepad.

You will find a list of all cars:

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 4/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

Code:

car3

admiral, 0,0,22,

car4

slamvan 0,0,136,

There are two types of color blocks. car3 and car4.

How do you tell what is what?

car3

1st Digit = Primary Color

2nd Digit = Usually rims and accents

3rd Digit = Two Tone Color

car4 (Based off the SultanRS)

1st Digit = Primary Color

2nd Digit = Stripe

3rd Digit = Roof

4th Digit = Two Tone

Use the image above to make car colors, here is an example:

0,0,27, - 2 tone red and black or just red on some cars.

Note: you cannot change the colors on the APC, AVAN, or any vehicle with a unique paint job like the police car or airport car.

Car Group (In DLC.rpf)

cargrp.dat (carg.dat in 5.0)

This file controls all traffic car spawning and random parked car spawning in the game for both single player and multiplayer. The spawn list is cycled in the
order they are mentioned in the list with 4 cars spawning at a time.

These popcycle groups are used in multiplayer.

POPCYCLE_GROUP_COPS

POPCYCLE_GROUP_NETWORK

Some of the gang popcycles are used in MP as well.

To make a vehicle spawn at the police station put the name in here:

Code:

voodoo, # POPCYCLE_GROUP_COPS

Note: you can only spawn one vehicle at the police station with cargrp.dat. You can also spawn helicopters.

The next line down is:

Code:

# POPCYCLE_GROUP_NETWORK

Put the vehicles you want in this popcycle like this:

Code:

tuga, fbi, reefer, rebla, polpatriot, cavalcade2, pmp600, infernus, # POPCYCLE_GROUP_NETWORK

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 5/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
These vehicles will spawn in whatever order you put them in. You can also put in boats and they will spawn in the water.

ExplosionFX (In DLC.rpf)

explosionfx.dat (explofx.dat in 5.0)

This file contains all the explosion physics in the game.

Open explosionfx.dat with ExplosionFX Editor provided in the modding tools at the beginning of this guide.

Use drop down to All Files to see a renamed explosionfx.dat

Everything in the program is pretty simple and easy to get used to. A few things to pay attention to:

Ragdoll Modifier - The amount of ragdoll the player gets when hit with an explosion.

Cam Shake - The amount of cam shake the player will recieve while near an explosion.

Damage (The entire block) - The damage of the explosions. (You cannot change the damage to affect other players.)

Network player Modifier - A percentage of the base damage that will be dealt to the players in multiplayer.

Network Ped Modifier - A percentage of the base damage that will be done to the peds in multiplayer.

Force Factor - This is how much force is used to push away objects such as players and cars.

Fires - The amount of individual fires the explosions produce on the ground

FX Scale - The size of the explosion effect, 0 being nothing and 1 being the full explosion. Increasing this past 1 can make the explosions larger. This does not
affect the damage nor can other players see this.

Just change the values to what you want, preferably 0.

To change the colors and light effects on the explosions just use the ExplosionFX Editor and here are some other light effects that you can play with:

Range - This is how big the colored light will be on the explosion.

Time - This is how long the light stays lit up for in the explosion.

Handling (In DLC.rpf)

handling.dat (hand.dat in 5.0)

This file contains all the handling physics for each vehicle.

This image should be used if you want to make a good handling line:

Spoiler

You should use the handling editor provided in the modding tools at the beginning of this guide if you wish to edit or make a handling line. If you wish to add
pre-made lines to the file just use notepad.

The mass is how much the car weighs and does not effect the handling. It is not a good idea to set the same mass for all cars because when you are driving
and you hit another car it's like smashing into a brick wall. The best thing to do is to pick some of you favorite cars and set the mass really high, try not to
spawn those cars in the road. You can use 10 digits max for mass, do not go past 9999999999, the car will not move.

Center of Mass Z

Spoiler

For most cars in the 5.0 handling file the center of mass Z is different. It is very important that you have the correct center of mass Z. If your car tips it needs a
lower center of mass Z, but setting the center of mass Z too low can cause the vehicle to spin out and lose control so it is very important to have it perfected.
The center of mass Z in the 5.0 handling file is perfected.

Extended Vehicle Data

Extended vehicle data is for boats, bikes, planes and helicopters. It is basically an extension of the handling line for those types of vehicles. To edit the
extended handling line use the handling editor provided in the modding tools at the beginning of the guide. Here is a code for an extended handling line for a
boat:

Spoiler

You can play around with different properties. I suggest you use a JTAG or the PC version of GTA to perfect a handling line.

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 6/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

Hud (In DLC.rpf)

hud.dat

This file contains all the colors, sizes, and positions of each item on your HUD. Make sure to change the values for both HDTV and CRT TVs.

Here is an example:

Code:

# -HUD ITEM NAME- -POSITION- -SIZE- -COLOUR- -ALPHA-

HUD_AREA_NAME 0.929,0.872 0.358,0.600 HUD_COLOUR_MENU_GREEN 255

HUD_STREET_NAME 0.929,0.912 0.358,0.600 HUD_COLOUR_BLUE 255

HUD_VEHICLE_NAME 0.929,0.832 0.358,0.600 HUD_COLOUR_RED 255

If you want a different color look inside of hudcolor.dat and replace the current. If you want the color to be more transparent, change 255 to a lower number. If
you want the a hud element to be bigger change the size. There are lots of other HUD colors in this file have fun and change what you would like. Do not
change "HUD_COLOUR_NET_PLAYER1" - "HUD_COLOUR_NET_PLAYER16". It will be confusing because it will only be on your screen.

Hud Color ( In DLC.rpf)

hudcolor.dat (hudcolorx.dat in 5.0)

This file has all the colors of the HUD, these values are in RGB and can be changed to anything. Make sure to change the values for both HDTV and CRT TVs.

Changing this:

Code:

HUD_COLOUR_GREEN 0 147 69 (KEEP AS A GREEN)

To this:

Code:

HUD_COLOUR_GREEN 255 255 255 (KEEP AS A GREEN)

To make health packs white on the map.

To change the health, armor, and damage colors change these values:

Code:

HUD_COLOUR_RADAR_HEALTH 0 0 255

HUD_COLOUR_RADAR_ARMOUR 0 255 0

HUD_COLOUR_RADAR_DAMAGE 255 255 255

You can play around with different HUD item colors.

Material FX (In common.rpf)

materialfx.dat

This file contains all the materials and the amount of damage and the effect done to each material when colliding with another.

This file is used for creating the anti scratch mod for cars.

Spoiler

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 7/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

There isn't much else to be changed in this file but you can experiment.

Ped FX (In common.rpf)

pedfx.dat

This file is used for the effects of the player and peds when walking on different materials and surfaces:

Spoiler

This file is used to create the bloody footsteps mod and the ghost rider mod. To get the bloody footsteps effect while walking or any other effect change
"FOOT_FX" and the "WET_FOOT EFFECTS" for the desired surface you want the effect to occur on while walking. Here is a example and a picture:

Spoiler

This is the effect you will get in game when walking on mattress foam if the code above is used:

Spoiler

Some effects like ambient_cockroaches and ambient_fire_generic will stay on forever once the material is walked on that activates it. To get rid of the effects
you need to re-spawn some how, just go to one of the base jump points and teleport yourself up to the top and it will get rid of it. Dieing will also get rid of it but
going through a base jump door re-spawns you just like dieing does.

Ped Group (In DLC.rpf)

pedgrp.dat (pedgrx.dat in 5.0)

This file contains all the peds that spawn, only change the POPCYCLE_GROUP_NETWORK.

It is good to spawn peds that carry guns so when you kill them they drop a lot of ammo, if you have modded your weapon file correctly or are using the one
from v5.0. See peds.ide for info on how to make peds carry weapons.

To change the pedestrians that spawn in multiplayer change this:

Code:

# POPCYCLE_GROUP_NETWORK

M_M_FatCop_01

M_Y_SWAT

M_M_FatCop_01

Peds IDE (In DLC.rpf)

peds.ide(pedsx.ide in v5.0)

Peds.ide contains all different peds and their properties, similar to vehicles.ide. There isn't much to be changed in this file. The peds.ide in the common.rpf
cannot be modded, but it contains all the properties for your multiplayer character such as animations and voice options.

Here are all the properties and an example of a modified one:

Spoiler

The above code is taken from the v5.0 peds.ide file. Johnny and Niko have been modded to carry weapons by changing the "pedtype". The ped types
"GANG_RUSSIAN_2" and "GANG_ITALIAN" carry weapons where as "CIVMALE" does not. Different ped types have different weapons.

Ped Personality (In common.rpf and DLC.rpf)

pedpersonality.dat (pedpersonalityx.dat in v5.0)

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 8/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
This file contains all the personality traits of the peds in GTA and can be edited with ped personality editor in the modding tools at the beginning of the guide.

Vehicle FX (In common.rpf)


vehiclefx.dat

This file contains the different effects for when a vehicle is driving on:

WHEN TYRE IS OK ON A DRY SURFACE

WHEN TYRE IS BURST ON A DRY SURFACE

WHEN TYRE IS OK ON A WET SURFACE

WHEN TYRE IS BURST ON A WET SURFACE

Some effects you can play with are:

DISPLACEMANT_FX - Changing this to something different will give the effect you choose while driving on the surface you put it on.

FRICTION_FX - Skid mark effects

You can use loads of different effects to change them to, to find some look in entityfx.dat.

I don't know if this file affects the way the vehicle handles on a wet surface or with popped tires but I'm pretty sure its just for effects.

Vehicles IDE (In DLC.rpf)

vehicles.ide (vehiclesx.ide)

This file contains all the vehicles and their properties, similar to peds.ide.

I will list some of the properties and what they do below:

Spoiler

Model name - Do not change.

TXD name - Do not change.

Type - This is used to change the type of vehicle it is, car, plane, heli, bike, boat, and train are the types of vehicles.

Handling ID - This is used to give the vehicle a specific handling ID from the handling.dat.

Game Name - Can be used to change the engine sounds (BULLET, SULTANRS, FUTO, DUKES.)

Anims - Changes the animation the player uses to get in, out, sit in, and use the vehicle.

Anims2 - Usually used for convertible vehicles and low riders.

DirtDefLevel - Setting these at 0 makes no dirt appear on the vehicle.

Flags - here are some of the flags you can use:

ext_all - Gives the vehicle a body kit or adds something extra to the vehicle if the vehicle can have it.

ext_strong - Putting this on makes the extension that "ext_all" gives stay on and not fall off when crashed.

livery - Gives the vehicle a special paint job or vinyls if possible for the vehicle.

You can play around with different flags for each vehicle and see what they do. Test on PC or JTAG to save discs.

To make a vehicle fly like a plane change:

Code:

Type HandlingId

plane, A,

"A" handling ID is in the file handling.dat in 5.0 if you wish to make any changes, see handling above.

To make a vehicle fly like a helicopter change:

Code:

Type HandlingId

heli, ANNHIL,

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 9/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

Making a vehicle into a helicopter will cause players to freeze out. If 2 people have the same vehicle flying like a helicopter or plane the other player will not
freeze out.

Notes: You shouldn't attempt to change cars into bikes, bikes into cars, boats into bikes, none of these combos work and they all usually end up with a frozen
Xbox, except helicopter and plane cars. But even helicopter cars have a downside by freezing out the entire lobby.

Visual Settings (In DLC.rpf)

visualsettings.dat (visualsettingx.dat in 5.0)

This file contains a lot of visual settings, values, and multipliers for different things, some commonly used ones are:

Rain color

Headlight color

Taillight color

Traffic light color

There are others you can mess around and play with but you need to be careful what you change, I suggest you test these out on a PC or JTAG until you get
what you desire.

This file is also used to create less motion blur while driving or flying.

Change these values to change the Headlights and Tail Lights:

Code:

car.headlight.angle -0.20

# car.headlight.color 1.00 1.00 0.80

car.headlight.color.red 0.00

car.headlight.color.green 2.50

car.headlight.color.blue 5.50

# car.taillight.color 1.00 0.00 0.00

car.taillight.color.red 3.00

car.taillight.color.green 0.00

car.taillight.color.blue 9.00

The higher the number the larger the lights. Intensity has an effect on this too.

To change the color of the rain:

Code:

# rain.defaultlight 1.00 1.00 1.00

rain.defaultlight.red 0.00

rain.defaultlight.green 5.00

rain.defaultlight.blue 0.00

Task Params (In common.rpf)

taskparams.txt

The settings of the Euphoria Natural Motion (NM) engine for your player and peds while performing different tasks such as falling, shooting, jumping out of
cars, moving, ect....

Here is an example of code from the file:

Spoiler

There isn't much to be done in this file but you can mess around with all the settings to attempt to make something cool.

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 10/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

Vehoff (In common and both DLC.rpfs)

vehoff.csv

Vehoff has all the vehicle view offsets (camera angles) for every vehicle. It is a very complicated file. Here is an example of code from the file:

Spoiler

This file was used to create the in car view mod.

Loading Screens (In common.rpf and DLC.rpf)

loadingscreens_360.dat in common.rpf and loadingscreens.dat for DLC.rpf

This file contains all the animation images and their options like duration. Here is an example:

Spoiler

Flag - is the image that appears on the screen.

Duration - the time in milliseconds the animation stays on the screen.

This has options for both CRT (Non-Widescreen) and HDTVs(Widescreen.) Be sure to change it for the type of tv you have or both.

Scroll Bars (In common.rpf and DLC.rpf)

scrollbars.dat (scrollbarf.dat in v5.0)

This file has all the text on electric billboards and signs in times square and other buildings around the map.

Put the text you want under these options like so:

Spoiler

Water (In common.rpf)

water.dat

This file is really complicated and has usually has 2 out comes when modding it, flooded or no water.

If you don't want water, just delete everything in water.dat and save.

To raise the water, use this line by davilex:

Code:

2999.0 -2999.0 6.0001 0.0 0.0 1.0 0.993 -2999.0 -2999.0 6.0001 0.0 0.0 1.0 0.987 2999.0 2999.0 6.0001 0.0 0.0 1.0 1.0 -1600.0 2999.0 6.

This will still allow you to get into Annihilators and drive in parts of the city.

If you want to make the water level higher change all the parts containing:

Code:

6.0001

to a higher number.

For example:

Code:

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 11/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

2999.0 -2999.0 7.0001 0.0 0.0 1.0 0.993 -2999.0 -2999.0 7.0001 0.0 0.0 1.0 0.987 2999.0 2999.0 7.0001 0.0 0.0 1.0 1.0 -1600.0 2999.0 7.

If you want to make the water level lower, do the same as above only lowering the number instead. Remember 0 is the default water height. Making the
number a negative, will put the water level below the default but not get rid of it.

For example:

Code:

2999.0 -2999.0 -2.0001 0.0 0.0 1.0 0.993 -2999.0 -2999.0 -2.0001 0.0 0.0 1.0 0.987 2999.0 2999.0 -2.0001 0.0 0.0 1.0 1.0 -1600.0 2999.0

WeaponFX (In both common and DLC.rpf)

weaponfx.dat (weapfx.dat in 5.0)

WeaponFX contains all materials and all weapon groups(see weaponinfo.xml) and creates effects for different weapon groups. This file shows what happens
to different materials when a projectile hits it.

Spoiler

By setting all them all to 0, nothing can effect the car from weapons. The "MELEE_GENERIC" value is left in because in v5.0 the buzzard is given that weapon
group in the weaponinfo.xml so when people are shooting the mini gun at the car there is an effect so the player can see when he is hitting an object or not.

Weapon Info (DLC.rpf)

weaponinfo.xml (weap.xml in v5.0)

This file contains everything to do with the weapons, how they shoot, what they shoot, how much damage they do, ect..

Below I will list the most used and most important things to change and some cool mods that you can do.

Weapon types - This is basically the name of the weapon. You cannot add new weapon types

List of weapon types:

UNARMED

BASEBALLBAT

POOLCUE

KNIFE

PISTOL

DEAGLE

SHOTGUN

BARETTA

MICRO_UZI

MP5

AK47

M4

SNIPERRIFLE

M40A1

RLAUNCHER

GRENADE

ROCKET

MOLOTOV

OBJECT

CAMERA

FTHROWER

MINIGUN

EPISODIC_1 - Grenade Launcher (both episodes)

EPISODIC_2 - Sweeper Shotgun (TLaD)

EPISODIC_3 - (Unassigned)

EPISODIC_4 - (Unassigned)

EPISODIC_5 - Grenade for Grenade Launcher (Both Episodes)

EPISODIC_6 - Sawnoff Shotgun (TLaD)

EPISODIC_7 - Semi-Auto Pistol (TlaD)

EPISODIC_8 - Pipe Bomb (TLaD)

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 12/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
EPISODIC_9 - .44 Mag (TBoGT)

EPISODIC_10- Explosive Shotgun (TBoGT)

EPISODIC_11- Auto Assault Shotgun (TBoGT)

EPISODIC_12- P90 (TBoGT)

EPISODIC_13- Gold Uzi (TBoGT)

EPISODIC_14- M249 LMG (TBoGT)

EPISODIC_15- DSR-1 Sniper (TBoGT)

EPISODIC_16- Sticky Bomb (TBoGT)

EPISODIC_17- Buzzard Rocket Launcher - (TBoGT)

EPISODIC_18- Rocket For Buzzard Rocket Launcher (TBoGT)

EPISODIC_19- Buzzard Minigun (TBoGT)

EPISODIC_20- APC Cannon (TBoGT)

EPISODIC_21- Parachute (TBoGT)

EPISODIC_22-(Unassigned)

EPISODIC_23-(Unassigned)

EPISODIC_24-(Unassigned)

EXPLOSION

UNIDENTIFIED

UNUSED0

ARMOUR

RAMMEDBYCAR

RUNOVERBYCAR

UZI_DRIVEBY

WEAPONTYPE_LAST_WEAPONTYPE

DROWNING

FALL

ANYMELEE

ANYWEAPON

Data slot - This is the slot to carry the weapon in. You can only carry one of each weapon slot on your player. You can mix up the weapon slots if you want to
shoot a 2 handed weapon out of the window.

List of data slots:

UNARMED

MELEE

HANDGUN

SHOTGUN

SMG

RIFLE

SNIPER

HEAVY

THROWN

SPECIAL

GIFT

Firetype - Keep this at default unless you're making a gun that shoots projectiles, then put "PROJECTILE."

Damagetype - Always leave this at "BULLET" no matter what, changing this from bullet to something else can cause you to be hurt by that weapon type.

Group - This is what effect your gun uses from the weaponfx.dat.

Target Range - This is how far you can lock on to a target from a distance.

Weapon Range - This is how far your bullets will go. In v5.0 its set at 99999, but your bullets won't actually reach that far when killing normal players.

Clip Size - How big your weapon's clip is. Set at "9999" or "999999" if you set this at "99999" your weapon will be unusable. I don't know what happens if you
make it bigger then "999999."

Ammo Max - The max amount of ammo that can go in your gun.. Set at "9999" or "999999" if you set this at "99999" your weapon will be unusable. I don't know
what happens if you make it bigger then "999999."

Time Between Shots - Time between shots in milliseconds. (seems to only work on helicopter)

Damage Base - Bullet Damage

FPS - A decimal percentage of the base damage that defines the amount of damage dealt towards NPCs and players while the weapon is shot from the scope

Network Player Mod - A decimal percentage of the base damage that defines the amount of damage dealt towards your player.

Network Ped Mod - A decimal percentage of the base damage that defines the amount of damage dealt towards pedestrians.

Physics Force - Force of bullet when hitting an object. You can set this to nagative force as well.

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 13/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

Reload Time - Time in milliseconds you reload in. Pointless if you have a big clip.

Fast Time - Time it takes you to aim in milliseconds.

Crouch Time - Time it takes you to crouch while holding the weapon.

Aiming Accuracy - This is how accurate the gun is, the lower the number the more accurate it is, the higher the harder it is to aim. Keep this at 0.

Accuracy FPS - The acceracy of a weapon shot from the scope

Offset X Y Z - Determines auto-aim drift on the x,y,z coords

Crouched Offset X Y Z - Determines auto-aim drift on the x,y,z coords while crouched.

Reticule Standing Ducked and Scale - Reticule size while standing and crouched and target scale (zoom).

Rate Of Fire - How fast your weapon will fire

Blind Fire Rate - How fast your weapon will fire while blind fireing from cover.

Projectile creating can be complicated. A projectile uses a weapontype, some examples of projectiles are: ROCKET, GRENADE, EPISSODIC_18

Projectile Type - When creating a projectile you need to choose its type.

Type To Create - This creates a projectile for a gun to shoot. You can make your own projectile types for special special explosions like DIR_WATER_HYDRANT
and DIR_FLAME by using an unassigned weapon type. This tends to lag the multiplayer games out though so don't use this method, I'll add a new one below. If
you want your weapon to shoot a normal explosion just use the "ROCKET".

Fuse time - The time it takes the projectile to explode in milliseconds

Explosion Type - Determines the explosion type from the explosionfx.dat in your projectile.

Vehicle Velocity - Projectiles speed. 800 is perfect, dont go above 1000.

Assets Model - Weapons model. Can be changed to other model, but there are some that will not work. Don't change it to another weapon, change it to
something unique like a jackhammer or a nail gun. Make sure no 2 weapons have the same model type unless it's for weapon replication (will be explained
below.)

Commonly used weaponinfo.xml mods

Weapon Replication

Tazer

Mod Killers (outdated)

God mode

Instant Hit/No Lag Projectiles/Superman Mod

More info on weaponinfo.xml coming soon.

END OF TUTORIAL MORE DETAILS COMING SOON. If you have any suggestions PM them to Brady Mac

Creators of this tutorial:

Adv

Brady Mac

I PUN1SHM3NT I

34

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 14/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
Apr 23, 2010  #2

Adv
GTA Guru

Reserved for weaponinfo post.

I'll update this post with a complete weaponinfo break down I've been working on for quite some time.
2

Apr 23, 2010  #3

Adv
GTA Guru

Reserved for various other tutorials.

I'll update this post later with a few tutorials I am writing.


2

Apr 23, 2010  #4

xXShAdOvVXx
<(^_^)>

Nice job to add in just one super tutorial

Apr 23, 2010  #5

ROBINO 95
R Enthusiast

but how do i make a car to Drift And Hydraulics, and how to add more car and make them drift?

and how do i make a gun shoot Sexy time explosion? - and how do i make a car fly like helicopter without freeze others?
2

Apr 23, 2010  #6

Adv
GTA Guru

ROBINO 95 said: 

but how do i make a car to Drift And Hydraulics, and how to add more car and make them drift?

and how do i make a gun shoot Sexy time explosion? - and how do i make a car fly like helicopter without freeze others?

I assume you are foreign. To make cars drift or have hydraulics, find the line in Brady's mod and copy/paste it over your desired car(s).

I'm making a detailed part for the weapon's file. But:

Code:

<projectile>

<typetocreate type="EPISODIC_6"/>

You can't make a car fly like a helicopter and not freeze other players. But there is a way around this. Have a non-modder get the helicopter car for you and

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 15/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
bring it to you. When you get in, it will not freeze and they can see you flying it like a helicopter.

If you have questions regarding missing sections please wait, I'm working on those.
1

Apr 23, 2010  #7

dude8937673
D I'm 12, Whats A Jtag?

you can also take out water by removing all the text in the water.dat
1

Apr 23, 2010  #8

ROBINO 95
R Enthusiast

Adv said: 

I assume you are foreign. To make cars drift or have hydraulics, find the line in Brady's mod and copy/paste it over your desired car(s).

I'm making a detailed part for the weapon's file. But:

Code:

<projectile>

Click to expand...
<typetocreate type "EPISODIC 6"/>

Can someone make a edit of 4.2.6 to me? i tell u what to edit if u can

Apr 24, 2010  #9

nextth
N Enthusiast

This is a good post but do you have a handling line for fast boats been trying a lot but no luck, would like them to go as fast as car mod.

here is the water line I use, this will allow you to even get in helicopter as well still be able to drive in parts of city and through water.

2999.0 -2999.0 6.0001 0.0 0.0 1.0 0.993 -2999.0 -2999.0 6.0001 0.0 0.0 1.0 0.987 2999.0 2999.0 6.0001 0.0 0.0 1.0 1.0 -1600.0 2999.0 6.0001 0.0 0.0 1.0
0.995 5 1.0

Apr 24, 2010  #10

dude8937673
D I'm 12, Whats A Jtag?

nextth said: 

This is a good post but do you have a handling line for fast boats been trying a lot but no luck, would like them to go as fast as car mod.

here is the water line I use, this will allow you to even get in helicopter as well still be able to drive in parts of city and through water.

2999.0 -2999.0 6.0001 0.0 0.0 1.0 0.993 -2999.0 -2999.0 6.0001 0.0 0.0 1.0 0.987 2999.0 2999.0 6.0001 0.0 0.0 1.0 1.0 -1600.0 2999.0 6.0001 0.0 0.0 1.0 0.995 5 1.0

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 16/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

yea i seen that flood line on some forums..they had that back when the game first came out on pc.. if i was gonna use a flood line i would want one thats super
high like half way up the statue of happiness

Apr 24, 2010  #11

Gibbles
G Newbie

Is this all done in the dlc.rpf or the common.rpf?

Apr 24, 2010  #12

Adv
GTA Guru

Gibbles said: 

Is this all done in the dlc.rpf or the common.rpf?

The files are from both the common.rpf & the dlc.rpf. I will add more files to the post and finish with those reserved posts either today or tomorrow.

Apr 24, 2010  #13

Gibbles
G Newbie

Adv said: 

The files are from both the common.rpf & the dlc.rpf. I will add more files to the post and finish with those reserved posts either today or tomorrow.

So I would have to edit and replace files from the dlc and then do the same for the common?

Apr 24, 2010  #14

nextth
N Enthusiast

bradymac said: 

yea i seen that flood line on some forums..they had that back when the game first came out on pc.. if i was gonna use a flood line i would want one thats super high
like half way up the statue of happiness

If you change all the first digits of the (6.0001) like 7.0001 the water line will get high each level = #.

2999.0 -2999.0 7.0001 0.0 0.0 1.0 0.993 -2999.0 -2999.0 7.0001 0.0 0.0 1.0 0.987 2999.0 2999.0 7.0001 0.0 0.0 1.0 1.0 -1600.0 2999.0 7.0001 0.0 0.0 1.0
0.995 5 1.0

Apr 24, 2010  #15

kleo
Enthusiast

you forgot model mods

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 17/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

Apr 24, 2010  #16

Ix Rav3r xI
Getting There

kleo said: 

you forgot model mods

nice post adv

Apr 24, 2010  #17

DeRealGatekeepe
D Enthusiast

Water

Wooh, no water...its...boring. If you don't want water, just delete everything in water.dat and save.

For floods use this Water Tool.

When you open the Water Tool it will ask you for your GTA IV location, choose the water directory inside of the Water Tool folder. When the program loads, you
will be given a text box. Numbers between 4 & 7 are good for floods.

Thanks to nextth for this flood line:

2999.0 -2999.0 6.0001 0.0 0.0 1.0 0.993 -2999.0 -2999.0 6.0001 0.0 0.0 1.0 0.987 2999.0 2999.0 6.0001 0.0 0.0 1.0 1.0 -1600.0 2999.0 6.0001 0.0 0.0 1.0
0.995 5 1.0

This will still allow you to get into Annihilators and drive in parts of the city.

------------------------------------------------------------------------------

I think you need to update that Little thankx, If any one gets the Credit for that line I think it goes over TO TIM!!!!

That is the water line he gave me a while ago, and That is the Line I put in the water file I posted a a few weeks ago. Unless it came form Nexth in th efirst
place then fine, But I am thinking ... probably not: :thumbdown:

Apr 25, 2010  #18

nextth
N Enthusiast

DeRealGatekeepe said: 

Water

Wooh, no water...its...boring. If you don't want water, just delete everything in water.dat and save.

For floods use this Water Tool.

When you open the Water Tool it will ask you for your GTA IV location, choose the water directory inside of the Water Tool folder. When the program loads, you will be
given a text box. Numbers between 4 & 7 are good for floods.

Click to expand...

over TO TIM!!!!I THINK NOT?

Water Mod

Make the water rise or fall Information Files

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 18/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community
Author: davilex

Water level: "20"

Browse Screenshots

Download Mod

Date Added File Description Filesize Downloads

Nov 16 2009 Water Mod v1.1 0.008 MB 523 Download

Nov 01 2009 Water Mod v1.0 0.008 MB 265 Download

Website: http://www.gtagarage.com/mods/show.php?id=9010

Works with:

Release/Version: 1.1

Status: Complete

Started on: 01 Nov 2009

Last Updated: 01 Nov 2009

Views: 6084

Type: Conversion

Rating: (5 votes)

ALSO i did not say i made it I said here is the water line I use!!

Apr 25, 2010  #19

Adv
GTA Guru

nextth said: 

Author: davilex

Nov 16 2009 Water Mod v1.1 0.008 MB 523 Download

ALSO i did not say i made it I said here is the water line I use!!

Exactly.

Apr 25, 2010  #20

DeRealGatekeepe
D Enthusiast

WOOOAAAAAAA RELAX

damn guy for a 40 year old playen kid games you sure get upset easy lmao.

Still Big FAIL copy Paste :thumbdown:

Tut is all old news also All better tuts posted VIDEO, SPEAKING TUTS are the way to go nOObs like to see how and where not just what!!!

PS ANYONE CHANGING WATER dont waist your time with the "water tool"

Just open up the water.dat in word delete it all paste in the line that "NEXTTH" so generously pasted up there and change the "6" to whatever height you want
above 6 is deeper obviously and down to 0 is normal and below 0 is lower water

1 of 9 Next  


Not open for further replies.

Share:      

Home
 Forums
 Games
 Game Discussion
 Grand Theft Auto IV

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 19/20
05.11.2021, 17:51 GTA IV Modification Tutorial | Se7enSins Gaming Community

Community platform by XenForo® © 2010-2021 XenForo Ltd.


Thread Filter by AddonsLab
Design by: Pixel Exit

 Se7enSins Dark

Contact us Terms of Use Privacy policy Help Home 

https://www.se7ensins.com/forums/threads/gta-iv-modification-tutorial.199631/ 20/20

You might also like