Introduction Dear Community, I am pleased to present you my next (and third) lua extension for the World Editor: Road terrain/material painter. This extension offers World Editor users the possibility to one-click paint the terrain underneath one or more selected DecalRoads with the terrain material of their choice. As usual, I created this extension because of how tedious it can be to paint very long sections of the terrain with your mouse. The idea for this was long in the makeing, but I finally got it working. Presentation This is the extension's window. It comes with a small amount of parameters and a built-in tutorial. There is additional info in the tooltips. Here are two images showing the effect of the tool: Before: After: Features: Paint any available terrain material under a DecalRoad Chose the available materials in a convenient drop-down menu Chose the margin/width of the painted material Fallback calculation in case of issues with the DecalRoad (this is what the "Resample Step" is for) Disclaimer: the tool does not work in 100% of all cases. Due to how terrains are handled in the World Editor, the different possible terrain sizes, as well as different meters per pixel settings, it could be that the experience varies. The tool also, at this stage (1.0), does not come with an undo function. Download This tool has been integrated into the Community Toolpack on Github: https://github.com/stuffi3000/beamng-toolpack. Installation See Github. Changelog See Github. Final Words & Notes Please don't hestitate to post suggestions on how to improve the tool. Bug reports are also very much welcome. Don't hesitate to check out my other work! This extension is licenced under bCDDL v1.1.
That’s very cool and needed! The new road spline editor has something similar now but you can only use it in the actual session. I very often have the problem after BeamNG updates that the grass besides my roads are somehow painted partly my road. Surely a rounding problem or something like that. Your tool will help me a lot! --- Post updated --- I go and turn on my pc. Have to test it --- Post updated --- Works perfect! Even with my quiky terrain scale of 1.2. And as undo you can use the decal road with the previous material and then redo it with a corrected margin. Works in most cases I guess.
Thank you for creating this! I really like it Using your work as a starting point and by doing some further research, I was able to create an extension that paints below the car. So you can use it to paint terrain while driving Maybe that's useful for somebody. You have to manually load the extension in the console and can change material, margin etc using commands.
Works perfect! And as undo you can use the decal road with the previous material and then redo it with the crazy idea
WOOW @stuffi3000 ! Absolutely great work! A small extension with the perfect functionality. That's exactly what I want for the World Editor, instead of more and more bloated features from the developers. @MegaKnight : Can it be possible to paint with your car for example from mud to deepmud but only when the wheels spin and have no grip? In this way, one could simulate the car digging itself in .
Probably. I don't know how to test for grip/spinning wheels though. There could be something useful in the driftspot code.
Wow! This is what was really needed. I love your addons for the editor, and we look forward to seeing even more tools from you!
This is freaking nuts good. Glad to have this as an option instead of using the new road spline in my niche use cases.
Information for all watchers of the thread: this extension has been integrated with all the others into the World Editor Community Toolpack: https://github.com/stuffi3000/beamng-toolpack/tree/main All updates will be available on Github in the future. I will however still make an update post under the thread of the tool on the forums here. -> This tool has been updated to version 1.1 on Github, which includes terraforming.
Hilariously, I combined your two tools into a one extension/tab last week too. The timing! I fixed the materials drop down, some inversion issues, and allowed the selected decal road to apply to both tools. Seriously great work tho - I use it all the time!
Awesome, great stuff! So you combined the edge road generator with the terrain painer? Neat! I was thinking about combining all 3 tools (also the mesh-decal road convert extension) into one single tools but I didn't have time for it yet. Don't hesitate to contribute to the Github with a pull request if you'd like to see your stuff in the official version: https://github.com/stuffi3000/beamng-toolpack
Tbh, I don't much know how Github works - I know it's collaborative and can organize releases. Most of the changes I was able to make with Visual Studio Code and Claude Sonnet agent. Happy to help tho