Changelog/0.21.x

This is the changelog of the BeamNG.drive alpha versions released from December 2020 to February 2021. This series of updates brings about the **last phase of the Gavril D-Series overhaul**, a series that has dated all the way back to version 0.18, featuring a facelift variant and the D45 heavy-duty workhorses among other things. This has also been supplemented by a long-awaited **D-Series Crawler and Prerunner** addition that turns the pickup truck into a true offroad behemoth. Other notable changes include a **complete renovation of Jungle Rock Island**, significant improvements for West Coast, USA, driving dynamics amendments, camera collision, and smart spawning.

* Bruckell LeGran:
	+ Restructured rear frame to be more physically accurate
	+ Front frame tuned for better deformation, new bumper support design
	+ Rear doors now have 2 full Jbeam segments
	+ Fender structure improved, simplified
	+ Headlights and taillights are now separate and detachable
	+ Fixed roof mesh spiking issues
	+ Added disc brakes
	+ Added lifted springs and shocks
	+ Fixed rear drum brakes using disc thermals
* Bruckell Moonhawk: Added front guard
* Cherrier FCV: Increased amount of added floor strength when a battery is fitted
* Civetta Bolide:
	+ Polizia config changed to use same wheels and tires as the 350GT. The previous tire setup did not suit the chassis and proved to be too oversteery
	+ Fixed headlights values
* ETK 800 Series:
	+ Reduced gear whine volume
	+ Redesigned Driving Experience skin
	+ Replaced old ESC/TC system with advanced Driving & Safety Electronics
	+ Added various drivemodes
	+ Added ActiveLocking differential
	+ Added adaptive dampers
	+ Fixed missing windshield node
* ETK K-Series:
	+ Reduced gear whine volume
	+ Redesigned Driving Experience skin
	+ Added Driving Academy skin
	+ Added ETK Signature skin
	+ Replaced old ESC/TC system with advanced Driving & Safety Electronics
	+ Added various drivemodes
	+ Added ActiveLocking differential
	+ Added TorqueVectoring differential
	+ Added adaptive dampers
	+ Added adaptive swaybars
* Gavril Barstow:
	+ Fixed triangulation issue with front fenders
	+ Taillights are now detachable
	+ Added front subframe brace
* Gavril Bluebuck:
	+ Bodystyle slot replaced with individual bodies
	+ Fixed rear wheels breaking off on some offsets
* Gavril D-Series:
	+ Updated body material and meshes
	+ Updated all lights
	+ Updated glass materials
	+ Replaced “Rusty” skin with new “Old Paint (Colorable)” skin
	+ Updated Park Ranger skin
	+ Added 423 Sport skin
	+ Reworked Flatbed
	+ Added D45
	+ Added 6.9 V8
	+ Added race N/A intake
	+ Added front guard
	+ Added rear marker lights for dually trucks
	+ Added drum brakes
	+ Increased torsional rigidity of heavy-duty frames
	+ Modular Desert Truck Parts:
		- 3 new custom offroad frames
		- Long travel offroad suspensions, with Independant (4WD/2WD) or solid axle from suspension options all with bypass shock abosrbers
		- Bobtail rear end, dove-cut front and rear ends, or full wide body fenders
		- Two Pre-Runner configurations: Standard length frame and extended frame
		- Two Crawler configurations: a crew cab crawler and the Superpig
		- Hybrid 4WD IFS Desert Rock Racer configuration
* Gavril Grand Marshal:
	+ Changed drift config to use 6.9L natural aspirated v8
	+ Updated BCPD skin
	+ Updated Police skin
	+ Added Police Interceptor skin and configuration
	+ Added 6.9 V8
	+ Added race N/A intake
* Gavril H-Series:
	+ Updated all lights
	+ Updated glass materials
	+ Added “Street Tuned” config
	+ Added “Old Paint (Colorable)” skin
	+ Added derby config
	+ Added Rollback
	+ Added 6.9 V8
	+ Added race N/A intake
	+ Added front guard
	+ Added drum brakes
	+ Fixed cab roof accessory slot
	+ Increased torsional rigidity of heavy-duty frames
