skyrayfox Posted May 3, 2015 Share Posted May 3, 2015 (edited) [V|REL] Realistic Vehicle Controls 1.3.1 LUA (in-game menu + hotkeys) This mod adds cruise control, auto-drive to waypoint, auto-patrol, configurable vehicle control hotkeys, in-game menu and many more vehicle options. All written in LUA for easy modification. FEATURES: Ingame menu and configurable Hotkeys (check the lua file) Auto-Drive to waypoint (AI will try to follow the traffic code, press "W, S or Space" to disengage) Auto-Patrol the area (AI will randomly drive the vehicle around, following the fraffic code) Toggle Cruise Mode at any speed Leave vehicle GTA4 style; "F" to leave with engine on, Hold "F" to leave with engine off Toggle Engine, Indicator lights, Brake lights, Interior Lights Toggle All Vehicle Lights (with engine still on) Open All Doors, Hood and Trunk Incrementally Open and Close Windows Blip Police Siren (without turning it on) Skip Current Radio Song Clean Vehicle Fix Vehicle Tyres Fix Vehicle Turn on/off ingame mod menu notifications INSTALLATION: Install Script Hook V Install LUA Plugin for Script Hook V and all requisites Download Mod LUA Files and unpack them inside your GTAV directory, overwrite if asked Alternative: Download from GTAInside DEFAULT MENU CONTROLS: F3 or / (numpad divide) - Show/Close mod menu Backspace - Hide mod menu Numpad 8 - Scroll Up Numpad 2 - Scroll Down Numpad 5 OR Space - Select mod menu option DEFAULT HOTKEYS: F to leave vehicle with engine on by default (radio and lights stay on as well) Hold "F" OR "Ctrl+F" to leave vehicle with engine off (GTA4 style) Shift+W to auto drive to waypoint Shift+X to toggle auto patrol mode Ctrl+W to toggle cruise control Ctrl+X to toggle engine Ctrl+A to toggle left indicator Ctrl+D to toggle right indicator Ctrl+S to toggle emergency lights Shift+S to toggle brake lights Ctrl+Z blip police siren (cop cars only) + to skip current radio song hold "open door" buttons to open doors incrementally, press it again to close them CHANGELOG: UPDATE 1.3.1 Small hotfix that fixed mod menu not fully appearing for some users UPDATE 1.3 Auto-Drive to waypoint (AI will try to follow all traffic code, press "W,S or Space" to disengage) Auto-Patrol the area (AI will randomly drive the vehicle around, following the fraffic code) You can now open and close all individual car doors New Mod Menu design and navigation improvements Mod menu bug fixes and new notification options Turn Indicators and Emergency Lights improvements Hotkeys: "F3" or "/" (numpad divide) to toggle open/close mod menu, backspace also works for closing the menu Hotkeys: You can now activate mod menu options with "Space" OR "NumPad 5" Hotkeys: Hold "F" to exit with vehicle engine off GTA4 style (alternative to Ctrl+F) Hotkeys: "Ctrl+S" is now Emergency Lights, "Shift+S" Brake Lights Hotkeys: "Shift+X" for Auto Patrol mode Hotkeys: "Shift+W" for Auto Drive to waypoint UPDATE 1.2New hotkey "+" for skipping radio songs New hotkey "Shift+S" for emergency lights Cruise Control is now smoother Cruise Control should now disengage when wehicle is flying or at slow speeds/crashing Lights no longer flicker when exiting vehicles or in cruise mode New - Toggle Brake Lights as always on or always on when stationary Make sure to overwrite all files when updating to new version video preview of v1.2 by KolinSasa: Edited May 8, 2015 by skyrayfox reicou, calvooo, Eight Ball and 2 others 5 Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/ Share on other sites More sharing options...
MADRIZONABRUTA Posted May 3, 2015 Share Posted May 3, 2015 Nice! Would it be possible to activate it with the Xbox ? Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412346 Share on other sites More sharing options...
Zeynohh Posted May 3, 2015 Share Posted May 3, 2015 Menu wont show up Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412355 Share on other sites More sharing options...
Player360 Posted May 3, 2015 Share Posted May 3, 2015 Menu doesn't open for me either ; ) Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412374 Share on other sites More sharing options...
totte1015 Posted May 3, 2015 Share Posted May 3, 2015 Doesnt show up Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412448 Share on other sites More sharing options...
diamond-optic Posted May 3, 2015 Share Posted May 3, 2015 make sure you are using the GUI lib from the SDK package!! its different from the normal one.. menu opens fine for me Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412475 Share on other sites More sharing options...
totte1015 Posted May 3, 2015 Share Posted May 3, 2015 make sure you are using the GUI lib from the SDK package!! its different from the normal one.. menu opens fine for me And in normal english that means? Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412508 Share on other sites More sharing options...
diamond-optic Posted May 3, 2015 Share Posted May 3, 2015 make sure you are using the GUI lib from the SDK package!! its different from the normal one.. menu opens fine for me And in normal english that means? you need the GUI.lib file (../scripts/libs/) from the LUA plugin SDK, using the non-sdk file causes an error in the script http://178.62.61.147/index.php?title=Download Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412522 Share on other sites More sharing options...
headscript Posted May 3, 2015 Share Posted May 3, 2015 (edited) make sure you are using the GUI lib from the SDK package!! its different from the normal one.. menu opens fine for me And in normal english that means? that you probably should download the SDK package : http://178.62.61.147/Downloads/LUA_SDK.zip and use the GUI.lua from there Edited May 3, 2015 by headscript Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412523 Share on other sites More sharing options...
totte1015 Posted May 3, 2015 Share Posted May 3, 2015 Thanks. Nowhere that was said before but now I know Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412564 Share on other sites More sharing options...
headscript Posted May 3, 2015 Share Posted May 3, 2015 Thanks. Nowhere that was said before but now I know probably because he didnt knowed that im such a idiot Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412576 Share on other sites More sharing options...
skyrayfox Posted May 3, 2015 Author Share Posted May 3, 2015 (edited) Yes. It looks like normal LUA version uses a different GUI from the SDK one. I re-uploaded version 1.1 along with the correct GUI file. Download version 1.1 and overwrite the file inside your \scripts\libs\GUI.lua directory with the one from the download. Edited May 3, 2015 by skyrayfox Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412587 Share on other sites More sharing options...
MAJLaunch Posted May 3, 2015 Share Posted May 3, 2015 Not working... Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412590 Share on other sites More sharing options...
Xilandro Posted May 3, 2015 Share Posted May 3, 2015 Nice alternative to vehicle controller! I have few suggestions if you don't mind. In cruise control car is slightly shaking due to speed limit jumping back and forth for 1-2 miles per hour. It would be great if you can fix that shake. Maybe you could use RPM limit instead, like in manual transmission mod. Automatic break lights? If speed is 0 - break lights kicks in. And police lights without siren would be a great addition. Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412634 Share on other sites More sharing options...
headscript Posted May 3, 2015 Share Posted May 3, 2015 (edited) the problem is probably his if (setCruiseSpeed ~= 0) then wait(100) it freezes the script for a 10th of a second also never use wait inside a tick apart from maybe once every 10 seconds Edited May 3, 2015 by headscript Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412684 Share on other sites More sharing options...
diamond-optic Posted May 3, 2015 Share Posted May 3, 2015 removing the rvc.keyDelay() from both rvc.leaveVehicle() and rvc.leaveVehicleEngineOff() stops the lights from flashing on/off Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412721 Share on other sites More sharing options...
headscript Posted May 3, 2015 Share Posted May 3, 2015 removing the rvc.keyDelay() from both rvc.leaveVehicle() and rvc.leaveVehicleEngineOff() stops the lights from flashing on/off and dont make the key delays with waits use time differences between 2 keys Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412734 Share on other sites More sharing options...
Xilandro Posted May 3, 2015 Share Posted May 3, 2015 the problem is probably his if (setCruiseSpeed ~= 0) then wait(100) it freezes the script for a 10th of a second also never use wait inside a tick apart from maybe once every 10 seconds That's interesting. I'm not a coder so I better ask - if I remove wait(100) - will it fix the issue or it's not that simple?) Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412745 Share on other sites More sharing options...
everesee Posted May 3, 2015 Share Posted May 3, 2015 Please add a key shortcut for skip song, it will be wonderful! Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412751 Share on other sites More sharing options...
headscript Posted May 3, 2015 Share Posted May 3, 2015 the problem is probably his if (setCruiseSpeed ~= 0) then wait(100) it freezes the script for a 10th of a second also never use wait inside a tick apart from maybe once every 10 seconds That's interesting. I'm not a coder so I better ask - if I remove wait(100) - will it fix the issue or it's not that simple?) you should probably wait for the mod maker to update it he can also talk with me if he got any problems Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412760 Share on other sites More sharing options...
diamond-optic Posted May 3, 2015 Share Posted May 3, 2015 (edited) Please add a key shortcut for skip song, it will be wonderful! yeah Keys.Oemplus would be perfect seeing as its already the next song key for the self fm station if get_key_pressed(Keys.Oemplus) then rvc.skipSong() end ..and removing the wait(100) from the cruise control makes it stay at a constant speed instead of jumping around *edit* cruise control gets a bit nutty hitting bumps and jumps etc.. just flew across the city in my car after hitting a rock (but i stuck the landing lol) Edited May 3, 2015 by diamond-optic Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067412775 Share on other sites More sharing options...
reicou Posted May 3, 2015 Share Posted May 3, 2015 Works fine, thanks Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067413177 Share on other sites More sharing options...
kleoboy Posted May 3, 2015 Share Posted May 3, 2015 you forgot alert lights. it would be cool if the engine light would come on from too much engine damage. Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067413276 Share on other sites More sharing options...
skyrayfox Posted May 3, 2015 Author Share Posted May 3, 2015 (edited) Waiting for version 1.2 to be approved. Hopefully won't take long. Version 1.2 is available to download. Changes: New hotkey "+" for skipping radio songs New hotkey "Shift+S" for emergency lights Cruise Control is now smoother Cruise Control should now disengage when wehicle is flying or at slow speeds/crashing Lights no longer flicker when exiting vehicles or in cruise mode New - Toggle Brake Lights as always on OR always on when stationary Make sure to overwrite all files when updating to new version Edited May 3, 2015 by skyrayfox Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067413600 Share on other sites More sharing options...
Xilandro Posted May 3, 2015 Share Posted May 3, 2015 Thanks for update, glad you've fixed bugs, cruise control and flying car (even if I had some fun flying dat smashed blista around LS xD). And new brake lights system - sounds cool! Waiting for approvement. Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067413640 Share on other sites More sharing options...
kleoboy Posted May 3, 2015 Share Posted May 3, 2015 (edited) Waiting for version 1.2 to be approved. Hopefully won't take long. Changes: New hotkey "+" for skipping radio songs New hotkey "Shift+S" for emergency lights Cruise Control is now smoother Cruise Control should now disengage when wehicle is flying or at slow speeds/crashing Lights no longer flicker when exiting vehicles or in cruise mode New - Toggle Brake Lights as always on OR always on when stationary Make sure to overwrite all files when updating to new version instead of ctrl+A and ctrl+D for indicators could you use J and L. also K for emergency lights Edited May 3, 2015 by kleoboy Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067413669 Share on other sites More sharing options...
alexslx Posted May 4, 2015 Share Posted May 4, 2015 Good to ser that someone made an alternative to my plugin so fast. I was planning on converting it to LUA but I was lazy Regards, Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067413977 Share on other sites More sharing options...
Aerion Posted May 4, 2015 Share Posted May 4, 2015 (edited) Waiting for version 1.2 to be approved. Hopefully won't take long. Version 1.2 is available to download. Changes: New hotkey "+" for skipping radio songs New hotkey "Shift+S" for emergency lights Cruise Control is now smoother Cruise Control should now disengage when wehicle is flying or at slow speeds/crashing Lights no longer flicker when exiting vehicles or in cruise mode New - Toggle Brake Lights as always on OR always on when stationary Make sure to overwrite all files when updating to new version Naww. I found it extremely entertaining to press Ctrl+W (default cruise combo) on a bike, and do superjumps... It was enormously entertaining to leap buildings with it, or jet around on a bike at terminal velocity. Edited May 4, 2015 by Aerion Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067414786 Share on other sites More sharing options...
headscript Posted May 4, 2015 Share Posted May 4, 2015 [V|REL] Realistic Vehicle Controls 1.2 LUA (in-game menu + hotkeys) you dont have to upload the gui.lua anymore i fixed the downloads yesterday and sorry Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067415644 Share on other sites More sharing options...
skyrayfox Posted May 4, 2015 Author Share Posted May 4, 2015 [V|REL] Realistic Vehicle Controls 1.2 LUA (in-game menu + hotkeys) you dont have to upload the gui.lua anymore i fixed the downloads yesterday and sorry Thanks ! I will remove gui.lua from the next version. Link to comment https://gtaforums.com/topic/791585-vrel-realistic-vehicle-controls-lua-in-game-menu-hotkeys/#findComment-1067415718 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