Driveable vehicles based on prop_vehicle_driveable for TF2, CS:S, and more
Attention: This release requires SourceMod 1.11. Make sure your server is up to date with the newest version.
sm_vehicle_removeall
and sm_vehicle_reload
OnVehicleSpawned
-> replace with SDKHook_SpawnPost
OnVehicleDestroyed
-> replace with OnEntityDestroyed
This update fixes errors introduced with the previous patch. Updating is highly recommended if you dislike console spam.
This update greatly improves the internal handling of entities and deprecates two forwards as a result of it.
OnVehicleSpawned
and OnVehicleDestroyed
forwards
OnEntityDestroyed
forwardowner
parameter in Vehicle.Create
to -1
and added default values for the origin
and angles
parametersVehicle
methodmap constructorThis release fixes compatibility with Team Fortress 2 after a recent update. CS:S and Black Mesa users do not need to update.
id
property in the vehicle configuration
This release primarily aims to add more commands, as well as reworking and improving upon existing commands.
sm_vehicle_reload
- Reloads the vehicle configurationsm_vehicle_remove <#userid|name>
- Remove all vehicles of a player (uses SourceMod targeting)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
sm_destroyvehicle
have been removed entirely to simplify configuring SourceMod command overridesbool 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 identifierThis release adds Windows gamedata for supported games and adds a few QOL features for Team Fortress 2.
CBaseAnimating::GetAttachmentLocal
has been replaced with a different overload that isn't inlined on Windowsfunc_respawnroomvisualizer
entitiesvoicemenu 0 0
) to enter vehicles