Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

[WIP|REL|IV] add 19 more weapons to GTA4


r.schuindt
 Share

Recommended Posts

i did it like that yes, but it causes a freeze, pretty weird as it is working with you and others.

update your patch to 1.0.0.4 v5

Link to comment
Share on other sites

Hey people !

Can someone send me backup for this mod ? It really crash my game . Toll barricades in parks , police computers as flying rats , and trashmaster as maverick spawn point confused.gif

Link to comment
Share on other sites

i did it like that yes, but it causes a freeze, pretty weird as it is working with you and others.

update your patch to 1.0.0.4 v5

then no 19 extra guns, then it is simple, or i have incompatible mods and a sh*tload of bugs and 19 weapons or all mods working, no sh*tload of bugs without the 19 extra weps, then i choose the last one, the game gives me already enough problems.

Link to comment
Share on other sites

user posted image Have someone have bugs like me ?

I do not have this bug not here ...

is the invisible walls?

How strange ...

Link to comment
Share on other sites

Hi r.schuindt,

 

i wanted to add the following weapons to GTA IV:

- HK MP5 by BWARazor

- Revolver by quechus13

- Silenced Pistol by quechus13

- SPAS by quechus13

 

With open OpenIV i've created a new "weapon2.img", it contains:

- w_hk_mp5.wdr, w_hk_mp5.wtd

- w_revolver.wdr, w_revolver.wtd

- w_silenced.wdr, w_silenced.wtd

- w_spas.wdr, w_spas.wtd

- weapons.wbd from your weapons2.img

I have copied the weapons2.img to "Grand Theft Auto IV\pc\models\cdimages"

 

I've used your default.dat and images.txd.

Next i've edited default2.ide. Look here:

 

## ModelIDs # weapons:  	900-999################################################################################weap################################################################################ handgunsw_silenced,  	w_silenced,  	[email protected],  	1,  30,  0w_revolver,  	w_eagle,  	[email protected],  	1,  30,  0# shotgunsw_spas,  	w_shotgun,  	[email protected],  	1,  50,  0# sub-machinegunsw_hk_mp5,  	w_mp5,    [email protected],  	1,  30,  0end###############################################################################amat###############################################################################w_hk_mp5,	0,	CM_WEAPONS_SMGw_revolver,	0,	CM_WEAPONS_PISTOLw_silenced,	0,	CM_WEAPONS_PISTOLw_spas,  0,	CM_WEAPONS_SHOTGUNend

 

 

 

 

Here you can see my WeaponInfo2.xml:

 

