IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules Attention:

The Mod Showroom is only for posting previews/downloads of completed or near finished mods.
All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials

Pages: (3) 1 2 [3]   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 Weapon Weight

 realism mod: guns and ammo slow you down
 
lolleroz  
Posted: Tuesday, Oct 23 2012, 18:40
Quote Post


Playa
Group Icon
Group: Members
Joined: Jul 29, 2010

pl.gif

XXXXX



I wish somebody would make this compatible with TLaD confused.gif
PM
  Top
 

 
AngryAmoeba  
Posted: Tuesday, Oct 23 2012, 19:43
Quote Post


Symbiont
Group Icon
Group: Members
Joined: Jan 12, 2009

us.gif

XXXXX



What part isn't compatible with TLAD?
PM
  Top
 

 
lolleroz  
Posted: Tuesday, Oct 23 2012, 19:44
Quote Post


Playa
Group Icon
Group: Members
Joined: Jul 29, 2010

pl.gif

XXXXX



When I was on previous install of my game I'm quite sure none of the TLAD weapons counted towards weight and if I remember properly Johnny was not affected even while I had sh*tload of weapons on me + cash

now I just installed EFLC again so I'll test it a little bit and tell you what's wrong if it's still wrong
PM
  Top
 

 
AngryAmoeba  
Posted: Wednesday, Oct 24 2012, 04:43
Quote Post


Symbiont
Group Icon
Group: Members
Joined: Jan 12, 2009

us.gif

XXXXX



I don't have EFLC to test, but with the update I just uploaded, I'm pretty sure everything should slow you down except the parachute.

Changes in v1.2.7
- Added support for non-vanilla thrown/melee weapons (INI settings OtherThrownPenalty, OtherMeleePenalty, OtherMeleeBag).
- Fixed bug where grenades slowed you down much more than intended.

This post has been edited by AngryAmoeba on Sunday, Oct 28 2012, 08:52
PM
  Top
 

 
lolleroz  
Posted: Thursday, Oct 25 2012, 15:29
Quote Post


Playa
Group Icon
Group: Members
Joined: Jul 29, 2010

pl.gif

XXXXX



Fixed the script for TLAD by disabling the bags feature, however the 'main' part of script still crashes, everything seems to be working fine. It's a real shame the pickups dissapear after you pass a mission since that completely takes away the whole purpose of this feature for me (as everytime I finish a gangwar my weapons prepared for next gangwar dissapear)
PM
  Top
 

 
Unicell  
Posted: Thursday, Oct 25 2012, 18:28
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Oct 25, 2012

XXXXX



Hey, AngryAmoeba. I was wondering if you can make armor visible when you pick it up, like the gun and money bags. It'll look resoundingly badass when combined with the Robbery Mask and Equip Weapons Mod.
PM
  Top
 

 
NudasPriest  
Posted: Thursday, Oct 25 2012, 18:30
Quote Post


Rat
Group Icon
Group: Members
Joined: Jul 29, 2012

XXXXX



I'm gonna put my two-cents in, I think that the dufflebag/backpacks and the armor vest that you can wear take up the same clothing slot on your body, meaning unless somebody can model them in as a different clothing slot, if that would even work, they aren't compatible. Only one can be worn, or the other. Kinda disappointing, yeah.
PM
  Top
 

 
Unicell  
Posted: Thursday, Oct 25 2012, 19:13
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Oct 25, 2012

XXXXX



QUOTE
I'm gonna put my two-cents in, I think that the dufflebag/backpacks and the armor vest that you can wear take up the same clothing slot on your body, meaning unless somebody can model them in as a different clothing slot, if that would even work, they aren't compatible. Only one can be worn, or the other. Kinda disappointing, yeah.

Ah, poop. Really? Oh well. Thanks, man.
PM
  Top
 

 
AngryAmoeba  
Posted: Thursday, Oct 25 2012, 19:39
Quote Post


Symbiont
Group Icon
Group: Members
Joined: Jan 12, 2009

us.gif

XXXXX



@lolleroz
Can you post the crash info from ScriptHookDotNet.log? And yeah, it's really a pain how the pickups get deleted. Not sure how to fix it. There's the Weapon Storage mod, but that's not compatible with EFLC either.

@Unicell
NudasPriest is right, but you could disable the bag feature of this mod and then use Lilmcnessy's Visible Armour mod: http://www.gtaforums.com/index.php?showtopic=424749
PM
  Top
 

 
lolleroz  
Posted: Thursday, Oct 25 2012, 19:43
Quote Post


Playa
Group Icon
Group: Members
Joined: Jul 29, 2010

pl.gif

XXXXX



Error during Tick in script 'WeaponWeight.Main':
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: ModelIndex
at GTA.value.PedComponent.Change(Int32 ModelIndex, Int32 TextureIndex)
at WeaponWeight.PlayerBag.Update()
at WeaponWeight.Main.Main_Tick(Object sender, EventArgs e)
at GTA.Script.TryTick()
at GTA.Script.DoTick()
at GTA.ScriptThread.OnTick()
PM
  Top
 

 
AngryAmoeba  
Posted: Thursday, Oct 25 2012, 20:52
Quote Post


Symbiont
Group Icon
Group: Members
Joined: Jan 12, 2009

us.gif

XXXXX



Hm, well apparently the code for bags is different in EFLC. But I don't know what it's supposed to be... I'll try asking about it on IRC this weekend.
PM
  Top
 

 
NudasPriest  
Posted: Thursday, Oct 25 2012, 20:58
Quote Post


Rat
Group Icon
Group: Members
Joined: Jul 29, 2012

XXXXX



