Stable1.4.3
UPDATE
- No longer using global functions.
- Now using global constants for white color.
- Cached materials.
- Added config option
CH_VehStartup.Config.NotificationTime - Added a language system.
- Added English.
- Added French thanks to FlavSnip.
- Added Danish.
- Renamed the global table to be more unique.
- Removed one usecase of table.HasValue and used proper optimized method.
I suggest a full reinstall with this update. Redo your configuration afterwards. It's worth it!
Stable1.4.2
UPDATE
- Completely redone the file structure according to gmodstore guidelines (sorry 2014 addon).
- Fixed incompatibilities with VCMod Cruise Control.
- Better networking.
- Cleaned up code.
There are no changes to the config, so you can copy/paste it after doing a full reinstall. The directions have changed, so please see the description!
Stable1.4.1
- Fixed a problem with the engine always being on if VCMod Cruise Control was on.
Stable1.4
Pushed an update to improve the overall looks of the script, and added some requests from people. I will recommend completely deleting the old script and just dropping this new version in as much as changed both code and config wise.
- Completely redesigned the startup bar (only materials now).
- Only show notifications for the driver and not the passengers.
- If you exit a vehicle while starting it, it will no longer turn on the engine.
- Added config VehStartup.Car.NoStartBlacklist. Vehicles in this list does not need to be started/stopped (found by model).
- Added config VehStartup.Car.Startup_Text and VehStartup.Car.Startup_TextColor.
Enjoy!
Stable1.3
- Added VEHSTARTUP_NovaCarsHealthEnabled to support health with novacars.
- Fixed VEHSTARTUP_KeepEngineRunning not keeping the engine running if you have the engine ON when you leave the vehicle.
- Fixed the script thinking the engine was on when the vehicle was first spawned (also related to VEHSTARTUP_KeepEngineRunning)
- Added better notifications when entering vehicles.
I advise everyone to update their current version.
Stable1.2.5
- Added support for Williams car dealer fuel system. VEHSTARTUP_WillCarDealerFuelEnabled config to enable the feature.
- Installation is done a bit different. Foldername is lowercased to support Linux by default and less useless folders in the download.
Stable1.2.4
- Entering a chair or something that is not actually a vehicle (prop_vehicle_jeep entity), will no longer activate anything related to the startup script.
Stable1.2.3
- Added VEHSTARTUP_VCModFuelEnabled. Default is false, needs to be set to true if you have vcmod installed.
- Updated fuel code to newest vcmod code (was old and outdated).
Basically you don't need to update if you don't have VCMod!
Stable1.2.2
- The notify to start the engine only appears if the engine is actually off when entering the vehicle.
Stable1.2.1
- Added support for williams car dealer. Vehicles will not start if the vehicle has ran out of fuel.