* Gavril Roamer:
	+ Added BCPD skin and configuration
	+ Updated Sheriff skin
	+ Updated taillights and signals
	+ Updated glass materials
	+ Added “Old Paint (Colorable)” skin
	+ Added derby config
	+ Added 6.9 V8
	+ Added race N/A intake
	+ Added drum brakes
	+ Increased torsional rigidity of heavy-duty frames
* Hirochi SBR4:
	+ Replaced old ESC/TC system with advanced Driving & Safety Electronics
	+ Added various drivemodes
	+ Added ActiveLocking differential
	+ Added TorqueVectoring differential
	+ Added adaptive dampers
	+ Added adaptive swaybars
* Hirochi Sunburst:
	+ Renamed old police configuration to Firwood Police
	+ Added Generic Police skin and configuration
	+ Added Police Interceptor skin and configuration
* Ibishu 200BX:
	+ Fixed headlights values
	+ Added “Old Paint (Colorable)” skin
	+ Added drag configuration
	+ Added “Trackday Beater” skin
	+ Added automatic drag transmission
	+ Added adjustable wheelie bar
* Ibishu Covet:
	+ Added “2.0 GTz” and “2.0 GTz Special Edition” configs
	+ Added various sport exterior parts
	+ Added 2.0 engine from the Ibishu Pessima
	+ Added drag configuration
	+ Replaced beater with derby and skidplate configurations
	+ Reworked rear end Jbeam structure for better node density
	+ Front and rear fascias, headlights and taillights now separately detachable
	+ Removed “blown” engine and suspension parts
	+ Added 5-lug hubs
	+ Added heavy duty and ultra-heavy duty engine mounts
	+ Added hood exhaust for 2.0 turbo and 1.5 N/A
	+ Added headlight air intake
	+ Added headlight blanking plates
	+ Added drag rear bumper
	+ Added lightweight glass
	+ Added carbon tailgate and spoiler
	+ Added sport brakes
* Ibishu Hopper:
	+ Fixed 6 lug locking hub unlockable
	+ Reduced braking force of standard brakes to prevent locking too easily
	+ Added Sheriff and Park Ranger skin and configuration
* Ibishu Miramar: Increased the stiffness of the steering box structure for better steering feel
* 1988 Ibishu Pessima:
	+ Added “Old Paint (Colorable)” skin
	+ Added derby configuration
	+ Trunk lights are now removable
	+ Fixed collision fighting when door glass is removed
* Wheels:
	+ Added “Gavril Momentum” wheels
	+ Added chrome “GP Wrestler” version
	+ Added “Gavril HD350” wheels
	+ Added “Alder Special 423” wheels
	+ Added “Wangan-2P” wheels
	+ Added 13×5 size for TIMS Egota wheels
* Added pre-loaded configurations for the Small Flatbed, Box Utility and Large Box Utility trailers
* Updated light materials for ambulance and cargobox upfits
* Added "Truck It Up!" skin for cargobox upfit
* Improved colors for Navigation Unit map for better contrast between road and background
* Aerodynamics tuning of all vehicles: Drag, lift and downforce values to more realistic values now that top speeds are not hampered by high tire rolling resistance
* Minor suspension retuning on various cars to suit improved tires
* Fixed issue for all cars with independent suspension halfshafts, where breaking a halfshaft would break off the wheel
* Added 265/75R16 and 245/76R16 dually rear tires
* Reworked the texturing on the rock crawling tire (offroadtire\_06a)

Environment Art:
* Adjusted time scale on all levels: It now takes 18 minutes for a full cycle
* Jungle Rock Island renovation:
	+ Laid down Peninsula terrain layout
	+ Updated industrial site with new buildings and layout
	+ Updated Mine zone
	+ Built abandoned Fortress and bridge
	+ Rebuilt the Airfield (Tower, Hangar, Abandoned control building and airstrip)
	+ Rebuilt bridges and tunnels
	+ Added the Abandoned Resort
	+ Reshaped the area at the Volcano top
	+ Added abandoned bunkers and cannons
	+ Created waterfalls zone
	+ Rebuilt all beaches and coast cliffs
	+ Reworked vegetation and road textures
	+ Renovated old observatory
	+ Renovated port area
