Quantcast

Jump to content

» «
Photo

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

270 replies to this topic
eyein12
  • eyein12

    Player Hater

  • Members
  • Joined: 10 Jan 2010

#241

Posted 12 June 2010 - 05:13 PM Edited by eyein12, 12 June 2010 - 09:01 PM.

I figured it out apprently it was alot easier than i thought.

however have we gotten ot the level where we can match up the sounds yet or just use the default ones ?

crevlthe
  • crevlthe

    Hello there.

  • Members
  • Joined: 07 Dec 2008

#242

Posted 15 June 2010 - 09:54 AM

this mod is excellent in the way that I can now have an arsenal of weapons at my disposal, though I have to say my computer still crashes if I load over 5 episodic weapons. it crashes if I try to raise the weapon to aim it. is my computer running out of ram or is it just buggy?

I have started a new savegame, btw.


MadcapSmoky22
  • MadcapSmoky22

    Li'l G Loc

  • BUSTED!
  • Joined: 09 Nov 2009

#243

Posted 15 June 2010 - 10:10 AM

You probably installed something wrong...and not started a new savegame, but totally NEW GAME! Delete all your savegames and start a new game...

crevlthe
  • crevlthe

    Hello there.

  • Members
  • Joined: 07 Dec 2008

#244

Posted 15 June 2010 - 01:52 PM

QUOTE (MadcapSmoky22 @ Jun 15 2010, 20:10)
You probably installed something wrong...and not started a new savegame, but totally NEW GAME! Delete all your savegames and start a new game...

okay, I'll give that a try... thanks for the suggestion.

crevlthe.

janusantsky
  • janusantsky

    Rat

  • Members
  • Joined: 27 Apr 2010

#245

Posted 16 June 2010 - 11:42 PM

hello crevlthe if you game crash when you aim with a gun the reason is that you have not the same anim for the gun
for an example in default.ide you have an anim for the w_glock it's gun@handgun and in weaponinfo.xml you must have the same anim with the glock (the entry is pistol )

and another thing r.schuindt do you have fix the problem with the projectile wo stop in air like in the screenshot ?

r.schuindt
  • r.schuindt

    Hustler

  • Members
  • Joined: 07 Jul 2007

#246

Posted 16 June 2010 - 11:51 PM

QUOTE (janusantsky @ Jun 16 2010, 23:42)
hello crevlthe if you game crash when you aim with a gun the reason is that you have not the same anim for the gun
for an example in default.ide you have an anim for the w_glock it's gun@handgun and in weaponinfo.xml you must have the same anim with the glock (the entry is pistol )

and another thing r.schuindt do you have fix the problem with the projectile wo stop in air like in the screenshot ?

still can not resolve no, if you can help me, I thank you ...
icon14.gif

crevlthe
  • crevlthe

    Hello there.

  • Members
  • Joined: 07 Dec 2008

#247

Posted 17 June 2010 - 12:02 AM

QUOTE (janusantsky @ Jun 17 2010, 09:42)
hello crevlthe if you game crash when you aim with a gun the reason is that you have not the same anim for the gun
for an example in default.ide you have an anim for the w_glock it's gun@handgun and in weaponinfo.xml you must have the same anim with the glock (the entry is pistol )

and another thing r.schuindt do you have fix the problem with the projectile wo stop in air like in the screenshot ?

okay, coolios, I'll see if I've matched any of the anims wrong.

thanks for the suggestion.

crevlthe.
  • Ss4gogeta0 likes this

AvEngErZx
  • AvEngErZx

    Player Hater

  • Members
  • Joined: 02 Jun 2010

#248

Posted 18 June 2010 - 02:10 AM Edited by AvEngErZx, 18 June 2010 - 02:28 AM.

Errm, when I use the trainer.
It says Episodic Weapons Disabled

EDIT:

Thanks alot guys

r.schuindt
  • r.schuindt

    Hustler

  • Members
  • Joined: 07 Jul 2007

#249

Posted 18 June 2010 - 02:22 AM

QUOTE (AvEngErZx @ Jun 18 2010, 02:10)
Errm, when I use the trainer.
It says Episodic Weapons Disabled

enable in .ini

crevlthe
  • crevlthe

    Hello there.

  • Members
  • Joined: 07 Dec 2008

#250

Posted 18 June 2010 - 02:23 AM

QUOTE (AvEngErZx @ Jun 18 2010, 12:10)
Errm, when I use the trainer.
It says Episodic Weapons Disabled

