Symbiote Posted September 7, 2011 Share Posted September 7, 2011 (edited) 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 LOGv1.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 February 22, 2015 by AngryAmoeba Link to comment Share on other sites More sharing options...
solecist Posted September 14, 2011 Share Posted September 14, 2011 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! Link to comment Share on other sites More sharing options...
Symbiote Posted September 15, 2011 Author Share Posted September 15, 2011 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. Link to comment Share on other sites More sharing options...
solecist Posted September 16, 2011 Share Posted September 16, 2011 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 Link to comment Share on other sites More sharing options...
Symbiote Posted September 16, 2011 Author Share Posted September 16, 2011 How about Niko Inaccurate? http://www.gtaforums.com/index.php?showtopic=436800 Link to comment Share on other sites More sharing options...
solecist Posted September 16, 2011 Share Posted September 16, 2011 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. Link to comment Share on other sites More sharing options...
carcols.dat Posted March 9, 2013 Share Posted March 9, 2013 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. Link to comment Share on other sites More sharing options...
Symbiote Posted March 9, 2013 Author Share Posted March 9, 2013 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. Link to comment Share on other sites More sharing options...
carcols.dat Posted March 25, 2013 Share Posted March 25, 2013 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. Link to comment Share on other sites More sharing options...
Symbiote Posted March 25, 2013 Author Share Posted March 25, 2013 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. Link to comment Share on other sites More sharing options...
carcols.dat Posted March 25, 2013 Share Posted March 25, 2013 Your link's dead. I'll try to see if I can do anything with that code when you post it. Link to comment Share on other sites More sharing options...
carcols.dat Posted March 27, 2013 Share Posted March 27, 2013 Can you reupload it? Link to comment Share on other sites More sharing options...
Symbiote Posted March 28, 2013 Author Share Posted March 28, 2013 Sorry, not sure what happened with the link, and I didn't get a notification for your first reply. Try this. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now