Setup
Drag and drop weather template from PRIME VSAR Templates -> WeatherTemplate_7Days into the scene from Place Actors menu.
This immediately creates weather pillars preview based on dummy data provided with the template.
⚠️ using the dummy data DataTable will result in saving your values per VSAR installation. It is important to create new DataTable described in next step
- The source DataTable can be found next to the template itself. And inside of the blueprint itself in Details panels - Weather Template tab (Charts base in 1.8.1) - Weather Data.
- To modify the data, locate the data table in the Content Browser, or simply by clicking on a magnifying glass next to it in the Detail panel.
This will bring you to DataTable in the Content Browser.
- To modify the data right-click the DataTable and choose Open in External Editor option.
- If this option is grayed out, re-export the table into .CSV.
- Right-click the DataTable Export as .CSV - save it into the same folder as the original DataTable was saved.
- To find out where it was saved:
- Right-click the DataTable and choose - Open Source Location.
- To find out where it was saved:
- After reexporting the DataTable to .CSV - a prompt from unreal engine should appear, click on import.
- After this you will get an option to automatically create a new DataTable from your newly exported .CSV file.
From a dropdown menu in the following table choose the following data structure as shown on the picture: MtWeatherTemplateUseForDataTableCreation.
This will create a new DataTable.
- After this you will get an option to automatically create a new DataTable from your newly exported .CSV file.
- Right-click the DataTable Export as .CSV - save it into the same folder as the original DataTable was saved.
- Drag and drop it onto the WeatherTemplate - Weather Data Table - in the Detail panel inside the Weather Template tab, shown on the first image in this section.
- After this, you can put the editor into play mode.
- To raise up the pillars in play mode simply press the “+” button on Numpad or “-” to lower the weather template down.
- While the Weather template is raised up, you can modify the .CSV source file which serves as a source for the Template and the weather template should update accordingly.
- Please note that you have to keep the format of the .CSV file as is (Adding any other rows or columns will cause undefined behavior.).
- Do not change the first column - days description while in playmode.
- You can change the temperatures at will.
- You can change the weather description to be one of the following weather types:
- Sunny
- Mostly_Sunny
- Rainy
- Snowy
- Mostly_Cloudy
- Heavy_Rain
- Thunder
- Haily
- These weather descriptions have to be written precisely as presented here, otherwise, any other weather type will cause undefined behavior.
CAMIO/LUCI Use
To use the template with CAMIO/LUCI.
- Put the editor into playmode.
Note that the template in default settings is set to not to rise on itself.
To export a CAMIO template, find the Weather Template in the scene, either in play mode inside of World Outliner Window, or outside of Play in Editor simply by clicking on the Template gizmo in the scene, which looks like a white ball. After that:
- While having the template selected in the scene or in Content Browser - In CAMIO Template Tab, in the Detail panel locate the Export CRD file… button and press it.
- This will export all the necessary data into a .CRD file importable to CAMIO/LUCI.
- Import this template into CAMIO/LUCI.
- From LUCI, you can change the data, and as soon as the Unreal Engine is in play mode - click the Render Preview Button in LUCI. VSAR will change the data to desired ones - from LUCI and will render a preview for LUCI.