you need to change a line inside your "trainer.ini" inside your game folder.

look for the line "Episodic=0" and change the 0 to a 1.

it should then let you spawn episodic weapons.

crevlthe.

AvEngErZx
  • AvEngErZx

    Player Hater

  • Members
  • Joined: 02 Jun 2010

#251

Posted 18 June 2010 - 03:55 AM

QUOTE (crevlthe @ Jun 18 2010, 02:23)
QUOTE (AvEngErZx @ Jun 18 2010, 12:10)
Errm, when I use the trainer.
It says Episodic Weapons Disabled

you need to change a line inside your "trainer.ini" inside your game folder.

look for the line "Episodic=0" and change the 0 to a 1.

it should then let you spawn episodic weapons.

crevlthe.

Eh, some of my guns has no sound

I put all the Audio in the trainer.ini

like this [with refrence from weaponinfo.xml by sequence]
Episodic_1=xxx

crevlthe
  • crevlthe

    Hello there.

  • Members
  • Joined: 07 Dec 2008

#252

Posted 19 June 2010 - 12:43 PM Edited by crevlthe, 19 June 2010 - 12:46 PM.

QUOTE (crevlthe @ Jun 17 2010, 10:02)
QUOTE (janusantsky @ Jun 17 2010, 09:42)
hello  crevlthe if you game crash when you aim with a gun the reason is that you have not the same anim for the gun
for an example in default.ide you have an anim for the w_glock it's gun@handgun and in weaponinfo.xml you must have the same anim with the glock (the entry is pistol )

and another thing r.schuindt do you have fix the problem with the projectile wo stop in air like in the screenshot ?

okay, coolios, I'll see if I've matched any of the anims wrong.

thanks for the suggestion.

crevlthe.

nope, game still crashing despite all the references to the models and animations being correct in WeaponsInfo.xml. I have also started a new game as well. my game just doesn't like the episodic animations very much?

crevlthe.


p.s. sorry, silly me, I forgot to try the default.ide suggestion. thanks.

SirPancake
  • SirPancake

    Player Hater

  • Members
  • Joined: 23 Jul 2010

#253

Posted 11 August 2010 - 07:04 AM

Is this supposed to work on Multiplayer?

When I ask people, they say they see invisible guns and don't hear the gun sounds, >:|

irnoid
  • irnoid

    Player Hater

  • Members
  • Joined: 27 Jan 2010

#254

Posted 14 August 2010 - 07:06 PM

I am having trouble with this one... mostly because I know nothing about mods...I managed to replace the files as specified...but thats where I got lost. How do I edit the trainer 6.0 to spawn the weapons and add sound? I know I have to open the trainer file and edit, but nothing matches the code provided. Any help...I have no idea what to do... i'm a noob sad.gif I'm trying to get the BOGT weapons in TLAD. I like the biker gameplay, but want the weapons from the the other... please help.

FatAssCartman
  • FatAssCartman

    Crackhead

  • Members
  • Joined: 12 Jan 2009

#255

Posted 02 December 2010 - 03:17 AM Edited by FatAssCartman, 02 December 2010 - 03:40 AM.

can't EPISODIC_2, EPISODIC_3, EPISODIC_4, EPISODIC_8 be used in TBoGT?

weapon types:
UNARMED
BASEBALLBAT
POOLCUE
KNIFE
GRENADE
MOLOTOV
ROCKET
PISTOL
UNUSED0
DEAGLE
SHOTGUN
BARETTA
MICRO_UZI
AK47
SNIPERRIFLE
M40A1
RLAUNCHER
FTHROWER
MINIGUN
EPISODIC_1 - EPISODIC_24
CAMERA
OBJECT
WEAPONTYPE_LAST_WEAPONTYPE
ARMOUR
RAMMEDBYCAR
RUNOVERBYCAR

are these also weapon types?
EXPLOSION
UZI_DRIVEBY
DROWNING
FALL
UNIDENTIFIED
ANYMELEE
ANYWEAPON


maybe in wrong topic:
i made a soundscript a couple of months ago and want to know if it needs improvement

