15.423Λήψεις

195Likes

4.83 / 5 αστέρια (33 ψήφοι)

Should work with update 1.0.678.1, and up to the Gunrunning update. Might work all the way back to update 1.0.335.2, but it is not tested.
**You MUST run GTA 5 as Administrator or you will get an error!**

What is it?This is now real on-the-fly suspension editing with custom sounds for lowering and raising your suspension. Keyboard and Gamepad support. Customize-able keys and buttons.

The pre-2.0 versions of this script are like @ImNotMental's VStanced, @ikt's Slam It mod , and the feature of the same name in MAFINS' Menyoo mod menu. You can still use this method if you want by disabling the new system in the ini settings.

Features- Choose between on-the-fly handling.meta suspension editing or fake/simulated suspension editing.
Note: You can actually set your default suspension with the real/handling.meta suspension editing, then modify it further with the simulated suspension editing.
- Choose 2 custom sounds that will play when you raise or lower your vehicle's suspension.
- Customize the volume of each sound to your liking, or disable it completely.
- Customize the speed at which your suspension changes. A lower number makes for a smoother animation.
- Enable or disable my Automated Suspension Adjustment system (only for the simulated suspension editing). This system changes your suspension as you drive, depending on conditions such as steering angle and speed.

2.0
Real on-the-fly suspension editing! Credits go to ikt for his Real Time Handling Editor source (and for personally helping me!) and to leftas for his vehicle struct research!
You can still use the pre-2.0 suspension editing along with the ASA System if you so please.
Of course, all the custom sounds will work with this "new" system.
Lastly, the mod should now work properly with PCs that are using a non-QWERTY keyboard layout.
Couple issues with on-the-fly suspension editing:
- In order to force the game to recognize the suspension changes, I had to use the Repair Vehicle function. So your vehicle will be repaired whenever you edit the suspension.
- The above mentioned workaround may still not work if your vehicle has never touched anything with its body. If you hear the suspension sound but don't see any changes, try driving into a wall or another vehicle.
- When there is a new GTA 5 update, this mod will most likely have to be updated to work with that new update. However, you will still be able to use the old suspension system.
- See the Notes section below for more info.

1.3
-Added ability to have a separate sound for raising the suspension.
-Added more settings in the ini file pertaining to sound and volume control.
-Fixed bug where after using a vehicle with a modified suspension, the next vehicle you use will suddenly have the same suspension value.
-Added a couple of different sounds you can choose from. You can easily try each of them by writing the filename into the appropriate ini setting.
-Please delete the AirbagSuspension.mp3 file if you were using an older version of this mod, it was moved into the AirbagSuspensionSounds folder and renamed.

1.2
Added different speeds for raising and lowering suspension.
Added setting to enable/disable Engine Power and Torque multipliers, in case you want to use a trainer to do that.
Your last vehicle will keep the suspension changes even when outside the vehicle.
Fixed a bug where the hiss sound will continue to play if you exit the vehicle while lowering the suspension.

1.1
Added air/hiss sound when lowering suspension.
Added Automated Suspension Adjustment system:
- When suspension is lowered, suspension will slowly increase depending on your steering angle, which will temporarily give you normal handling and allow you to drift normally.
- When suspension is lowered, suspension will slowly increase when beginning a motorcycle wheelie.
- When suspension is raised, suspension will slowly decrease to normal temporarily when you start moving (between 1 - 10 KMPH or 0.6 to 6 MPH, approximately), in order to give a slight speed boost.
- When suspension is raised, suspension will slowly decrease to normal temporarily when handbraking.
- When suspension is raised, suspension will slowly decrease to normal temporarily when doing sharp turns on a motorcycle.
Added ini setting for the following:
- Suspension Control Speed (How fast your suspension changes)
- Max and Min offsets for Suspension (how high/low you can set the suspension)
- Toggle for the ASA System
- Volume controls (can set to 0 to disable volume)

Notes about the real/on-the-fly suspension system- Raising the suspension too high can make your vehicle roll over easily when turning at certain speeds. (obviously)
- You cannot edit the suspension of motorcycles (I did not thoroughly test this, however). Use the old/fake suspension system if you'd like to do that.
- Lowering the suspension too low will make the wheels act weirdly, and you will not be able to drive. Use the Reset Suspension key/button to return your suspension to normal.
- Lowering the suspension to a certain point will make the vehicle very drifty. Not sure how to fix this, if it's even something that needs fixing.
- Since this on-the-fly method involves editing the handling.meta in the game memory, all vehicles that are the same model will have the suspension changes. Ex: if you raise the suspension of a banshee, all banshees will have the same suspension.

Notes about the older/"fake" suspension system-The vehicle becomes easier to turn the lower the suspension is, but the ASA system will adjust your suspension to the default handling the longer you turn.
-Some vehicles become really "drifty" (see the video) when you raise the suspension too much, some just outright slide. The ASA system will make it much easier to turn when you use the handbrake.
-Motorcycles can do it too! A low suspension makes turning really quick (unrealistically), but raising the suspension can work pretty well. Of course, the ASA system will adjust your suspension accordingly.

Planned Features- Add seperate suspension adjustments for the front and back of a vehicle. Suggested by @imyluck Update: Might be possible; anyone know how it is done in the handling.meta file?

- Add scraping sounds and sparks when suspension is really low. Suggested by @friedSOY This is possible, but I am having a hard time locating the in-game sound and fx for this. If anyone has any info on this, it would be greatly appreciated.

InstallationPlace the "scripts" folder in your GTA V directory where GTA5.exe is located

Credits to ElyZium for the idea, for beta testing, and for finding the first custom sound! Of course, credits to whoever recorded/created the sound.
Credits to Remix for certain suggestions and testing as well.
For the on-the-fly suspension editing method, credits go to ikt for his Real Time Handling Editor source (and for personally helping me!) and to leftas for his vehicle struct research!

Should work with update 1.0.678.1, and up to the Gunrunning update. Might work all the way back to update 1.0.335.2, but it is not tested.
**You MUST run GTA 5 as Administrator or you will get an error!**

What is it?This is now real on-the-fly suspension editing with custom sounds for lowering and raising your suspension. Keyboard and Gamepad support. Customize-able keys and buttons.

The pre-2.0 versions of this script are like @ImNotMental's VStanced, @ikt's Slam It mod , and the feature of the same name in MAFINS' Menyoo mod menu. You can still use this method if you want by disabling the new system in the ini settings.

Features- Choose between on-the-fly handling.meta suspension editing or fake/simulated suspension editing.
Note: You can actually set your default suspension with the real/handling.meta suspension editing, then modify it further with the simulated suspension editing.
- Choose 2 custom sounds that will play when you raise or lower your vehicle's suspension.
- Customize the volume of each sound to your liking, or disable it completely.
- Customize the speed at which your suspension changes. A lower number makes for a smoother animation.
- Enable or disable my Automated Suspension Adjustment system (only for the simulated suspension editing). This system changes your suspension as you drive, depending on conditions such as steering angle and speed.

2.0
Real on-the-fly suspension editing! Credits go to ikt for his Real Time Handling Editor source (and for personally helping me!) and to leftas for his vehicle struct research!
You can still use the pre-2.0 suspension editing along with the ASA System if you so please.
Of course, all the custom sounds will work with this "new" system.
Lastly, the mod should now work properly with PCs that are using a non-QWERTY keyboard layout.
Couple issues with on-the-fly suspension editing:
- In order to force the game to recognize the suspension changes, I had to use the Repair Vehicle function. So your vehicle will be repaired whenever you edit the suspension.
- The above mentioned workaround may still not work if your vehicle has never touched anything with its body. If you hear the suspension sound but don't see any changes, try driving into a wall or another vehicle.
- When there is a new GTA 5 update, this mod will most likely have to be updated to work with that new update. However, you will still be able to use the old suspension system.
- See the Notes section below for more info.

1.3
-Added ability to have a separate sound for raising the suspension.
-Added more settings in the ini file pertaining to sound and volume control.
-Fixed bug where after using a vehicle with a modified suspension, the next vehicle you use will suddenly have the same suspension value.
-Added a couple of different sounds you can choose from. You can easily try each of them by writing the filename into the appropriate ini setting.
-Please delete the AirbagSuspension.mp3 file if you were using an older version of this mod, it was moved into the AirbagSuspensionSounds folder and renamed.

1.2
Added different speeds for raising and lowering suspension.
Added setting to enable/disable Engine Power and Torque multipliers, in case you want to use a trainer to do that.
Your last vehicle will keep the suspension changes even when outside the vehicle.
Fixed a bug where the hiss sound will continue to play if you exit the vehicle while lowering the suspension.

1.1
Added air/hiss sound when lowering suspension.
Added Automated Suspension Adjustment system:
- When suspension is lowered, suspension will slowly increase depending on your steering angle, which will temporarily give you normal handling and allow you to drift normally.
- When suspension is lowered, suspension will slowly increase when beginning a motorcycle wheelie.
- When suspension is raised, suspension will slowly decrease to normal temporarily when you start moving (between 1 - 10 KMPH or 0.6 to 6 MPH, approximately), in order to give a slight speed boost.
- When suspension is raised, suspension will slowly decrease to normal temporarily when handbraking.
- When suspension is raised, suspension will slowly decrease to normal temporarily when doing sharp turns on a motorcycle.
Added ini setting for the following:
- Suspension Control Speed (How fast your suspension changes)
- Max and Min offsets for Suspension (how high/low you can set the suspension)
- Toggle for the ASA System
- Volume controls (can set to 0 to disable volume)

Notes about the real/on-the-fly suspension system- Raising the suspension too high can make your vehicle roll over easily when turning at certain speeds. (obviously)
- You cannot edit the suspension of motorcycles (I did not thoroughly test this, however). Use the old/fake suspension system if you'd like to do that.
- Lowering the suspension too low will make the wheels act weirdly, and you will not be able to drive. Use the Reset Suspension key/button to return your suspension to normal.
- Lowering the suspension to a certain point will make the vehicle very drifty. Not sure how to fix this, if it's even something that needs fixing.
- Since this on-the-fly method involves editing the handling.meta in the game memory, all vehicles that are the same model will have the suspension changes. Ex: if you raise the suspension of a banshee, all banshees will have the same suspension.

Notes about the older/"fake" suspension system-The vehicle becomes easier to turn the lower the suspension is, but the ASA system will adjust your suspension to the default handling the longer you turn.
-Some vehicles become really "drifty" (see the video) when you raise the suspension too much, some just outright slide. The ASA system will make it much easier to turn when you use the handbrake.
-Motorcycles can do it too! A low suspension makes turning really quick (unrealistically), but raising the suspension can work pretty well. Of course, the ASA system will adjust your suspension accordingly.

Planned Features- Add seperate suspension adjustments for the front and back of a vehicle. Suggested by @imyluck Update: Might be possible; anyone know how it is done in the handling.meta file?

- Add scraping sounds and sparks when suspension is really low. Suggested by @friedSOY This is possible, but I am having a hard time locating the in-game sound and fx for this. If anyone has any info on this, it would be greatly appreciated.

InstallationPlace the "scripts" folder in your GTA V directory where GTA5.exe is located

Credits to ElyZium for the idea, for beta testing, and for finding the first custom sound! Of course, credits to whoever recorded/created the sound.
Credits to Remix for certain suggestions and testing as well.
For the on-the-fly suspension editing method, credits go to ikt for his Real Time Handling Editor source (and for personally helping me!) and to leftas for his vehicle struct research!

@RainbowGTX If you have the Steam version, I have updated a fix, though it is mostly for those without the Gunrunning update. Just waiting for the virus scan to finish.
Couple of things you can try:
-Disable sound and/or lower volume to 0.
-Run GTA 5 as administrator manually (right-click-> Run as administrator)

@ikt Drive Modes spawns a clone, not this one! But I did not know that tidbit of info.
I think it is the Visual Height in VStancer which conflicts; the wheels move up or down while the position of the body of the car stays constant - only when actively changing fSuspensionRaise though, it seems.

@stillhereHmmm, I do lock the suspension height, so handling changes might not affect it. Only on newly spawned vehicles I let the game apply height. Sadly I don't know where the function is called from, otherwise I could make it filter better on which kinds of things are changing the height. Doing things in assembly is kinda annoying xD

@ikt Ah so I assume the height must be locked for the camber to work properly? I was hoping a simple toggle for locking/unlocking it could solve the issue. Well at least VStancer covers suspension on its own, so it's not that big a deal (for me at least lol)!

okay got it figure out! thank you! also im not sure if anyone has said anything, but lets say i use the mod on one specific vehicle, all the same vehicles spawn lifted super high. now im not sure if thats a conflict with vstancer or not.

@Nesbitt123 Nope, that's the nature of editing the handling.meta in memory, it will affect all the same vehicles. Only way around this is doing it how VStancer does it (wheel height), but the two scripts would most definitely conflict still. Well, another way is to create a script that can modify the height variables in VStancer itself, but I think that would be very complicated :O

hello buddy, i'm loaded this script and using. awesome script! but still failing on this mod. i'm lowering the vehicle very nicely but wheels can not cambering. can you add the camber display? thx for reading and sorry for english. :)