Automatic Air Vents / Lateral Wings for various vehicles 1.0.1

Add-On .Net Vehicles Open Source Prop


Description


Note: Do not use any vehicle godmode with this mod. Vehicle godmode will close all open air vents. As a result, you will end up with the air vents constantly opening and closing, or not opening at all.

Suggested by @3ric2hew and made possible by @Game68240!

Vehicles that have open-able side vents / lateral wings can now be controlled manually or automatically based on certain conditions such as oil temperature, weather/ambient temperature, speed, and acceleration! If you're not quite sure what this is, here is an example. And another one.

How to adjust the air vents' angle manually:
For gamepads, hold Dpad Right and push UP or DOWN on the right stick.
For keyboards, you can choose your own keys in the settings.ini. The default is O for up, and L for down.

    --------------------------------------------------

Supported add-on vehicles:

Lamborghini Reventón AUTOVISTA by @Game68240

Lamborghini Reventón | Hot Pursuit Police | AUTOVISTA by @Game68240

2012 Lamborghini Aventador LP700-4 by @smokey8808

    --------------------------------------------------

Features
- Manual control of air vents / lateral wings using keyboard or gamepad controls.
- Automatic opening and closing of air vents / lateral wings based on the following: Speed, weather/ambient temperature, oil temperature, and acceleration.
- Oil temperature can increase/decrease faster or slower depending on the weather and on how fast you accelerate.
- Once your oil temperature reaches a certain point (230 degrees fahrenheit), the air vents will no longer automatically close, even if you are idle. You can still close them manually BUT the temperature can rise even faster if you keep them closed.
- Once your oil temperature passes 300 degrees, your engine starts taking damage if you keep your vents closed. So keep them open if you want your vehicle to survive!
- Once your oil temperature passes 400 degrees, your engine will take damage as you accelerate, no matter if your air vents are open or closed. It is recommended to repair your vehicle quickly (or sit idle and wait for the temp to go down by itself, slowly), or your vehicle will start smoking, catch fire, and possibly explode.
- You can change almost any aspect of the oil HUD, or disable it completely. If you need further customization, you can also edit the script itself.

Changelog
1.0.0 First release!
1.0.1 Added support for 2012 Lamborghini Aventador LP700-4 by @smokey8808

Bugs I am aware of
- The popup headlights may move slightly while driving. This is because the game thinks the air vents are an open door, and realistically that's what would happen to a door.. It is possible to fix this bug, but it requires the car mod authors to remove the "physics" or "animation" of the air vent doors.

Requirements
ScripthookV
ScripthookV.NET

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

If you haven't noticed, this script uses the same concepts as my Pop-up Headlights script, so much so that much of the code and even this description is ripped right out of it. The more you know lol

First Upload: November 16, 2024 Last Updated: November 16, 2024


0 Comments