CODE

   private void WeaponSounds_Tick(object sender, EventArgs e)
   {
       if (!SoundsEnabled)
           return;
       
       float maxRadius = 55f;
       GTA.Ped[] pedArray = GTA.World.GetPeds(Player.Character.Position, maxRadius);
       foreach (GTA.Ped Pede in pedArray)
       {
           if (Exists(Pede) && Pede != null)
           {
               if (Pede.isShooting)
               {
                   int i;
                   for (i = 1; i < 25 + 1; i++)
                   {
                       weapon = Pede.Weapons.Current;
                       if (i < 10) episodic = "Episodic_0" + i.ToString();
                       if (i >= 10) episodic = "Episodic_" + i.ToString();

                       if (weapon.ToString() == episodic)
                       {                          
      Vector3 rhand = Pede.GetBonePosition(Bone.RightHand);
                           int id = GTA.Native.Function.Call<int>("GET_SOUND_ID");
                           GTA.Native.Function.Call("PLAY_SOUND_FROM_POSITION", id, EPISODIC_[i], rhand.X, rhand.Y, rhand.Z);
                           GTA.Native.Function.Call<int>("RELEASE_SOUND_ID", id);                          
                       }
                   }
               }
           }
       }
   }                    


does anybody know the difference between PLAY_SOUND_FROM_POSITION and PLAY_FIRE_SOUND_FROM_POSITION?
and how to use PLAY_SOUND_FROM_OBJECT


sound for sniper biggrin.gif
SLO_MO_RIFLE_FIRE_MT
SLO_MO_EAGLE_FIRE_MT


shaboobala
  • shaboobala

    Caw-sack

  • Members
  • Joined: 17 Dec 2004

#256

Posted 16 February 2011 - 05:57 AM

So, I had this mod working without problems a while back. Now I've installed gta4 v 1.03 on a new computer and I've also re-installed this mod. The weapons are all useable but the audio is missing. I'm using the "real recorded gunsounds" mod with this (http://www.gtagarage...how.php?id=9978), so is there any way to get it working? I'm pretty sure I had both these mods in the past and everything was okay.

BrucieK
  • BrucieK

    Player Hater

  • Members
  • Joined: 18 Feb 2011

#257

Posted 19 February 2011 - 06:08 PM

If you want sound, replace this section in trainer.ini:
CODE
//Sounds for episodic weapons//

[Sounds]
Enabled=1
EPISODIC_1=
EPISODIC_2=
EPISODIC_3=EAGLE_FIRE
EPISODIC_4=EAGLE_FIRE
EPISODIC_5=PISTOL_FIRE
EPISODIC_6=UZI_FIRE
EPISODIC_7=UZI_FIRE
EPISODIC_8=MP5_FIRE
EPISODIC_9=MP5_FIRE
EPISODIC_10=SHOTGUN_FIRE
EPISODIC_11=BARETTA_FIRE
EPISODIC_12=SHOTGUN_FIRE
EPISODIC_13=ROCKET_LAUNCH_GRENADE
EPISODIC_14=SHOTGUN_FIRE
EPISODIC_15=M4_FIRE
EPISODIC_16=M4_FIRE
EPISODIC_17=SNIPER_FIRE
EPISODIC_18=ROCKET_LAUNCH_GRENADE
EPISODIC_19=ROCKET_LAUNCH_GRENADE
EPISODIC_20=
EPISODIC_21=
EPISODIC_22=
EPISODIC_23=
EPISODIC_24=
EPISODIC_25=
EPISODIC_26=
EPISODIC_27=
EPISODIC_28=
EPISODIC_29=
EPISODIC_30=
EPISODIC_31=
EPISODIC_32=
EPISODIC_33=
EPISODIC_34=
EPISODIC_35=
EPISODIC_36=

shaboobala
  • shaboobala

    Caw-sack

  • Members
  • Joined: 17 Dec 2004

#258

Posted 23 February 2011 - 09:00 PM

I'll give it a try, thanks.

shaboobala
  • shaboobala

    Caw-sack

  • Members
  • Joined: 17 Dec 2004

#259

Posted 25 February 2011 - 06:06 PM

Doesn't work. sad.gif

shaboobala
  • shaboobala

    Caw-sack

  • Members
  • Joined: 17 Dec 2004

#260

Posted 09 March 2011 - 01:14 AM

Bump. Anyone?

:s

GTA IV Modder Liker
  • GTA IV Modder Liker

    Player Hater

  • Members
  • Joined: 22 Mar 2011

#261

Posted 25 March 2011 - 06:34 AM

hey man my favorite weapon is m249 which is EPSISODIC 16 and when i shoot there is no sound and im havin a headache from that GROUP AUDIO Weapons yu said confused.gif whatsthat.gif