Does Johnny Klebitz, or even Luis Lopez for that matter, ever use a bag like Niko in singleplayer? Perhaps Rockstar just coded bags in a weird way and only certain models can use certain bags or some cannot use bags at all? For instance I don't think it's possible to equip the male or female multiplayer models (the customizable ones for Free Mode and Deathmatch online) with a bag. or maybe they're linked to the model...
PM
  Top
 

 
lolleroz  
Posted: Thursday, Oct 25 2012, 22:05
Quote Post


Playa
Group Icon
Group: Members
Joined: Jul 29, 2010

pl.gif

XXXXX



I'm quite sure you can put a bag on Johnny using the simple native trainer, the problem is that the clothing ID is different than Niko's bag, also I'm not sure if Johnny player's archive has a backpack (I'm really sure there's a bag but I'm unsure about the backpack)

either Angry needs to change the 'ID' of the bag to suit TLAD one, or just remove instance mentioning any bags from the script (if TLAD has got no bags) another possibility however would be to just add the bag and backpack into Johnny's player archive by basically stealing the bag and backpack from Niko's player archive
PM
  Top
 

 
AngryAmoeba  
Posted: Saturday, Oct 27 2012, 08:45
Quote Post


Symbiont
Group Icon
Group: Members
Joined: Jan 12, 2009

us.gif

XXXXX



Are you sure you're using the latest scripthook? That could be an issue as well. If you try to add the bags to Johnny and Luis, let me know if it works!

In the next update, I'll disable any bags that aren't available. This will prevent the crash, but of course you'll also never see the unavailable bag, which is a bummer.
PM
  Top
 

 
lolleroz  
Posted: Saturday, Oct 27 2012, 10:14
Quote Post


Playa
Group Icon
Group: Members
Joined: Jul 29, 2010

pl.gif

XXXXX



QUOTE (AngryAmoeba @ Saturday, Oct 27 2012, 08:45)
Are you sure you're using the latest scripthook? That could be an issue as well. If you try to add the bags to Johnny and Luis, let me know if it works!

In the next update, I'll disable any bags that aren't available. This will prevent the crash, but of course you'll also never see the unavailable bag, which is a bummer.

Yeah I'm using the newest version from Hazard's topic.

I'm going to download SNT and Spark IV and play around and tell you the results (about the bags on Luis/Johnny)
PM
  Top
 

 
AngryAmoeba  
Posted: Sunday, Oct 28 2012, 08:36
Quote Post


Symbiont
Group Icon
Group: Members
Joined: Jan 12, 2009

us.gif

XXXXX



Changes in v1.2.8
- When bags are unavailable for the current player model, they are disabled to prevent errors.
- Fixed bug where OtherMeleeBag INI setting applied to all melee weapons.


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


And as usual, for those of you who are willing to try buggy features... sly.gif

Here's the ALTERNATE VERSION with (sometimes buggy) dropped weapons that you can pick back up.

- Dropping a weapon creates an orange pickup. It will disappear after 60 seconds.
- Holding the modifier key (default is PageDown) when dropping makes it permanent. It will stay there until picked up.
- Hold the modifier key and press "/" on the numpad to delete the most recently dropped weapon since loading (useful if it glitches out, spawns in a wall, etc.).

IMPORTANT NOTES for alternate version
- Completing a mission will delete all of your pickups, even permanent ones.
- Sometimes weapons can be dropped inside walls or other objects. Try to drop only when facing a fairly level area. Avoid dropping when facing walls.
- You can't drop weapons in some indoor locations, like subways or the safehouse near Middle Park. If you try, they will just glitch and disappear. sad.gif
- When you save the game, all your pickups are saved as well. (So if a pickup glitches out and you can't get to it, be sure to delete it with "/" before saving.)
- I still don't know how to make armor pickups. Armor is removed permanently.

I personally use this buggy version... I'm just careful to avoid the bugs.

I keep weapon stashes around the city:
user posted image

This post has been edited by AngryAmoeba on Sunday, Oct 28 2012, 08:53
PM
  Top
 

 
DerDodga  
Posted: Sunday, Oct 28 2012, 11:31
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 2, 2009

XXXXX



QUOTE
I still don't know how to make armor pickups. Armor is removed permanently.


Just some Idea: Create any Pickup (Money, Weapon, Object whatsoever), test if it was collected and add the armor if it was wink.gif
PM
  Top
 

 
The Loot  
Posted: Tuesday, Feb 26 2013, 22:57
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Apr 14, 2010

XXXXX



Not sure if this would be better for the Weight or Storage mod, but would it be possible to get a version with an option to always lose your weapons on death? I know Warrant does it when dieing while being chased, and Bank does it for money all the time, but I think losing your weapons all the time feels better.
PM
  Top
 

 
AngryAmoeba  
Posted: Tuesday, Feb 26 2013, 23:26
Quote Post


Symbiont
Group Icon
Group: Members
Joined: Jan 12, 2009

us.gif

XXXXX



Just copy and paste this into Notepad, and save as a .cs file. It should do the trick. wink.gif

CODE
using GTA;
using System;

class WeaponConfiscation : Script
{
   private int timesDied;
   
   public WeaponConfiscation()
   {
       this.Interval = 1000;
       this.Tick += WeaponConfiscation_Tick;
       timesDied = GetTimesDied();
   }
   
   private void WeaponConfiscation_Tick(object sender, EventArgs e)
   {
       if (timesDied < GetTimesDied())
       {
           timesDied = GetTimesDied();
           Player.Character.Weapons.RemoveAll();
       }
   }
   
   private int GetTimesDied()
   {
       return Game.GetIntegerStatistic(IntegerStatistic.TIMES_DIED);
   }
}
PM
  Top
 

 
The Loot  
Posted: Tuesday, Feb 26 2013, 23:31
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Apr 14, 2010

XXXXX



Thanks!
PM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Pages: (3) 1 2 [3] 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG