GhostGum Posted December 19, 2009 Share Posted December 19, 2009 I didnt want to keep updating this in the GTAScript.Net topic, so creating its own topic here. This gravity gun can pick up multiple objects at once, and can pickup all object types. Requires GTAScript.Net - http://www.gtaforums.com/index.php?showtopic=435532 Installation: Put 'GravityGun.net.dll in your GTAIV\scripts\ directory. Usage: Equip a pistol (only picks up one object at a time) or a Desert Eagle (picks up everything in area). Hold RMB to aim, then press & hold MMB to activate GG. Download: bin - http://www.box.net/shared/gggt89smsq src - http://www.box.net/shared/kttg2d1sdq Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/ Share on other sites More sharing options...
blughost89 Posted December 21, 2009 Share Posted December 21, 2009 Hey thats really cool Imma add that in. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059696748 Share on other sites More sharing options...
SirQue Posted December 21, 2009 Share Posted December 21, 2009 hey f*ck wwhat numer?????? Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059696939 Share on other sites More sharing options...
abcadgfawghaeheheahaeh Posted December 22, 2009 Share Posted December 22, 2009 looks interesting. alot of cookies for you. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059699055 Share on other sites More sharing options...
GhostGum Posted December 22, 2009 Author Share Posted December 22, 2009 I like cookies! Cheers. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059699205 Share on other sites More sharing options...
BliND123 Posted December 23, 2009 Share Posted December 23, 2009 This looks great but I can't seem to get it to work. The GTAScript.log shows that it is being loaded but ingame still doesn't do anything. Any ideas what I might be missing? Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059700195 Share on other sites More sharing options...
GhostGum Posted December 23, 2009 Author Share Posted December 23, 2009 If you are running logitech setpoint or any other mouse button mapping software then possible you have the MMB (scroll wheel button on my mouse) mapped to another function. Try closing setpoint or whatever mapping software. Also it wont always work first try because of a bug so try pressing MMB a few times. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059700389 Share on other sites More sharing options...
oc student Posted December 23, 2009 Share Posted December 23, 2009 This is already included in the Simple trainer but great job. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059700438 Share on other sites More sharing options...
BliND123 Posted December 23, 2009 Share Posted December 23, 2009 Wow lol, this thing is fun. And thanks for helping me get mine working, would never have thought it was my Setpoint settings that was messing it up. LOL And actually for me works every time first time. You still working on this? Like adding and modifiying it? I'd like to request more options. Could you make it possible to change the strength and distance with an ingame menu or with hotkeys? That'd make it a whole lot more fun causing more chaos. I don't know if its possible but I was thinking that with lower strength on the gravity gun like with the deagle it would be nice if it would pick up just like small objects and people but even close to cars not move them. And then when the gravity gun is turned up have it pick up everything. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059701156 Share on other sites More sharing options...
GhostGum Posted December 24, 2009 Author Share Posted December 24, 2009 Ill see about adding strength & distance modifier in next version. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059701957 Share on other sites More sharing options...
quechus13 Posted December 28, 2009 Share Posted December 28, 2009 how about making it for C++ Scripthook? Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059707867 Share on other sites More sharing options...
Luc 12345678 Posted December 28, 2009 Share Posted December 28, 2009 Looks nice, for what version is this? Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059708160 Share on other sites More sharing options...
Zonked223 Posted December 28, 2009 Share Posted December 28, 2009 (edited) 2009-12-28 15:00:06 - Initializing ScriptHookDotNet v0.893 BETA (GTA IV version 1.0.4.0)2009-12-28 15:01:46 - Direct3D device created! 2009-12-28 15:01:46 - Error during Direct3D rendering: System.NullReferenceException: Object reference not set to an instance of an object. at GTA.Direct3D.OnRender() 2009-12-28 15:01:46 - SEARCHING FOR SCRIPTS... 2009-12-28 15:01:46 - Loading scripts in Assembly 'scripts\GravityGun.Net.dll' ... 2009-12-28 15:01:46 - Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'GravityGun.Net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'GravityGun.Net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at System.UnitySerializationHolder.GetRealObject(StreamingContext context) at GTA.RemoteScriptDomain.RequestAction(ScriptAction action) at GTA.ScriptDomain.RequestAction(ScriptAction action) at GTA.NetHook.GameReloaded() at StartupThreadC.RunTick(StartupThreadC* ) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Anyone know what i can do to fix this? The game crashes just after i enter gameplay =( I use version 1.0.4.0 EDIT: Alright i found the problem. I have to buy the game to make it work. I bought a Xbox 360 just to play this game, and sold the Xbox when the game came out on PC. Now i have ordered it for PC also. God damn this hurts my wallet! This mod is worth more than the game itself. I wanna be Gordon Freeman =) Edited December 28, 2009 by Zonked223 Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059708251 Share on other sites More sharing options...
GhostGum Posted December 28, 2009 Author Share Posted December 28, 2009 (edited) Whoever told you you need a bought copy of the game to run mods is full of sh*t. All mods will work perfectly fine on a cracked copy (i myself have a bought copy, with crack applied). I do however strongly recommend that you purchase a copy, this is the first GTA since 2 that rockstar have bothered to properly support the PC (decent port, numerous patches), so support them so that they will keep supporting us in the future! This mod does not use ScriptHookDotNet, it uses GTAScript.Net - http://www.gtaforums.com/index.php?showtopic=435532 . I dont know why you are crashing, perhaps because you are trying to run ScriptHookDotNet with the latest patch? Possibly because ScriptHookDotNet is trying to load an assembly not intended for it, but i would hope it would handle the exception & just not load that assembly. For help with ScriptHookDotNet post in that topic. Just to repeat myself, this mod does not use ScriptHookDotNet. Edited December 29, 2009 by GhostGum Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059708511 Share on other sites More sharing options...
Zonked223 Posted December 28, 2009 Share Posted December 28, 2009 (edited) 2009.12.28 - 22:49:45 - [Message] GTAScript.log created.2009.12.28 - 22:49:45 - [Message] --------------------2009.12.28 - 22:49:45 - [Message] GTAScript.Net 0.0.1.02009.12.28 - 22:49:45 - [Message] GhostGum - 20092009.12.28 - 22:49:45 - [Message] - - 2009.12.28 - 22:49:45 - [Message] GTAIV Script Hook 0.4.02009.12.28 - 22:49:45 - [Message] Copyright © 2009, Aru2009.12.28 - 22:49:45 - [Message] - - 2009.12.28 - 22:49:45 - [Message] Grand Theft Auto IV Version1042009.12.28 - 22:49:45 - [Message] Copyright 2008, Rockstar Games2009.12.28 - 22:49:45 - [Message] --------------------2009.12.28 - 22:49:45 - ![Warning]! Unsupported GTA Version! Thanks for the help =) I won't cancel my order. I have been playing this since GTA 2 and it's the best series of games i have ever played. And this mod looks epic. As you said, "Unsuportet GTA version" means i have the wrong patch then.. Edited December 28, 2009 by Zonked223 Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059709000 Share on other sites More sharing options...
GhostGum Posted December 29, 2009 Author Share Posted December 29, 2009 Yes, but that warnings just there as a precaution (it will display that for any version except latest (1.0.0.4 or whatever)), it should work fine with 1.0.4.0 so you can ignore that warning. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059709298 Share on other sites More sharing options...
quechus13 Posted December 29, 2009 Share Posted December 29, 2009 Yes, but that warnings just there as a precaution (it will display that for any version except latest (1.0.0.4 or whatever)), it should work fine with 1.0.4.0 so you can ignore that warning. but cant you make it for C++ Script Hook? I think you will get more downloads if you do or for g4mhook Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059709640 Share on other sites More sharing options...
GhostGum Posted December 29, 2009 Author Share Posted December 29, 2009 (edited) edit - sry, was drunk talking sh*t. Edited January 3, 2010 by GhostGum Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059709748 Share on other sites More sharing options...
supertin Posted January 7, 2010 Share Posted January 7, 2010 A movie quote came to my mind when I saw the 2nd gun picking up everything: "I don't think we're in Kansas anymore, Toto...." How awesome is the way everything just masses around like it's caught in a cyclone/tornado!?!?!?! Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059724895 Share on other sites More sharing options...
Murcchachosa Posted January 7, 2010 Share Posted January 7, 2010 Yes, but that warnings just there as a precaution (it will display that for any version except latest (1.0.0.4 or whatever)), it should work fine with 1.0.4.0 so you can ignore that warning. Are you serieus with ignoring that warning?? That warning doesnt let us to play the game with the Gravity gun. Its keeps ***king crash and the GTAScipts.NET is a whore thats doesnt accept. Man, its sucks. The other trainer can only pickup objects when you spawned an object but its worse and stays in air. The other gravity gun will be never released because of the "beta" stage. (My ass) Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059725463 Share on other sites More sharing options...
quechus13 Posted January 10, 2010 Share Posted January 10, 2010 I think this script doesnt works for patch 4 can you make it compatible for patch 4? Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059729999 Share on other sites More sharing options...
Frander Posted January 22, 2010 Share Posted January 22, 2010 Yeah it'd be really nice if it would work with 1.0.0.4 Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059746408 Share on other sites More sharing options...
GhostGum Posted January 22, 2010 Author Share Posted January 22, 2010 (edited) hi. This should work no troubles with patch 1.0.0.4 & patch 1.0.4.0 (both patch 4 & patch 5). I run patch 4 on my dev machine, and patch 5 on my test machine, it works fine on both for me. It will only work with latest scripthook version (0.4.0). It will only work with the latest GTAScript version (0.0.2.0). If you are having trouble getting it to work then post some more info's (such as error messages or contents of log files) & i may be able to help you. Edited January 22, 2010 by GhostGum Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059746861 Share on other sites More sharing options...
Frander Posted January 22, 2010 Share Posted January 22, 2010 Alrightey will do thank you. Gonna try and update everything I have in my gta iv folder, I could swear I have all the latest files installed in my gta iv folder, but everyone can be wrong once in a while But thanks and great job keep it up Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059746865 Share on other sites More sharing options...
groeneweg Posted January 25, 2010 Share Posted January 25, 2010 The desert eagle gravity gun is as epic as the framerate drops when I use it. Very nice mod. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059750300 Share on other sites More sharing options...
poncratias Posted February 2, 2010 Share Posted February 2, 2010 hey it would be really epic if it would be possible to use the hands/fist as gravity gun, because that way it would feel like nico has got psychic powers. Would that be possible? to change the weapon thats used for it? Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059762544 Share on other sites More sharing options...
GhostGum Posted February 3, 2010 Author Share Posted February 3, 2010 Well a while back i was thinking of creating a "force powers" mod, to give niko a bunch of different selectable force powers, such as this gg (but with bare hands), force push, force explosion, forcefield, etc. So if i ever get around to making that then it will supercede this mod. Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059764408 Share on other sites More sharing options...
poncratias Posted February 3, 2010 Share Posted February 3, 2010 w00t Forcepowers mod?! O.O yeah that would be it! Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059764413 Share on other sites More sharing options...
qiangqiang101 Posted February 7, 2010 Share Posted February 7, 2010 stuck while game loading screen. gta iv version 1040 Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059770013 Share on other sites More sharing options...
Neverent Posted February 20, 2010 Share Posted February 20, 2010 (edited) ::EDIT 3:: Ok, nevermind... I see you need to update this script to work with the new .net I havnt updated that script to work with new version of GTAScript, there have been some changes to GTAScript structure that break it. I just tried to update it (should have been a simple 2min job) but for some reason it is randomly freezing when i apply force to objects. I have no idea why, i must have broke something somewhere. But it just seems so random. Its the APPLY_FORCE_TO_OBJECT function that is freezing game, randomly, and i know it is a valid object, and the apply force worked fine on that obj (random obj) for the first few ticks. Got me well confused. Ill have a try at a few theories when im next sobre. Too much to handle ATM. So with the new gtascript.net this GG script just won't work... will you be updating this script to work?? Because I can't download an older version of your .net, I'm sitting on a useless mod Edited February 20, 2010 by Neverent Link to comment https://gtaforums.com/topic/435833-gtaivrel-gravitygun/#findComment-1059788250 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