Leon026
  • Leon026

    Player Hater

  • Members
  • Joined: 21 Aug 2011

#262

Posted 21 August 2011 - 07:33 PM

I just noticed that when doing this to GTA IV (no DLC), it flags the game as a pirated copy due to the modified default.ide - ie it wont let you use the computers at the internet café. I know full well from reading the forums after wondering why I couldnt access the computers that its an anti-piracy thing that R* added in, which is why I thought it strange as I have a legit DVD version of the game I bought 3 years ago. So after much manipulation and installing fresh copies of the game about 3 times and slowly adding the mods back in one by one, I have come to the conclusion (after several verifications) that the default.ide from the weapon unlocker causes the game to flag the copy as a pirated copy.

Has there been a workaround for this to make it NOT flag as a pirated copy so I can actually use the internet café PCs useable? Personally I'm not too interested in the DLC weapons themselves... I end up replacing the models and editing the weaponinfo.xml to create my own weapons so its not as if I'm trying to get around the fact that I dont own TBoGT - I just want more weapons so I can have more M4 and MP5 variants to play with.

Paracelzus
  • Paracelzus

    Player Hater

  • Members
  • Joined: 20 Aug 2011

#263

Posted 01 October 2011 - 07:28 AM Edited by Paracelzus, 09 October 2011 - 12:51 PM.

@R.Schuindt: I first tried both Nima_1i's and your tutorial (http://www.gtaforums...8&hl=r.schuindt), but none worked (just melee) when i tried to add episodic weapons cryani.gif so i gave up and thought it was a 1.0.7.0 problem (after trying every possible combination of files, names, trainer.ini sound settings etc. panic.gif ). But when I downloaded this, it all worked biggrin.gif probably because the add of anim.img and animgrp.dat, which was not present at the formentioned tuts?

So thank you very much for this mod! I can finally rampage LC with my new arsenal that_guy2057_evilgrin.gif

I just have some questions:

1: I think I understand all the files in it and your changes to them except anim.img. What did you do/add in this?
2: There is no reload sound (I added a Glock 18C to Episodic_5) how may I fix this?
3: Also, when dropped (by player or otherwise) the episodic weapons just stays in mid-air. Any way to fix this?

PS: I just copied and pasted the modfiles; no other changes to them except weapons.img and WeaponInfo.xml.

Grateful for any replies!

Akavari
  • Akavari

    Gangsta

  • Members
  • Joined: 24 Aug 2009
  • None

#264

Posted 03 March 2012 - 10:50 PM

I can't get this to work for me. I have the trainer, I installed all the files as instructed, but I don't know how to spawn the weapons. They don't appear on the menu, and I browsed through the files in SparkIV and there weren't any extra weapons. I wanted to mod the new weapons so I could have the original setup in addition to some new skins that I could spawn manually.

Lenin
  • Lenin

    Rat

  • Members
  • Joined: 09 Jan 2006

#265

Posted 25 October 2012 - 10:08 PM

Itsn't it possible to give these weapons to NPCs? Like maybe make chopper gunners have the M249

savagejustice85
  • savagejustice85

    At First you don't succeed, try, try again

  • Members
  • Joined: 18 Sep 2012
  • None

#266

Posted 29 October 2012 - 02:39 AM

plan on adding melee weapons aswell and some thowing knifes?

rodrich266
  • rodrich266

    "After five years on the East Coast, it was time to go home

  • Members
  • Joined: 06 Jun 2008

#267

Posted 27 June 2013 - 09:57 PM

I always get the FATAL ERROR EFLC MMA10 OUT OF VIDEO MEMORY when I instal this mod and exit the game!

The game runs perfectly (maxed out) without your mod, but when I put it in it screws up! panic.gif

savagejustice85
  • savagejustice85

    At First you don't succeed, try, try again

  • Members
  • Joined: 18 Sep 2012
  • None

#268

Posted 09 October 2013 - 12:20 AM

dead mod?


Jeansowaty
  • Jeansowaty

    ._.

  • Members
  • Joined: 31 Mar 2013
  • Poland

#269

Posted 13 October 2013 - 10:54 AM

dead mod?

NO.


Yorpie
  • Yorpie

    I fought the law, and the law lost.

  • Members
  • Joined: 09 Feb 2011

#270

Posted 28 December 2013 - 11:18 AM

Does anyone have a savegame for this, with a lot of missions completed?

I'm not planning on completing it soon, but the switched objects do tend to work on my nerves.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users