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

    1. GTANet.com

    1. GTA Online

      1. The Contract
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

[V|REL] Realistic Vehicle Controls LUA (in-game menu + hotkeys)


skyrayfox
 Share

Recommended Posts

skyrayfox
[V|REL] Realistic Vehicle Controls 1.3.1 LUA (in-game menu + hotkeys)

 

96b499-rvc_screen5.jpg

 

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:
  1. Install Script Hook V
  2. Install LUA Plugin for Script Hook V and all requisites
  3. Download Mod LUA Files and unpack them inside your GTAV directory, overwrite if asked
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.2
  • 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

 

 

video preview of v1.2 by KolinSasa:
Edited by skyrayfox
Link to comment
Share on other sites

MADRIZONABRUTA

Nice! Would it be possible to activate it with the Xbox ?

Link to comment
Share on other sites

diamond-optic

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
Share on other sites

totte1015

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
Share on other sites

diamond-optic

 

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
Share on other sites

headscript

 

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 by headscript
Link to comment
Share on other sites

headscript

Thanks. Nowhere that was said before but now I know :)

probably because he didnt knowed that im such a idiot

Link to comment
Share on other sites

skyrayfox

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 by skyrayfox
Link to comment
Share on other sites

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
Share on other sites

headscript

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 by headscript
Link to comment
Share on other sites

diamond-optic

removing the rvc.keyDelay() from both rvc.leaveVehicle() and rvc.leaveVehicleEngineOff() stops the lights from flashing on/off

Link to comment
Share on other sites

headscript

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
Share on other sites

 

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
Share on other sites

headscript

 

 

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
Share on other sites

diamond-optic
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 by diamond-optic
Link to comment
Share on other sites

you forgot alert lights.

it would be cool if the engine light would come on from too much engine damage.

Link to comment
Share on other sites

skyrayfox

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 by skyrayfox
Link to comment
Share on other sites

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
Share on other sites

 

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 by kleoboy
Link to comment
Share on other sites

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 :p

 

Regards,

Link to comment
Share on other sites

 

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 by Aerion
Link to comment
Share on other sites

headscript

 

[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
Share on other sites

skyrayfox

 

 

[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
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

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