<weaponinfo version="1"><weapon type="EPISODIC_silenced"> <data slot="HANDGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="PISTOL_SMALL" targetrange="45.0" weaponrange="50.0" clipsize="17" ammomax="1500" timebetweenshots="333"> 	<damage base="25" networkplayermod="3.0" networkpedmod="1.0"/> 	<physics force="50.0"/> 	<reload time="2000" fasttime="2000" crouchtime="2000"/> 	<aiming accuracy="0.5">   <offset         x="0.15" y="1.0" z="0.55"/>   <crouchedoffset x="0.2"  y="1.0" z="0.05"/>   <reticule standing="0.65" ducked="0.55" scale="0.3"/> 	</aiming> 	<pickup regentime="120000" ammoonstreet="30"/> 	<controller>   <rumble duration="110" intensity="0.02"/> 	</controller> 	<flags>   <flag>GUN</flag>   <flag>CAN_AIM</flag>   <flag>CAN_FREE_AIM</flag>   <flag>ANIM_RELOAD</flag>   <flag>ANIM_CROUCH_FIRE</flag> 	</flags> </data> <assets model="w_silenced"> 	<anim group="[email protected]" meleegroup1="firearm_core"/> 	<effects>   <muzzle fx="muz_pistol_small"/>   <shell fx="weap_ejected_pistol"/> 	</effects> </assets></weapon><weapon type="EPISODIC_DEAGLE"> <data slot="HANDGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="PISTOL_LARGE" targetrange="50.0" weaponrange="50.0" clipsize="15" ammomax="1500" timebetweenshots="333"> 	<damage base="70" networkplayermod="4.0" networkpedmod="1.0"/> 	<physics force="108.0"/> 	<reload time="2000" fasttime="2000" crouchtime="2000"/> 	<aiming accuracy="1.0">   <offset         x="0.15" y="1.0" z="0.55"/>   <crouchedoffset x="0.2"  y="1.0" z="0.05"/>   <reticule standing="0.6" ducked="0.5" scale="0.3"/> 	</aiming> 	<pickup regentime="240000" ammoonstreet="30"/> 	<controller>   <rumble duration="150" intensity="0.1"/> 	</controller> 	<flags>   <flag>GUN</flag>   <flag>CAN_AIM</flag>   <flag>CAN_FREE_AIM</flag>   <flag>ANIM_RELOAD</flag>   <flag>ANIM_CROUCH_FIRE</flag>                               <flag>HIGHER_BREAK_FORCE</flag> 	</flags> </data> <assets model="w_eagle"> 	<anim group="[email protected]" meleegroup1="firearm_core"/> 	<effects>   <muzzle fx="muz_smg"/>   <shell fx="weap_ejected_pistol"/> 	</effects> </assets></weapon><weapon type="EPISODIC_SHOTGUN"> <data slot="SHOTGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="SHOTGUN" targetrange="35.0" weaponrange="35.0" clipsize="8" ammomax="80" timebetweenshots="1233"> 	<damage base="20" networkplayermod="5.0" networkpedmod="1.0"/> 	<physics force="15.0"/> 	<reload time="2933" fasttime="2933" crouchtime="2933"/> 	<aiming accuracy="0.08">   <offset         x="0.16" y="1.0" z="0.44"/>   <crouchedoffset x="0.16" y="1.0" z="0.0"/>   <reticule standing="1.0" ducked="1.0" scale="0.0"/> 	</aiming> 	<pickup regentime="240000" ammoonstreet="16"/> 	<controller>   <rumble duration="200" intensity="1.0"/> 	</controller> 	<flags>   <flag>GUN</flag>   <flag>CAN_AIM</flag>   <flag>CAN_FREE_AIM</flag>   <flag>ANIM_RELOAD</flag>   <flag>ANIM_CROUCH_FIRE</flag>   <flag>2HANDED</flag>   <flag>HIGHER_BREAK_FORCE</flag> 	</flags> </data> <assets model="w_spas"> 	<anim group="[email protected]"/> 	<effects>   <muzzle fx="muz_shotgun"/>   <shell fx="weap_ejected_shotgun"/> 	</effects> </assets></weapon><weapon type="EPISODIC_MP5"> <data slot="SMG" firetype="INSTANT_HIT" damagetype="BULLET" group="SMG" targetrange="55.0" weaponrange="60.0" clipsize="30" ammomax="1200" timebetweenshots="66"> 	<damage base="20" networkplayermod="2.5" networkpedmod="1.25"/> 	<physics force="50.0"/> 	<reload time="1666" fasttime="1666" crouchtime="2533"/> 	<aiming accuracy="0.55">   <offset         x="0.13" y="1.0" z="0.45"/>   <crouchedoffset x="0.11" y="1.0" z="-0.02"/>   <reticule standing="0.75" ducked="0.6" scale="0.3"/> 	</aiming> 	<pickup regentime="360000" ammoonstreet="60"/> 	<controller>       <rumble duration="100" intensity="0.02"/> 	</controller> 	<flags>   <flag>GUN</flag>   <flag>CAN_AIM</flag>   <flag>CAN_FREE_AIM</flag>   <flag>ANIM_RELOAD</flag>   <flag>ANIM_CROUCH_FIRE</flag>   <flag>TREAT_AS_2HANDED_IN_COVER</flag> 	</flags> </data> <assets model="w_hk_mp5"> 	<anim group="[email protected]" meleegroup1="firearm_core">      <rates firerate="1.0" blindfirerate="1.4"/>     </anim>     <effects>   <muzzle fx="muz_smg"/>   <shell fx="weap_ejected_smg"/> 	</effects> </assets></weapon></weaponinfo>

 

 

Sorry for the long post, i just couldn't spawn the weapons with Simple Native Trainer. Everything else looks alright or? Please help. icon14.gif

 

Link to comment
Share on other sites

Hi r.schuindt,

 

i wanted to add the following weapons to GTA IV:

- HK MP5 by BWARazor

- Revolver by quechus13

- Silenced Pistol by quechus13

- SPAS by quechus13

 

With open OpenIV i've created a new "weapon2.img", it contains:

- w_hk_mp5.wdr, w_hk_mp5.wtd

- w_revolver.wdr, w_revolver.wtd

- w_silenced.wdr, w_silenced.wtd

