Search the Community
Showing results for tags 'suggestions'.
-
Currently to expose settings to the editor users have to use the format: Script.variable = value --Type "Label" I propose a breaking change to the way editor properties function. First the syntax/method would need to change. Script would become a table: Script = {} All entries would be become named variables holding tables: Script = { --variable = {value, "type as string","label as string"} ground_height = {100, "uinteger","Ground Height" }, jump_height = {4,"uinteger", "Jump Height"}, player_name = {"","string", "Player Name"} } What this would mean is the editor would need to actually load the script itself, which brings a few drawbacks. 1. the entire script would need to be able to load without any errors. 2. if the script fails there is a chance that the properties will fail to load. 3. if the script property section is malformed or wrong it will not show up. or just grab it from the debug info (i would assume it's rather hard) A solution for this would be: 1. To hold a copy of the properties in memory/cache and restore them when the properties returns. 2. add a small reset button to reset the value to default. (since the editor will always be remembering the last value). If this is implemented there is an additional benefit: function Script:test1() return {"Good","Neutral","Bad"} end Script = { --variable = {value, "type as string","label as string"} ground_height = {100, "uinteger","Ground Height" }, jump_height = {4,"uinteger", "Jump Height"}, player_name = {"","string", "Player Name"}, dynamic_list = {self:test1() ,"choice","Team"} } You can now dynamically populate lists!! 1 draw back is you would either need to forward declare functions or put the functions above the script declaration. Even if this is not implemented, it could be useful if editor plugins are ever added.
- 2 replies
-
- 1
-
- suggestions
- suggestion
-
(and 2 more)
Tagged with:
-
a vegetation system-this feature seems to be removed compared to the previous versions of leadwerks IE: (trees, grass) short-keys for scaling, rotating and such IE:(Press E, for rotating W, for scaling) ctrl <d> to duplicate objects easy import for obj format Light intensity option Audio reverb (toggle controls) modern day home kit bump map support multiple imports (simultaneously) spacebar should be used for enlarging a viewport or at least having the option to do so</li> ability to move files without having to re-import paint/sculpt terrain tool needs different shapes (is: instead of just painting with a circle how about the option of painting/sculpting with a square or oval) java support area lights mp3 support double clicking on objects in scene tab takes you(the camera) to the item in the views spec and diffuse map generator DLC (willing to pay for) pyramid shape primitive a plane primitive a right click option to duplicate object in scene tab(at least) ability to add folders to the scene tab wind ability to add materials to primitive faces more suggestions added later good job so far
-
How about adding a Download meter to any assets that download at sratr up. As of now when the download crashes we have no way of telling. It just sits there until you finally start it over.