Source Vehicles Versions Save

Driveable vehicles based on prop_vehicle_driveable for TF2, CS:S, and more

2.4.1

7 months ago

Changelog

  • Added HL2:DM gamedata (thanks to @Alienmario)
  • Updated TF2 gamedata so people stop saying that the plugin doesn't work
  • Miscellaneous code improvements

2.4.0

1 year ago

Attention: This release requires SourceMod 1.11. Make sure your server is up to date with the newest version.

Changelog

Changes

  • Overhauled a majority of the codebase to allow it to be compiled with the SourcePawn Compiler 1.11
  • Reduced gamedata due to new functions introduced in SourceMod 1.11
  • Updated default command admin flags for sm_vehicle_removeall and sm_vehicle_reload

Fixes

  • Fixed required ConVar values being overridden by server configurations
  • Fixed already spawned vehicles not being re-registered by the plugin on plugin reload

Removals

  • Removed deprecated plugin forwards (deprecated since 2.3.1)
    • OnVehicleSpawned -> replace with SDKHook_SpawnPost
    • OnVehicleDestroyed -> replace with OnEntityDestroyed

2.3.5.1

1 year ago

Note: You do not need to update if you do not use this on a Team Fortress 2 server.

Changelog

  • Updated the gamedata for the 22/06/2022 TF2 update

2.3.5

2 years ago

This update fixes errors introduced with the previous patch. Updating is highly recommended if you dislike console spam.

Changelog

  • Fix plugin errors when a vehicle entity has been deleted
    • This was caused by changes to the vehicle property storage in 2.3.4

2.3.4

2 years ago

This update greatly improves the internal handling of entities and deprecates two forwards as a result of it.

Changelog

  • Deprecated OnVehicleSpawned and OnVehicleDestroyed forwards
    • These forwards were originally created to be able to fetch vehicle properties before they were deleted by the plugin in an OnEntityDestroyed forward
    • The plugin now delays this process by a frame, allowing subplugins to react properly
    • Subject to removal in version 2.4.0
  • Changed the default value of the owner parameter in Vehicle.Create to -1 and added default values for the origin and angles parameters
  • Allow passing entity references into the Vehicle methodmap constructor

2.3.3

2 years ago

Changelog

  • [#25] Fixed a typo in the gamedata file, causing plugin instability on Windows. Thanks to @Dispenz0r for the pull request
  • Fixed incorrect use of translation format specifiers, causing the wrong language to be displayed in menus sometimes

2.3.2

2 years ago

This release fixes compatibility with Team Fortress 2 after a recent update. CS:S and Black Mesa users do not need to update.

Changelog

2.3.1

2 years ago

Changelog

  • Updated configuration parsing errors to include the vehicle identifier
  • Deprecated the id property in the vehicle configuration
    • This property will print a warning when used and is subject to removal in a future version
    • Use the section name of the vehicle to define its identifier (see example configuration)

2.3.0

2 years ago

This release primarily aims to add more commands, as well as reworking and improving upon existing commands.

New commands

  • sm_vehicle_reload - Reloads the vehicle configuration
  • sm_vehicle_remove <#userid|name> - Remove all vehicles of a player (uses SourceMod targeting)

Changes to existing commands

  • Existing commands have been renamed to follow the sm_vehicle naming to keep them consistent and easier to remember
    • sm_createvehicle -> sm_vehicle_create
    • sm_removevehicle -> sm_vehicle_removeaim
    • sm_removeallvehicles -> sm_vehicle_removeall
  • Command aliases such as sm_destroyvehicle have been removed entirely to simplify configuring SourceMod command overrides
  • All commands now print activity logs to other admins
    • image

New natives

  • bool Vehicle.GetId(char[] buffer, int maxlength) - Retrieves the identifier of this vehicle
  • bool GetVehicleName(const char[] id, char[] buffer, int maxlength) - Retrieves the name of the vehicle with the given identifier

Miscellaneous changes

  • Reordered translations to be more consistent
  • Various other code improvements

2.2.0

2 years ago

This release adds Windows gamedata for supported games and adds a few QOL features for Team Fortress 2.

Gamedata Update

  • Both Linux and Windows servers are now 100% supported
    • Windows gamedata for all supported games (TF2, CS:S, BM:S) has been updated
    • The signature for CBaseAnimating::GetAttachmentLocal has been replaced with a different overload that isn't inlined on Windows

QOL Features for Team Fortress 2

  • Vehicles can no longer pass through func_respawnroomvisualizer entities
  • Players may now use the "MEDIC!" voice command (voicemenu 0 0) to enter vehicles