- w_spas.wdr, w_spas.wtd

- weapons.wbd from your weapons2.img

I have copied the weapons2.img to "Grand Theft Auto IV\pc\models\cdimages"

 

I've used your default.dat and images.txd.

Next i've edited default2.ide. Look here:

 

## ModelIDs # weapons:  	900-999################################################################################weap################################################################################ handgunsw_silenced,  	w_silenced,  	[email protected],  	1,  30,  0w_revolver,  	w_eagle,  	[email protected],  	1,  30,  0# shotgunsw_spas,  	w_shotgun,  	[email protected],  	1,  50,  0# sub-machinegunsw_hk_mp5,  	w_mp5,    [email protected],  	1,  30,  0end###############################################################################amat###############################################################################w_hk_mp5,	0,	CM_WEAPONS_SMGw_revolver,	0,	CM_WEAPONS_PISTOLw_silenced,	0,	CM_WEAPONS_PISTOLw_spas,  0,	CM_WEAPONS_SHOTGUNend

 

 

 

 

Here you can see my WeaponInfo2.xml:

 

<weaponinfo version="1"><weapon type="EPISODIC_silenced"> <data slot="HANDGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="PISTOL_SMALL" targetrange="45.0" weaponrange="50.0" clipsize="17" ammomax="1500" timebetweenshots="333"> 	<damage base="25" networkplayermod="3.0" networkpedmod="1.0"/> 	<physics force="50.0"/> 	<reload time="2000" fasttime="2000" crouchtime="2000"/> 	<aiming accuracy="0.5">   <offset         x="0.15" y="1.0" z="0.55"/>   <crouchedoffset x="0.2"  y="1.0" z="0.05"/>   <reticule standing="0.65" ducked="0.55" scale="0.3"/> 	</aiming> 	<pickup regentime="120000" ammoonstreet="30"/> 	<controller>   <rumble duration="110" intensity="0.02"/> 	</controller> 	<flags>   <flag>GUN</flag>   <flag>CAN_AIM</flag>   <flag>CAN_FREE_AIM</flag>   <flag>ANIM_RELOAD</flag>   <flag>ANIM_CROUCH_FIRE</flag> 	</flags> </data> <assets model="w_silenced"> 	<anim group="[email protected]" meleegroup1="firearm_core"/> 	<effects>   <muzzle fx="muz_pistol_small"/>   <shell fx="weap_ejected_pistol"/> 	</effects> </assets></weapon><weapon type="EPISODIC_DEAGLE"> <data slot="HANDGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="PISTOL_LARGE" targetrange="50.0" weaponrange="50.0" clipsize="15" ammomax="1500" timebetweenshots="333"> 	<damage base="70" networkplayermod="4.0" networkpedmod="1.0"/> 	<physics force="108.0"/> 	<reload time="2000" fasttime="2000" crouchtime="2000"/> 	<aiming accuracy="1.0">   <offset         x="0.15" y="1.0" z="0.55"/>   <crouchedoffset x="0.2"  y="1.0" z="0.05"/>   <reticule standing="0.6" ducked="0.5" scale="0.3"/> 	</aiming> 	<pickup regentime="240000" ammoonstreet="30"/> 	<controller>   <rumble duration="150" intensity="0.1"/> 	</controller> 	<flags>   <flag>GUN</flag>   <flag>CAN_AIM</flag>   <flag>CAN_FREE_AIM</flag>   <flag>ANIM_RELOAD</flag>   <flag>ANIM_CROUCH_FIRE</flag>                               <flag>HIGHER_BREAK_FORCE</flag> 	</flags> </data> <assets model="w_eagle"> 	<anim group="[email protected]" meleegroup1="firearm_core"/> 	<effects>   <muzzle fx="muz_smg"/>   <shell fx="weap_ejected_pistol"/> 	</effects> </assets></weapon><weapon type="EPISODIC_SHOTGUN"> <data slot="SHOTGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="SHOTGUN" targetrange="35.0" weaponrange="35.0" clipsize="8" ammomax="80" timebetweenshots="1233"> 	<damage base="20" networkplayermod="5.0" networkpedmod="1.0"/> 	<physics force="15.0"/> 	<reload time="2933" fasttime="2933" crouchtime="2933"/> 	<aiming accuracy="0.08">   <offset         x="0.16" y="1.0" z="0.44"/>   <crouchedoffset x="0.16" y="1.0" z="0.0"/>   <reticule standing="1.0" ducked="1.0" scale="0.0"/> 	</aiming> 	<pickup regentime="240000" ammoonstreet="16"/> 	<controller>   <rumble duration="200" intensity="1.0"/> 	</controller> 	<flags>   <flag>GUN</flag>   <flag>CAN_AIM</flag>   <flag>CAN_FREE_AIM</flag>   <flag>ANIM_RELOAD</flag>   <flag>ANIM_CROUCH_FIRE</flag>   <flag>2HANDED</flag>   <flag>HIGHER_BREAK_FORCE</flag> 	</flags> </data> <assets model="w_spas"> 	<anim group="[email protected]"/> 	<effects>   <muzzle fx="muz_shotgun"/>   <shell fx="weap_ejected_shotgun"/> 	</effects> </assets></weapon><weapon type="EPISODIC_MP5"> <data slot="SMG" firetype="INSTANT_HIT" damagetype="BULLET" group="SMG" targetrange="55.0" weaponrange="60.0" clipsize="30" ammomax="1200" timebetweenshots="66"> 	<damage base="20" networkplayermod="2.5" networkpedmod="1.25"/> 	<physics force="50.0"/> 	<reload time="1666" fasttime="1666" crouchtime="2533"/> 	<aiming accuracy="0.55">   <offset         x="0.13" y="1.0" z="0.45"/>   <crouchedoffset x="0.11" y="1.0" z="-0.02"/>   <reticule standing="0.75" ducked="0.6" scale="0.3"/> 	</aiming> 	<pickup regentime="360000" ammoonstreet="60"/> 	<controller>       <rumble duration="100" intensity="0.02"/> 	</controller> 	<flags>   <flag>GUN</flag>   <flag>CAN_AIM</flag>   <flag>CAN_FREE_AIM</flag>   <flag>ANIM_RELOAD</flag>   <flag>ANIM_CROUCH_FIRE</flag>   <flag>TREAT_AS_2HANDED_IN_COVER</flag> 	</flags> </data> <assets model="w_hk_mp5"> 	<anim group="[email protected]" meleegroup1="firearm_core">      <rates firerate="1.0" blindfirerate="1.4"/>     </anim>     <effects>   <muzzle fx="muz_smg"/>   <shell fx="weap_ejected_smg"/> 	</effects> </assets></weapon></weaponinfo>

 

 