* West Coast, USA:
	+ Added Logistics Center location
	+ Added Central Station location
	+ Added downtown construction site
	+ Added gas station outside the city
	+ New linking tunnels
	+ Performance optimizations
	+ Fixed some AI issues on highways
* Automation Test Track: Fixed several AI path issues
* Derby Arenas:
	+ Updated map with new buildings and clutters
	+ Reworked the arena with new textures and some small modeling changes
	+ Fixed some decals issues
* East Coast, USA:
	+ Fixed floating bushes and tree
	+ Fixed some AI road issues
	+ Fixed floating trash objects
* Gridmap: Fixed a collision issue causing inaccurate collisions
* Hirochi Raceway: Fixed pole through tents
* Industrial Site:
	+ Fixed floating decalroad in container land
	+ Fixed port crane width
* Italy:
	+ Minor fixes: road markings, deleted stray AI paths
	+ Fixes to AI paths to improve the performance of traffic
	+ Added anisotropic filtering to container materials
* Utah: Improved AI paths to solve some vehicles crashing into obstacles

Scenarios:
* Industrial Shakedown Scenario: Updated the ramps models and textures
* Jungle Rock Island: Revamped existing Time Trials and Scenarios

	+ Active Locking Differential
	+ Torque Vectoring Differential
* Fixed wrong rear wheel angle calculations
* Implemented motor torque control for yaw adjustments
* Exposed drivemode color to electrics ( electrics.values.dseColor )
* Adjusted body slip angle calculations affecting throttle control too much in low speed + high steering angle scenarios

Powertrain:
* Improvement to clutch angle calculation affecting behavior when partially clutched in
* Fixed “Fundamental Frequency” setting not working in Engine Audio Debug app
* Pefrormance optimization of various devices
* Fixed possible NaN source in electric motor load calculation
* Improved DCT shifting smoothness for low load applications
* Combustion engine now additionally exposes actual idleAV min/max values
* Combustion engine now gains ignition issues when damaged
* Combustion engine now starts to stutter when the fuel tank is almost empty

Render Engine:
* Added new Screen Space Ambient Occlusion with better quality and better performance with high resolutions
* Added support Sun’s shadows in translucent materials
* Added automatic enhancement of shadows when using Driver camera: Shadows closer to the camera will appear more defined
* Reduced memory used to render grass by 75%
* SMAA is now the default Antialiasing mode when using Normal or Higher quality
* Added ability to adjust color correction strength

Audio:
* Brake squeal for all vehicles – silent for stock vehicles, progressing up to race spec vehicles
* Discrete volume balancing between all engine/exhaust sample sets in FMOD. New default ratio \*load/offload curves in jbeam. All engine/exhaust jbeam volumes adjusted to compensate.
* Direction-based filtering for ambience sounds
* Rumblestrip improvements
* Kickup/Skid/Roll tweaks (ongoing) plus higher pitch skid for extra smooth surfaces
* Support for different tyre size/volume/tread/stiffness altering pitch of asphalt skids (ongoing to include other surfaces, and volume)
* Reworked ambiences for Jungle Rock and West Coast USA
* Improved energy calculation of break sounds
* Implemented brake squeal logic
* Added brake squeal to glazed brakes to convey their state more easily to the driver

Artificial Intelligence:
* Bug fix for nan value in traffic avoidance force coefficient
* Fixed issue where AI could not resolve sharp angle of plan line and got stuck
* Added AI follow mode for following a target vehicle
* Bug fix to AI chase mode where the AI vehicle would not update its path under certain high velocity conditions
* Improved ability of AI when chasing a target vehicle at close proximity
* Traffic:
	+ Implemented smarter initial spawn points of traffic vehicles
	+ Improved respawning of traffic
	+ Improved default generated selections of vehicles for traffic
	+ Added player infractions to the police mode in traffic; they are listed in the Messages UI after you get pulled over
* Pathfinding:
	+ Improved traffic AI pathfinding and following
	+ Added a pathfinder that calculates a navgraph shortest path between a graph node and a (vec3) position (and vice versa)
	+ Added a pathfinder that calculates a navgraph shortest path between two (vec3) positions

Game Engine:
* Faster file comparison for Texture cooker
* Fixed old console overwriting console history
* Fixed GPU performance counter displaying 0
* Implemented hot loading of texture for TerrainMaterials
* Fixed switchable material getting in previous state when recovery was used
* Implemented error mesh showing if mesh failed to load or is missing (no\_mesh.dae)
* Fixed glowmap that didn’t work in replay
* Steam Rich Presence: Fixed status not being cleared when disabling
* Fixed parts list not being refreshed after activating/deactivating a mod
* Added improved spawning system that prevents vehicles from spawning inside level objects or vehicles

User Interface:
* Overall improvements to interface
* Added ability to control various parameters and effects temporarily (reset when closing photomode)
* Added control for Time of Day
* Added Filters (color corrections) with adjustable strength. Filters selection can be expanded by adding more textures in art\postfx
* Added option to toggle Dynamic Reflection
* Added controls for Ambient Occlusion
* Added controls for Depth of Field
* Added tooltips
* Added button to open the screenshots folder
* Repository:
	+ Overall improvements, added icons
	+ Added button to clear search entry
	+ Double-click is now required to use the ‘Delete All Mods’ button
* Graphics Menu:
	+ Added tooltips to most settings, improved existing ones
	+ Improved look of the Dynamic Reflections settings
	+ Improved look of Display settings
	+ Added button to reset PostFX settings to default
	+ Renamed a few options to be easier to understand
* Level, Campaign, Scenario and Quickrace Selector:
	+ Moved search bar location, added button to clear search entry
	+ Thumbnails grid will now only show the main thumbnail of the level. The slideshow for the level’s thumbnail has been moved to the description panel
* Vehicle Selector: Improved scaling of top-row buttons
* Parts Selector: Parts’ dropdowns in Vehicle Customization menu now scale vertically along with the available screen space
* Vehicle Save/Load Menu:
	+ Overall improvements to interface
	+ Added button to open the current vehicle’s configuration folder
	+ Added button to clear search entry
	+ Added icon showing the source of configuration (BeamNG, User, Mod)
	+ Added ability to delete User configurations by double-clicking the related button
	+ Added option to disable automatic thumbnail when saving a configuration
* Environment Menu:
	+ Time is now displayed in 24 hours format
	+ Renamed Wind Speed option to Cloud Speed
	+ Added ability to insert custom values for Fog Intensity
* Apps:
	+ Fixed font issues on ‘Simple Pitch’ and ‘Simple Roll’ apps
	+ Navigation app will now move the view according to your speed, improved zoom levels
	+ Converted Rangebox and 4WD Mode buttons in Radial Menu to toggles, removing one step to operate them
* Localization– Updated translations to include missing strings:
	+ Spanish (Spain)
	+ French (France)
	+ Japanese (Japan)
	+ Korean (South Korea)
	+ Portuguese (Brazil)
	+ Portuguese (Portugal)
	+ Russian (Russia)
	+ Chinese – Simplified
	+ Chinese – Traditional

Input:
* Added new steering lock angle behavior 1:1 (can only reach full lock if your steering wheel turns as much as the current vehicle’s)
* Added dropdown to choose between the three-steering lock behaviors
* Improved various texts in force feedback menu
* Added extra logs in some corner cases where an input device fails to work

World Editor v2:
* Added new preferences system and Preferences window (will reset all user editor preferences on first run)
* Added an autosave level system, found in Preferences->Files
* Added fine rotation and scale scalars when pressing CTRL and using axis gizmo
* Added shortcut CTRL+Wheel to modify fade icons distance
* Added smooth camera move and rotate checks in Camera menu
* Added camera zoom (move forward/back) on mouse wheel
* Added additional visualization modes for the navgraph
* Various Inspector droplists are now sorted and work properly (materials, sfx items, etc.)
* Toolbar now dynamically changes height when there are buttons in the second row
* Scene Tree:
	+ Improved scene tree node context menu with various new items (locking, hiding)
	+ Added sort menu items for groups in scene tree window node context menu
	+ Scene tree items will show (clickable to clear) hidden and locked icons next to them if they are in those states
* Mesh Road/River Editor: Add new nodes with “Shift” and using axis gizmo
* Forest Editor:
	+ Added multi selection with CTRL
	+ Added brush keyboard shortcuts (keys 5, 6, 7, 8)
* Asset Browser:
	+ Added drag and drop to scene for prefab assets
	+ Added “Spawn prefab at camera”
* Material Editor:
	+ Added Color Palette UV selector
	+ Improved Advanced submenu
* Added vehicle aero debug app to the vehicle editor
* “Raycast test tool” now includes a mode for static object raycasts
* Various other bug/UX fixes

Lua:
* Updated SBR4 spoiler logic to be adjustable by driving modes
* Fixed wrong default value handling for custom shiftLogic files
* TwoStepLaunch is now active by default on cars equipped with it
* Added Tools > “Log gelua profile” option to Performance Graph menu, provides an overview of time and GC costs
* Fixed performance profiler attributing input costs to physics section
* Fixed LUA’s global variable detector skipping checks on all extensions. If you’re an author of LUA extensions, you might start seeing new warnings
* Fixed speedometer getting stuck with a NaN value after a physics instability
* Added triangleBarycentricNorm, altitudeOBB\_Plane, intersectsRay\_Plane, intersectsRay\_OBB, intersectsRay\_triangle functions to mathlib.lua
* Optimized minheap that is used by AI’s graphpath. It is both faster and does less memory allocations now
* Added doubleExponentialSmoothing filter
* Added a function to evaluate whether a position is appropriate for spawning a vehicle as regards to the trajectories of surrounding vehicles.
* Added ‘type’ field in map edge data. It allows for the definition of different types of roads by use in the map data.

Bananabench:
* Reduced variance of the speed measurements by using the best time out of 100 tests
* Removed speed measurements with collision disabled. They are not as useful any more

Performance Graph:
* Fixed Physics Other calculation (showed huge negative number)
* Added transparent background
* Moved buttons around to clear some space
* Stabilized graphs for better readability

Miscellaneous:
* Added collision detection for ‘Chase’ and ‘Orbit’ cameras
* Recovering a vehicle now places it on the ground if possible
* Fixed issue where certain props could spawn in the air
* Path Camera: Fixed error in some cases when two markers were on the same position
* Fixed issue where changing the camera mode could make the game stutter
* Updated warn textures
 **0.21.1** | **18 December 2020** | Vehicles:
* Bruckell LeGran: Fixed misnamed taillights
* ETK 800 Series:
	+ Removed torque vectoring differentials that were accidentally released
	+ Fixed wrong differential assignment for some models
* ETK K-Series: Fixed some wrongly assigned transmissions, springs, and exhaust tips
* Gavril D-Series:
	+ Added Diesel fuel cell for desert trucks
	+ Tweaks to torque converters used in 3-speed Race transmission
	+ Fixed leaking “beamDampCutoffHz” beam property causing reduced performance
	+ Fixed duplicate D15 Fleet configuration
	+ Fixed part value of rear 4 link suspension
* Gavril H-Series: Fixed leaking “beamDampCutoffHz” beam property causing reduced performance
* Gavril Roamer: Fixed damage material on barn-door glass
* Ibishu Covet: Fixed instability when using ultra heavy-duty engine mounts on 1.5 engine
* Ibishu Hopper:
	+ Fixed duplicate V8 engine meshes that were breaking engine textures
	+ Added “Police” config type tags to Sheriff and Park Ranger configurations
* Hirochi SBR4: Fixed torque vectoring differentials showing as open diffs in the powertrain app

Levels:
* East Coast, USA: Fixed spiky terrain along road
* Gridmap: Fixed ramp issue
* Jungle Rock Island:
	+ Fixed several trees with vines over road
	+ Removed containers under the ground
	+ Fixed missing collision on shed
* Industrial Site: Adjusted containers to allow tall vehicles onto the port
* Italy:
	+ Fixed wiggly road textures
	+ Fixed stretched sidewalk UV
	+ Fixed AI paths on bridges being under the bridge
* Utah: Fixed background mesh UVs
* West Coast, USA: Fixed missing collisions and holes in the terrain

Game Engine:
* Fixed an issue with the game not closing when you select Exit from main menu or press Alt+F4
* Fixed Replay system corruption

World Editor:
* Added option for showing triggers in the “Visualization” menu
* Fixed issue of duplicated items in the “Visualization” menu
* Fixed typos

