The environment control script has now been finalized in Javascript. A much simpler set of controls than the other script, but can still be quite powerful as it defines the global environment which effects the player physically.
I have created the script around some simple helper functions, so the end-user can set weather conditions via code from anywhere they wish during runtime. They will also be used by the 'WeatherZone' prefab, which as described early is an area in which the environment variables can be different from those set globally, and override the global variables accordingly.
For now, here are the final scripts for the Environment Control; starting with the Inspector viewpoint.
(Click images for larger versions)
As you can see, the end-user can select from a handful of weather presets or create their own. Now for the Environment Control Script and Inspector Scripts accordingly.
I have finished the translations for all scripts aswell, I shall be displaying those in the next post.
No comments:
Post a Comment