Sorry for the long post, i just couldn't spawn the weapons with Simple Native Trainer. Everything else looks alright or? Please help. icon14.gif

the change:

<weapon type="EPISODIC_silenced">

 

by:

<weapon type="EPISODIC_1">

 

so on ...

gta4 only recognizes the new weapons such as:

UNUSED0 and / or EPISODIC_1, EPISODIC_ ... EPISODIC_24

 

see more at:

http://www.gtaforums.com/index.php?showtop...l=episodic&st=0

 

biggrin.gif

Link to comment
Share on other sites

 

user posted image Have someone have bugs like me ?

I've got nearly the same problem a while ago, because of adding a episodic weapon...all flying-rats turned into basketball baskets. The reason was that I've messed up the imaginary object id's. To solve this make sure the custom IDE file is the last one which will be loaded by the game.

Move this line...

 

IDE common:/data/default2.ide

 

...from 'default.dat' to 'gta.dat'...

 

...IDE platform:/DATA/MAPS/EAST/BRONX_E2.IDE# AddonIDE common:/data/default2.ide## Scene information#IPL common:/DATA/INFO.ZON...

 

...after all IDE's and before all IPL's.

I hope this way works for you too.

 

@r.schuindt:

About the Non-Sound-Problem...I'm pretty sure you need to edit this two files...

 

...\Grand Theft Auto IV\pc\audio\Config\GAME.DAT16...\Grand Theft Auto IV\pc\audio\Config\SOUNDS.DAT15

 

...they seems to include all weapon definitions. Unfortunately I've got no clue about the file structs and how to add new weapon sound defs.

Maybe you like to take a look into it.

 

Btw... Nice work! Shifty41s_beerhatsmilie2.gif

 

Oh...and Merry X-maz & a Happy new Year!

Link to comment
Share on other sites

That's pretty interesting oinkoink.

 

r.schuindt, i have a problem with spawning the weapons, i firstly tried it with xliveless and ingame trainer, but the weapons wasn't listened.

 

