Another attempt to make a preview build without all the bugs (Patreon)
Downloads
Content
UPD: Attached a new preview136 build, not really worthy of its own post, but with a few changes: issue with physics when some modded cars wouldn’t drive is fixed, new driver tags distortion fixed properly this time, GrassFX air disturbance fixed, audio buttons got a volume +/− mode, clouds missing in WeatherFX in some configurations fixed, ksAlphaRef not working properly for shadows fixed, scriptable displays now can load fonts from extension folders and modify shadow casting and transparent flags for scene meshes, rare issue with FSR+HDR resulting in black screen fixed, track displays (with cameras) now can use conditions for most parameters, issue with rain tyres not creating a pattern on some cars fixed.
Here is a new build with more things fixed. I really hope it would be good enough to become a proper stable update, but let’s see. 😅
Also, it’s not just fixes, but quite a few new things as well. Main change is that Lua scripts got a lot of extensions — new APIs, new functions and optimizations, more applications. For example now car scripts can load custom soundbanks, create and control lights and audio events, alter material properties and move meshes (currently would only work for player’s car, but might be useful to add extra interior audio events). Tracks got similar scripting system with dynamic textures (and audio, lights, etc.), should be great for recreating digital displays or, for example, flashing lights with more complex logic (like traffic lights or speed traps with a flash). WeatherFX controllers now can send web requests, and there is already a default controller using OpenWeatherAPI to get real conditions changing during the race.
Another new thing is Lua apps — now it’s possible to use Lua to create new in-game apps using those new IMGUI controls for faster and smoother user experience. There is also a special feature for such apps allowing them to create a full-screen HUDs without having user move windows around, with custom virtual mirrors and more. Also those new Lua apps can also render simple debug shapes in the world, that should be good for creating some helper tools (and there is also an alternative way to create Lua tools as a part of Objects Inspector tools set). And to top things off, Lua apps can have dynamic icons, might be helpful for some notification-like indicators or just to have something like show actual speed on an icon with a speedometer in it. As a bit of a demo, I’ve attached a hello world Lua app.
Photo mode also got improvements, main of which is new brightness-based averaging, really helps with accumulation motion blur and DOF. Also, a few options to control accumulation DOF shape and samples distribution. This shot above had Yebis share set to 0% and yet got some bokeh. And with increased brightness boost and motion shots, it’s very easy to make shots like these:
Here is the full list of changes. Let’s hope that it wouldn’t be as broken as before, so it could be published a proper public update. I feel like it’s really close to that stage at this moment.
Oh, and RainFX got functioning racing lane now, although currently disabled by default (you can turn it on in RainFX settings). At the moment though it’s in pretty development stage, with all coefficients like cars and wheels contribution or fading speed being adjustable. Have to do more testing and find better values and possibly better formulas, taking into account car shape and aerodynamics or something like that. And there is an optional debug mode would paint track surfaces in different colors based on state of racing lane.
As usual, thank you so much for all the support! And just in case, a bit of a FAQ:
How to install a CSP preview?
Simply drag’n’drop it onto CM and agree to install, or, alternatively, extract dwrite.dll and extension folder to AC root folder replacing all the files.
How to get rain physics working offline?
In Content Manager, activate “Allow to use patch car’s data to activate extended physics” option in Settings/Drive and then activate custom physics in Quick Drive section.
How to get rain physics online?
If it’s your server, add “[RAIN_PREVIEW] INTENSITY = 0.5” to server’s extra options in Content Manager. Please note, you don’t need to run server from Content Manager for it to work or even use it to set that option, all those extra options will be encoded in server’s welcome message. You can always transfer them from one welcome message to another.
Files