Releases: Mikusch/source-vehicles
Releases · Mikusch/source-vehicles
2.4.1
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
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
andsm_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 withSDKHook_SpawnPost
OnVehicleDestroyed
-> replace withOnEntityDestroyed
2.3.5.1
2.3.5
2.3.4
This update greatly improves the internal handling of entities and deprecates two forwards as a result of it.
Changelog
- Deprecated
OnVehicleSpawned
andOnVehicleDestroyed
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
- These forwards were originally created to be able to fetch vehicle properties before they were deleted by the plugin in an
- Changed the default value of the
owner
parameter inVehicle.Create
to-1
and added default values for theorigin
andangles
parameters - Allow passing entity references into the
Vehicle
methodmap constructor
2.3.3
2.3.2
This release fixes compatibility with Team Fortress 2 after a recent update. CS:S and Black Mesa users do not need to update.
Changelog
- Updated gamedata for the Team Fortress 2 Update on 2021-11-16
2.3.1
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
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 configurationsm_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 remembersm_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
New natives
bool Vehicle.GetId(char[] buffer, int maxlength)
- Retrieves the identifier of this vehiclebool 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
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