Garry's Mod

Garry's Mod

71 ratings
GAuto
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
1.286 MB
8 Oct, 2023 @ 4:56pm
24 Oct @ 4:48pm
26 Change Notes ( view )

Subscribe to download
GAuto

In 6 collections by OPGman
Lambda Gaming Sandbox
138 items
Lambda Gaming Half-Life Universe RP
41 items
Lambda Gaming CityRP
74 items
Lambda Gaming Sandbox (Server Version)
166 items
Lambda Gaming CityRP (Server Version)
88 items
Lambda Gaming HLU RP (Server Version)
72 items
Description
GAuto is a lightweight vehicle system for Garry's Mod that extends the default functionality of vehicles based on the built-in jeep and airboat entities. All vehicles made by popular creators TDM, SGM, and LW before September 2023 are supported out of the box. A few select vehicles outside of these creators are also supported. I will not be adding support to any more vehicles myself, but contributions that add support are welcome, and vehicle creators are encouraged to add support to their own addons. A full list of supported addons can be found here.

Features
Vehicle Health System
  • Vehicles will smoke when their health drops to 30% or below, and they will catch fire and explode when their health reaches 0.
  • If VFire is installed, vehicles that remain on fire for too long will become charred and permanently unfixable.
  • Vehicles can be damaged through bullets, explosives, collisions, etc.
  • The repair tool weapon and repair kit entity can be used to restore vehicle health.
Tire Damage
  • Tires will deflate after receiving enough damage from either bullets or spike strips.
  • Tires can be repaired with the secondary fire of the repair tool.
  • Deflated tires will cause the vehicle to slow down and become harder to control.
Vehicle HUD
  • HUD appears on the right when player enters the driver's seat.
  • Displays vehicle's health, fuel level, door lock status, and cruise control status.
Brake Locking
  • Brakes will only lock on a vehicle if the driver holds their jump key as they exit the vehicle.
  • Brakes can be released with the vehicle management tool for towing purposes if the vehicle is locked and cannot be driven away.
Steering Wheel Locking
  • The front wheels will lock into a turned position if the driver keeps them turned as they exit the vehicle.
  • Doesn't work on airboats since it causes them to spin forever.
Passenger Seats
  • Supported vehicles will spawn with multiple passenger seats.
  • Players can switch between seats using the number keys.
  • The driver can kick passengers out by holding alt and pressing the number keys.
  • Unsupported vehicles will have a single passenger seat automatically placed next to the driver's seat if there's enough room.
Horns
  • All vehicles, both supported and unsupported, have a horn that can be used by pressing J.
  • GAuto comes with 3 horn sounds, but when adding support to a vehicle, any sound can be used.
Door Locking
  • Drivers can lock their doors to prevent any other players from getting in, even when the driver leaves, by pressing N.
  • Locking the doors does not prevent passengers from getting out.
Fuel System
  • Fuel is consumed when the throttle is pressed.
  • Fuel can be replenished through the fuel can entity or weapon.
Cruise Control
  • Toggled by pressing V as the driver.
  • Throttle will always start out slow. Drivers can increase/decrease cruise speed by pressing forward/backward.
Vehicle Data
  • Data tables for each vehicle that contain info about health, seat positions, horn sound, etc. are stored in formatted JSON files for easy editing.
  • A vehicle creation tool is also included to easily add GAuto support to your own vehicles.
Engine Toggle
  • Pressing P will turn off the engine without requiring the driver to leave the vehicle.
Customizable Controls
  • All controls besides the seat number keys can be reassigned.
Particles
  • Engine emits a plume of smoke when vehicle is heavily damaged.
  • Engine emits a small flame when vehicle is destroyed.
  • Charred vehicles will emit a small cloud of smoke.
  • All particles can be disabled server-side if it causes performance issues.
  • Not supported on airboats due to the lack of an engine attachment (and wheels).

FAQs
Is a lighting system planned?
No. Large systems like this are outside the scope of this addon. If you want a lighting system to use with GAuto, I recommend Photon 1 or Photon 2.

Will you add support to [this car]?
I occasionally add support for more vehicles but I usually don't take requests for it. Ideally, vehicle creators should be adding support to their own vehicles. You can also add support yourself and submit a PR for it on GitHub.

Will you add [this feature]?
At this point, new features are a low priority. GAuto has been in development since 2019 and I've added everything that I originally wanted to add, and more. I'll gladly take requests but there's no guarantee that they will be added.

Why is smoke and fire sometimes floating above the car?
The smoke and fire effects are placed at the position of the engine attachment that is built into the vehicle's model. If the attachment isn't aligned properly, the effects won't be aligned properly either. Some vehicle creators do this intentionally to make the vehicle drivable in deep water. Supported vehicles can have an engine offset parameter applied so the effects appear in the right place.

Development
Vehicle creators can add GAuto support to their own addons using a tool, and developers can interface with the addon through a variety of methods. You can learn more about that here.[github.com]

Addon Compatibilities & Integrations
Photon 1
GAuto's HUD and default controls were designed to avoid conflicts with Photon 1.

Photon 2
GAuto's HUD was designed to avoid conflicts with Photon 2's HUD, however to avoid conflicts with controls, seat switching and ejection are disabled on Photon 2 vehicles.

Simfphys & LVS
Checks are in place to ensure GAuto can be used with these addons without issue. The spike strip will also pop tires from both systems.

VFire
Some destruction effects rely on hooks from VFire to work. For the best experience it's recommended that you have it installed.

DarkRP
The door lock status of vehicles is properly synced when using keys, an alarm will sound when lock picking a vehicle, and passengers will be ejected when using a battering ram on a vehicle.

Sligwolf's Vehicles
Most vehicles should work fine with GAuto, but there are a handful that are unsupported because they don't use prop_vehicle_jeep as a base.

VCMod, SVMod, Vehicle Damage 2, Etc
Vehicle systems like these are NOT compatible. They will likely interfere with GAuto and cause various systems to break.

Credits
  • Lambda Gaming Community - Beta testing and feature suggestions
  • rp_truenorth_v1a - Map used in screenshots and thumbnail
  • SGM - Feature suggestions

[github.com]
71 Comments
Dr Coomer 9 minutes ago 
ah thank you very much
OPGman  [author] 24 Oct @ 6:00pm 
Added. It can be changed with the gauto_phys_damage_multiplier ConVar.
OPGman  [author] 23 Oct @ 8:47am 
if you mean physical damage, there's currently no multiplier for that but I can add one
Dr Coomer 23 Oct @ 2:28am 
where can i adjust the damage taken multiplier?
OPGman  [author] 22 Sep @ 6:29pm 
there's an entity and a weapon for repairing, they're both under the GAuto category
Charmyzard 21 Sep @ 7:38pm 
wheres the repair
OPGman  [author] 21 Sep @ 6:43pm 
what
Fran 21 Sep @ 5:41pm 
wheres the repartir
bearishplane17 26 Aug @ 4:29pm 
From what I see, It doesn't seem CrSk Autos seem to be compatible which is a shame.

Either way this is clearly better than paying $20 for VCMod.
Mich (Garry) 3 Jul @ 2:27pm 
Thank you !