Skip to content

Releases: Mikusch/source-vehicles

1.5.0

21 Feb 02:59
9b4a4d4
Compare
Choose a tag to compare

Additions/Changes:

  • Updated names of keys in the configuration file
    • Renamed name to id
    • Renamed display_name to name
    • Note: Existing configs will need to be migrated, this change is not backwards compatible
  • Renamed convar tf_vehicle_physics_damage_multiplier to tf_vehicle_physics_damage_modifier
  • Added a log message if LoadSoundScript extension could not be found
  • Updated README to contain info about convars

Fixes:

  • Fix players being stuck in noclip with hidden viewmodels if their vehicle was deleted while they were driving it

1.4.1

18 Jan 19:02
Compare
Choose a tag to compare

This release makes vehicle drivers fully visible instead of only showing their cosmetics.

1.4.0

31 Dec 14:27
Compare
Choose a tag to compare

This release hides the viewmodel while driving a vehicle (#6) and brings several smaller code improvements.

v1.2

27 Dec 12:57
87ffe1b
Compare
Choose a tag to compare

This is a small release addressing the issue of vehicles with custom models and textures not being added to the downloads table.

Additions

  • Ability to add files for custom vehicles to the downloads tables through a new downloads key in the vehicle config
"0"
{
	"name"			"example_vehicle"
	"display_name"	"#Vehicle_ExampleVehicle"
	"model"			"models/vehicles/example_vehicle.mdl"
	"skin"			"0"
	"vehiclescript"	"scripts/vehicles/example_vehicle.txt"
	"type"			"car_wheels"
	"downloads"
	{
		"0"	"models/vehicles/example_vehicle.dx80.vtx"
		"1"	"models/vehicles/example_vehicle.dx90.vtx"
		"2"	"models/vehicles/example_vehicle.mdl"
		"3"	"models/vehicles/example_vehicle.phy"
		"4"	"models/vehicles/example_vehicle.sw.vtx"
		"5"	"models/vehicles/example_vehicle.vvd"
		"6"	"materials/models/vehicles/example_vehicle.vmt"
		"7"	"materials/models/vehicles/example_vehicle.vtf"
	}
}

Fixes

  • Fixed an invalid entity error when a vehicle was getting deleted

v1.3

27 Dec 21:42
2297423
Compare
Choose a tag to compare

This release changes the way vehicles are initialized when they are spawned through other means than the plugin.

Instead of the targetname, it will now use the model and vehicle script of the prop_vehicle_driveable to fetch the associated config.

v1.1

26 Dec 02:46
Compare
Choose a tag to compare

Additions

  • Added support for vehicles not created by the plugin itself
    • Any prop_vehicle_driveable entity will be hooked upon creation
    • To properly initialize special vehicle types such as airboats, set the targetname to a valid name defined in the vehicle config
      • e.g. to have the plugin properly initialize an airboat, give your prop_vehicle_driveable the targetname "hl2_airboat" so the plugin can set the vehicle type as defined in the config under the name "hl2_airboat"
      • The targetname comparison is done using a "contains" check, meaning that you can have names such as my_hl2_airboat_test and it will still manage to match
      • If multiple names in the config match the targetname, it will use the first one

Fixes

  • Fixed an invalid entity error on plugin start related to entities being queried right after server boot
  • Fixed no error message being displayed when attempting to remove non-vehicle entity

v1.0

22 Dec 00:40
Compare
Choose a tag to compare

First public release of the plugin.

For bug reports and suggestions please use the issue tracker. If you want to improve the plugin, feel free to open a pull request!