reepblue Posted Saturday at 09:44 AM Posted Saturday at 09:44 AM I'm noticing that the editor will take the liberty and clear json files on the stock components as they don't have their variables commented. The editor has made me have to redo a few scripts. I was under the impression that the editor would leave these alone if autogenerated was false or not defined. I'd like to be able to turn this off if possible. 1 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Dreikblack Posted Saturday at 10:45 AM Posted Saturday at 10:45 AM Same, auto gen is just making extra files that i don't need and messes my files sometimes Quote Check out Slipgate Tactics demo, which is made with Ultra Engine: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted Saturday at 04:01 PM Posted Saturday at 04:01 PM If the JSON file contains the value "autogenerated" and it is set to true, the editor will automatically update and overwrite these files whenever the code file changes. You can remove this value or set it to false, but the auto-generation of the component properties will no longer work. 5 hours ago, Dreikblack said: Same, auto gen is just making extra files that i don't need and messes my files sometimes The editor loads the properties the component uses from the JSON files. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Dreikblack Posted Saturday at 04:22 PM Posted Saturday at 04:22 PM 19 minutes ago, Josh said: The editor loads the properties the component uses from the JSON files. Not all components are used it in the Editor. Some of them only via game code. Quote Check out Slipgate Tactics demo, which is made with Ultra Engine: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted Saturday at 04:35 PM Posted Saturday at 04:35 PM 9 minutes ago, Dreikblack said: Not all components are used it in the Editor. Some of them only via game code. You can control which ones get exposed with the comments you add: https://www.leadwerks.com/learn/components Quote My job is to make tools you love, with the features you want, and performance you can't live without.
reepblue Posted Saturday at 04:48 PM Author Posted Saturday at 04:48 PM It will still generate a json file like so. { "autogenerated": true, "component": { "inputs": {} , "outputs": {} , "properties": {} } } 1 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.