Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Symbiote

Weapon Storage

Recommended Posts

Symbiote

This script is based on a feature request by lolleroz for my Weapon Weight mod. I decided to make it a separate script.

WHAT IT DOES

This script lets you store weapons and ammo in safehouse stashes. (No animations, nothing fancy.)

- Press Right Control in a safehouse to open the stash.
- Press Right Shift to move ammo into the stash.
- Press Enter to retrieve ammo from the stash.
- Hold PageDown while moving ammo to move as much as possible, all at once.
- Press the Up/Down arrows to change how much ammo to move (while holding PageDown to change faster).
- Press the Left/Right arrows to cycle through weapons.

HOW TO INSTALL

This is a script for HazardX's .NET scripthook. Just place the files in the 'scripts' folder of the .NET scripthook.

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


Download v1.1.1

 

last updated May 5, 2013


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

KNOWN BUGS
- Stashes are only saved when you save the game in a bed, not when the game autosaves. Stashes are also persistent across all saved games.
- Doesn't support EFLC weapons or safehouses (because I don't have EFLC).
- Doesn't support custom weapons.

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


CHANGE LOG
v1.1.1 — May 5, 2013
- Split the UI text into 4 lines.
- Renamed "LastWeaponKey" INI setting to "PrevWeaponKey".
- Renamed "MoveMoreKey" to "MoveMoreAmmoKey".
- Renamed "MoveLessKey" to "MoveLessAmmoKey".
- Minor code cleanup, very minor optimization.

v1.1 — September 10, 2011
- Guns are now stored separate from their ammo.
- Ammo is now shared between guns of the same type.
- Holding ModifierKey and pressing StoreKey/RetrieveKey will move as much ammo as possible.
- Removed debug code that was accidentally left in.
- Minor fixes and cleanup.

Edited by AngryAmoeba

Share this post


Link to post
Share on other sites
solecist

it's really good to see people striving towards a more realistic GTAIV even this long after its release. good stuff!

 

i'm not a coder, so i don't know if this is possible, but is there any way to remove the bullet tracer effect from guns? it seems like it would be a simple fix, but the only reference to it AT ALL seems to be in the still-encrypted particle effect files. thanks!

 

 

Share this post


Link to post
Share on other sites
Symbiote

I'm by no means an expert, but I don't know of any way to disable bullet tracers through scripting.

 

But I'm glad you like the mod! Even after this long, GTA4 with mods is probably the most impressive game I've ever played.

Share this post


Link to post
Share on other sites
solecist

ah, that's too bad. have you looked into weapon accuracy? from a realism standpoint being able to snipe heads blind firing from cover is kind of ridiculous. anyway, keep up the good work! more realism scripts! huzzah!

 

ps. check out my sound mod...might be right up your alley: http://www.gtaforums.com/index.php?showtopic=472520

 

Share this post


Link to post
Share on other sites
solecist

doesn't work. i even edited the source to make the changes extreme, and they're still not noticeable. someone with coding experience could perhaps fix it, though. heh heh heh.

Share this post


Link to post
Share on other sites
carcols.dat

Good news, everybody! I fixed the save bug. Made it so that it writes to the ini immediately after you close your stash, no more having to save the game. Just find Game.DisplayText(" ", 1); and add saveINI(); right under it.

 

I'm extremely surprised this didn't occur to you, OP...I'm a mostly noob programmer and it took me 2 minutes to figure out.

Share this post


Link to post
Share on other sites
Symbiote

I don't want the stash to save unless I save the game... I often do things that I don't want to save, for example when I'm testing my mods.

 

But I'm glad you figured out how to make the mod work the way you want! Maybe you should become a scripter. smile.gif

Share this post


Link to post
Share on other sites
carcols.dat

Any news on an EFLC version? I've skimmed the rest of the code and I'm considering taking a stab at making it at least TBoGT-compatible. There's only one safehouse in it the game, btw.

Share this post


Link to post
Share on other sites
Symbiote

I did get the safehouses and some of the weapons from EFLC working last year, but it kind of fell by the wayside and I haven't touched it in 9 months. You can get that WIP version here and see what you can do with it, but the code is embarrassingly ugly.

Share this post


Link to post
Share on other sites
carcols.dat

Your link's dead. I'll try to see if I can do anything with that code when you post it.

Share this post


Link to post
Share on other sites
carcols.dat

Can you reupload it?

Share this post


Link to post
Share on other sites
Symbiote

Sorry, not sure what happened with the link, and I didn't get a notification for your first reply. Try this.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.