Input:
* Restored Lua Virtual Input API to operational status
* Remote App support restored

User Interface:
* Updated locales
* Swapped icon for ‘Follow Me’ AI mode in radial menu
* Updated localization files for all languages to include missing lines, fixed typos

Miscellaneous:
* Added alternative mode for recovery which doesn’t use the new “Smart Recovery”. You can use it either with CTRL+INSERT or by disabling the “Smart Recovery” option in the settings.
* Improved ability for artificial intelligence to go past oncoming vehicles on narrow two-way roads.
* Tweak to asphalt skid to reduce top pitch curve and increase modulation
 **0.21.2** | **21 December 2020** | Vehicles:
* Gavril D-Series:
	+ Fixed D45 Rollback having wrong transmission tag
	+ Fixed misplaced RS lettering on stepside tailgate
	+ Fixed D15 4wd facelift having wrong seat
	+ Fixed spiky underride guard on flatbed/cargobox
	+ Fixed Xl mirror jbeam being misaligned
* Gavril H-Series:
	+ Fixed Street Tuned having wrong shifter
	+ Fixed missing rear door hinges
	+ Fixed spiky underride guard on flatbed/cargobox
* Gavril Roamer: Fixed black interior corrupted normal map
* Gavril T-Series: Fixed T65 Base thumbnail
* Ibishu Covet:
	+ Fixed misspelled ballast plate part name
	+ Fixed right turn signal turning on with left turn signal
* Fixed Carplus C55 hubcap position
* Fixed grip of 235/40R18 Tarmac Rally tire
* Minor fixes to ETK800 mesh
* Adjusted population values for 88′ Pessima and Hopper
* Fixed 200BX ABS not working correctly
* Fixed traction control part not being removable
* Fixed ESC/TC lights not turning on when systems are disabled

Audio:
* Fixed missing rod bearing damage audio to all vehicle engines
* Fixed missing doppler setting for Gavril T-Series horn and increased the volume.

Miscellaneous:
* Reverted fix for Remote Control App due issues with the correct functionality of Force Feedback in certain cases. This will be fixed properly in a future hotfix
* Alternative recovery now always puts the vehicle right side up
* Fixed light scoring for translucent materials causing flickering
 **0.21.3** | **12 January 2021** | Vehicles:
* Bruckell LeGran:
	+ Fixed duplicate shifter meshes
	+ Fixed temperature gauge
* ETK 800 Series: Fixed license plate clipping
* Gavril D-Series:
	+ Added adjustable Woodcrate and Woodplanks loads
	+ Improved bed structure: better collision and more stable with heavy objects
	+ Increased Desert Truck suspension link strength
	+ Decreased Desert Truck IFS maximum steering axle (fixed wheel clipping into lower arm)
	+ Fixed Desert Truck fuel cell breaking easily on frontal impacts
	+ Fixed dually fender flare signals
	+ Fixed bed cover mesh breaking too easily
	+ Fixed off-road rear sway bar inverting
* Gavril H-Series:
	+ Added adjustable Woodcrate and Woodplanks loads
	+ Added roof basket
	+ Fixed off-road rear sway bar inverting
* Gavril Roamer:
	+ Fixed offroad rear bumper position
	+ Fixed off-road rear sway bar inverting
* Hirochi SBR4: Updated configuration descriptions
* Ibishu Covet: Fixed collision triangle breakGroup leak
* Cherrier Vivace/Tograc: Fix ECS and TCS lights blinking instead of staying on when using disabling electronics mode
* Fixed positions of Hirochi TurboFan and Ibishu Dish hubcaps

User Interface:
* Updated translations for Korean, Portuguese (Brazil), and Portuguese (Portugal)
* Added ‘Experimental’ warning message to the triple screen option

Miscellaneous:
* Improved the ability for the artificial intelligence to pass oncoming traffic in narrow roads
* Fixed tire vibration that happened with certain vehicles moving at ~35 km/h, due to contact patch resonance effects
* Fixed bug in Lua Virtual Input that would cause it to not emit received events
 **0.21.4** | **11 February 2021** | User Interface: Fixed official translations and improved language selection menu
Console: Fixed crash on console caused by excessively long text in the popup
Miscellaneous: Fixed wrong year on generated ZIP files