Maybe i didn’t look well enough, but i didn’t found a way to add custom properties in a j3o scene with the editor. I know that this editor is not finished yet, but i wonder if this will be in it in the futur.
Actually, i need this when i want to add “meaning” to some elements in a scene/object. For exemple:
-“the player can start here” (in a multiplayer game with many map, i would be able to put the “start point location” directly on the map)
-“this is a reactor for this spaceship, with a strenght of XXX and consume Y quantity of Z fuel type”
-“this is a place where you can put some addon of type XXX on this weapon.”
-“the nickname of this weapon is Decimator”
-“the version of this model is XXX”
-“the email of the creator is XXX” (hot ! ^^)
This is a lot of things i would like to add in my models. Informations related to a specifi subpart of the model or more “global”.
I think that as long as the type of these datas is “standard” (i.e. String, int, long etc), “savable” or “enum” it shouldn’t be too hard to store it, for exemple in the “userdata”.
Right now, the only solution i have is to add an xml file to the scene and put all these informations in it. However, i then have to parse it myself and do the association myself. It’s a bit boring, and it leads to have 2 file instead of one. I know, i can group these two file in one with a “zip” but it will become even slower and even uglier. I would like to avoid this solution if possible.
Did i miss something that is already in the ide ? Is it coming ? Am i dreaming ? Will i find a girlfriend someday ?
Thanks for reading.