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

Not working for me either, Visual Redist is installed since ages. Other LUA and ASI Scripts are working like they should. Cant see what the Console says as its not present,

 

Tried now serveral ways to make it work but no avail, it doesnt.

Link to comment
Share on other sites

Not working for me either, Visual Redist is installed since ages. Other LUA and ASI Scripts are working like they should. Cant see what the Console says as its not present,

 

Tried now serveral ways to make it work but no avail, it doesnt.

 

You can try installing LUA Plugin SDK version, it comes with a console that will show you all error messages.

Link to comment
Share on other sites

Full_Metal_Wolf

Is there a way to disable certain hotkeys?(Setting the key to "none" perhaps?) I don't want to accidentally toggle auto-drive, patrol, or turn the engine off while I'm just out and about.

Link to comment
Share on other sites

Qianfulong

Hi there,

is it possible to add the "auto patrol" or "auto drive to" option to a vehicle that is driven by a PED/NPC? This would be amazing for making movies since you were able to stage a scene. E.g. a scene where one car is driven by a NPC and another car is driven by the player/director.

Link to comment
Share on other sites

iOnlyEatCops

Is there a way of changing the default start up menu key? Trying to change it to another F key.

 

F3 or / (numpad divide) - Show/Close mod menu

Link to comment
Share on other sites

Is there a way of changing the default start up menu key? Trying to change it to another F key.

 

F3 or / (numpad divide) - Show/Close mod menu

 

Open the LUA file and change the key.openmenu code to another one. List of key codes is in the file too.

Link to comment
Share on other sites

One thing I would really really love (but I don't know if it is possible) is to be able to open any window one by one, with the other ones staying closed!

 

Edit: Well, I just tried to modify your script and it worked, so I will do my own setup from here if you dont want to reupload a new version. Maybe some other people would like to have it though.

Edited by redleouf
  • Like 1
Link to comment
Share on other sites

Hello there

This is a very nice mod

I want the auto drive (AI) to go very faster, can i do that with this mod? Is there any possibilities that you add that so you could make the autodrive AI drive the vehicle faster?

Link to comment
Share on other sites

UncleCrank

FEATURES:

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

Could you combine this with a spawn driver routine so you can sit in the back of your vehicle, eg a stretch limo?

Link to comment
Share on other sites

I just cannot get this mod to work; it's the only mod I've got that wont work, and I've tried various versions of the LUA plugin/SDK, all with the same result; it's not even listing as one of the loaded modules. I've even tried this mod by itself without any other mods, and still the same result.

 

*Fixed

Was missing a lib file somehow. Redownloaded from GTAV-Mods and reinstalled it.

Edited by Anach
Link to comment
Share on other sites

  • 3 weeks later...
Mkmaster2400

Can you make it so it stops at the waypoint instead of crashing into a wall and then crashing into where I have the waypoint set? And How do I change the speed of the car?

Edited by Mkmaster2400
Link to comment
Share on other sites

For anyone trying to get the turn signals to work with the SDK version of the LUA Script Hook just follow the steps below.

 

1) Open RealisticVehicleControls.lua in a text editor (I like notepad ++, but feel free to use whatever you're comfortable with)

2) Find the following lines of code (they will be near the bottom)

 

 

function rvc.toggleEmergencyIndicator()	isEmergencyIndicatorOn = not isEmergencyIndicatorOn	isLeftIndicatorOn = false	isRightIndicatorOn = false	VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, true, isEmergencyIndicatorOn)	VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, false, isEmergencyIndicatorOn)	rvc.updateMenus("EMERGENCY LIGHTS - ", isEmergencyIndicatorOn)	rvc.keyDelay()endfunction rvc.toggleLeftIndicator()	isLeftIndicatorOn = not isLeftIndicatorOn	if isRightIndicatorOn then		VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, false, false)		isRightIndicatorOn = not isRightIndicatorOn	end	if isEmergencyIndicatorOn then		VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, false, false)		isEmergencyIndicatorOn = not false	end	VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, true, isLeftIndicatorOn)	rvc.updateMenus("LEFT INDICATOR - ", isLeftIndicatorOn)	rvc.keyDelay()endfunction rvc.toggleRightIndicator()	isRightIndicatorOn = not isRightIndicatorOn	if isLeftIndicatorOn then		VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, true, false)		isLeftIndicatorOn = not isLeftIndicatorOn	end	if isEmergencyIndicatorOn then		VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, true, false)		isEmergencyIndicatorOn = false	end	VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, false, isRightIndicatorOn)	rvc.updateMenus("RIGHT INDICATOR - ", isRightIndicatorOn)	rvc.keyDelay()end 

 

 

3) Replace that code with the following code

 

 

function rvc.toggleEmergencyIndicator()	isEmergencyIndicatorOn = not isEmergencyIndicatorOn	isLeftIndicatorOn = false	isRightIndicatorOn = false	VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, 1, isEmergencyIndicatorOn)	VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, 0, isEmergencyIndicatorOn)	rvc.updateMenus("EMERGENCY LIGHTS - ", isEmergencyIndicatorOn)	rvc.keyDelay()endfunction rvc.toggleLeftIndicator()	isLeftIndicatorOn = not isLeftIndicatorOn	if isRightIndicatorOn then		VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, 0, false)		isRightIndicatorOn = not isRightIndicatorOn	end	if isEmergencyIndicatorOn then		VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, 0, false)		isEmergencyIndicatorOn = not false	end	VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, 1, isLeftIndicatorOn)	rvc.updateMenus("LEFT INDICATOR - ", isLeftIndicatorOn)	rvc.keyDelay()endfunction rvc.toggleRightIndicator()	isRightIndicatorOn = not isRightIndicatorOn	if isLeftIndicatorOn then		VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, 1, false)		isLeftIndicatorOn = not isLeftIndicatorOn	end	if isEmergencyIndicatorOn then		VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, 1, false)		isEmergencyIndicatorOn = false	end	VEHICLE.SET_VEHICLE_INDICATOR_LIGHTS(playerVehicle, 0, isRightIndicatorOn)	rvc.updateMenus("RIGHT INDICATOR - ", isRightIndicatorOn)	rvc.keyDelay()end 

 

 

 

NOTE: I do not have a lot of experience with LUA and I do not know how this will work with newer (or other) versions of LUA Script Hook and may potentially break the mod.

 

If you have any problems with THIS FIX let me know (I'll try, but I probably can't help if it's with the mod in general).

Edited by Drewgamer
Link to comment
Share on other sites

Rohith_Kumar_Sp

 

 

@skyrayfox

 

can i open cargo plane front and back? i really am trying to find that mod, seeing a lot of videos online but dont know what mod are they using .

Link to comment
Share on other sites

 

 

 

@skyrayfox

 

can i open cargo plane front and back? i really am trying to find that mod, seeing a lot of videos online but dont know what mod are they using .

 

There is a button labeled "Open Alt Trunk" so I am assuming that this would allow that, but I have not tried it sadly :/

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.