Export references to shared objects #190
Replies: 3 comments 6 replies
-
This part requires adding some new stuff to both the UI and i3d generation, but the "user facing" part is pretty straight forward I think.
This on the other hand I think requires a bit more consideration for how it should fit into the UI. The exporter already supports custom user attributes, so in theory you could just add the previous part and let people configure this themselves. But it doesn't seem terribly user friendly 😆 I don't know how you are supposed to figure out those values though, just looking at in-game vehicles? |
Beta Was this translation helpful? Give feedback.
-
So you would always have to manually input it and it can't just be deduced from the loaded i3d file or some other data somehow? |
Beta Was this translation helpful? Give feedback.
-
8b260c3 implements this and only adds the reference functionality. If you need any of the user attributes they can be added manually already 😊 |
Beta Was this translation helpful? Give feedback.
-
Add reference objects, which can be exported.
Transform group has attribute referenceId which refers to file with i3d
e.g.
<File fileId="4" filename="$data/shared/assets/lights/hella/hellaWorkingLightRound_01.i3d" />
<TransformGroup name="hellaWorkingLightRound_01_16" referenceId="4" nodeId="27"/>
Transform group have also custom user attributes for the reference
Beta Was this translation helpful? Give feedback.
All reactions