Next i tried Simple Native Trainer, which crashes my game very often, and i also can't spawn the new weapons with the EPISODIC_1 to EPISODIC_5 thingy.

 

Should i delete ScriptHook in the GTA IV directory or what's the problem, i want to spawn the weapons. Please help me again. smile.gif

Link to comment
Share on other sites

Ok thx , but i don't need to cut something from default2.ide ? like oinkoink said

 

EDIT : With that file my game crash while loading confused.gif

Edited by arthurc
Link to comment
Share on other sites

Nop...just put the file from SLAYERMAGGOT and the original modified 'default.dat' (delete the 'default2.ide' line) into '..\Grand Theft Auto IV\common\data\'.

Edited by oinkoink
Link to comment
Share on other sites

Oh-ha... here we go http://www.sendspace.com/file/uhw59d smile.gif

 

 

Re-Post-Quote...

 

...

r.schuindt, i have a problem with spawning the weapons, i firstly tried it with xliveless and ingame trainer, but the weapons wasn't listened.

 

Next i tried Simple Native Trainer, which crashes my game very often, and i also can't spawn the new weapons with the EPISODIC_1 to EPISODIC_5 thingy.

 

Should i delete ScriptHook in the GTA IV directory or what's the problem, i want to spawn the weapons. Please help me again. smile.gif

wink.gif

Edited by oinkoink
Link to comment
Share on other sites

Still got crashes ! this mod is sh*t . I more like to have gta iv weapons than have computers as pigeons or toll-barricades around all city or romans garage and 1st savehouse invinible angry.gif I WANT BACKUP FOR THIS PIECE OF CRAP

Link to comment
Share on other sites

Whoa man, chill down please, maybe the problems are occured by something else... And you should backup your files BEFORE you install any mod.

 

@oinkoink: Alright, xliveless always worked for me without any problems smile.gif

Can you create a custom script for me, which spawns, the mp5, spas, revovler and silenced pistol. Or maybe your script works with all weapons?

Well i just don't understand how to use this in xliveless without any .asi script, seems impossible for me...

Link to comment
Share on other sites

EduardKoeleJuck
Whoa man, chill down please, maybe the problems are occured by something else... And you should backup your files BEFORE you install any mod.

 

@oinkoink: Alright, xliveless always worked for me without any problems smile.gif

Can you create a custom script for me, which spawns, the mp5, spas, revovler and silenced pistol. Or maybe your script works with all weapons?

Well i just don't understand how to use this in xliveless without any .asi script, seems impossible for me...

Can't you use the EPISODIC slots?

Link to comment
Share on other sites

i used "EPISODIC_1", "EPISODIC_2" and so on in weaponsinfo2.xml.

But i can't spawn those weapons with xliveless and ingame trainer whatsthat.gif

Link to comment
Share on other sites

MadcapSmoky22
Still got crashes ! this mod is sh*t . I more like to have gta iv weapons than have computers as pigeons or toll-barricades around all city or romans garage and 1st savehouse invinible angry.gif I WANT BACKUP FOR THIS PIECE OF CRAP

That should teach you to read readme and always make backups, you lil' hypocrite young piece of sh*t.

Link to comment
Share on other sites

EduardKoeleJuck
i used "EPISODIC_1", "EPISODIC_2" and so on in weaponsinfo2.xml.

But i can't spawn those weapons with xliveless and ingame trainer whatsthat.gif

You can spawn them with Super Spawner Script, it works great.

Link to comment
Share on other sites

 

Still got crashes ! this mod is sh*t . I more like to have gta iv weapons than have computers as pigeons or toll-barricades around all city or romans garage and 1st savehouse invinible  angry.gif  I WANT BACKUP FOR THIS PIECE OF CRAP

sure that is my mod that is giving these errors in your game?

you seem well in donkey do not bkps of your original files ...

surely you must have done something wrong there in some other mod, and is putting the blame on this one ...

suicidal.gif

 

 

 

i used "EPISODIC_1", "EPISODIC_2" and so on in weaponsinfo2.xml.

But i can't spawn those weapons with xliveless and ingame trainer  whatsthat.gif

use the updated version 4.9 of simpletrainer of sjaak327 is a great workout is okay updated:

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

 

and do not forget to change the values in the file .ini

 

Episodic = 0 / / Spawn Episodic Weapons

 

to:

Episodic = 1 / / Spawn Episodic Weapons

wink.gif

Edited by r.schuindt
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.