-
Notifications
You must be signed in to change notification settings - Fork 0
Config
Jan Vogelsang edited this page Aug 16, 2022
·
4 revisions
The Engine has built-in support for configuration, which makes it possible to define a class with attributes that are supposed to be configurable by the user in a file that gets created automatically. That file can be modified by the user and will be read in each time at the start of the game and automatically populates the class's values with the ones read in from the file.
The configuration file can be found at different places depending on whether the project is run with or without the editor.
With editor: VRSmokeVis/Saved/Config/WindowsEditor/SimulationProperties.ini
Without editor: VRSmokeVis/Saved/Config/Windows/SimulationProperties.ini
Example config: VRSmokeVis/Saved/Config/WindowsEditor/SimulationProperties.ini
[/Script/VRSmokeVis.VRSSConfig]
SliceCutOffValues=(("temperature", 25.000000))
ObstCutOffValues=(("wall_temperature", 35.000000))
ColorMapsPath=/Game/Textures/ColorMaps
ColorMaps=(("temperature", "brg"),("wall_temperature", "brg"))
ActiveObstQuantity=wall_temperature
Related issue: 32