So I'm helping make a mod pack, but can't get the screenshots to look like the stock ones. I'm wondering if there's a way to have a script automatically move the camera in position, so all I have to do is take the picture and it's perfect?
First, I personally don't like the idea of preview images of mod configs to look like official ones. Makes them look, well, official, when they're not. Second, I recommend you make your own custom camera mode to get the camera to go where you want. Check my signature for an incomplete, but still very useful tutorial on how to get started doing this. You could also use the Relative camera mode, I believe, and give it specific coordinates and direction to look.
I'd like to add to that that the devs seem to have automated the task, looking at the lua\ge\extensions\util\createThumbnails.lua file. It might be a good starting point, the code seems readable and it could be possible to edit it to automatically create custom thumbnails with a different background and camera angle. Figuring out what are the parameters to launch it (probably a command line like for the Performance Statistics) and if it works in the current version of BeamNG is another story though. And while thinking about automating things, I always have this graph in mind : I think that if you haven't got many thumbnails to create, you'll be done quicker if you go the boring and repetitive way of doing everything manually
How would I set FOV in the relative camera? I know you can zoom in and out, but not to exact measurements ie. 30. --- Post updated --- Alright, I see the createThumbnails.lua file, and it looks like it should work. But, how do I activate it? @Diamondback @estama @synsol
I've activated it, extensions.loadModule('util/createThumbnails'), but how do I tell it which vehicle/config to use?
That script is not meant for end-user usage at the moment. Although it can be a good starting point to see what is the command that allows you to move/rotate camera by a specific value.