A NeosModLoader mod for Neos VR that attaches Dynamic Variables to imported assets to enable LogiX to read information about it.
- Install NeosModLoader and NeosAssetImportHook.
- Download NeosDynamicAssetInfo.dll.
- Copy it into the
nml_mods
directory inside your Neos install. - Start the game. If you want to verify that the mod is working you can check your Neos logs.
When importing assets the following dynamic variables are attached to the dynamic variable space "asset":
Name | Type | Description |
---|---|---|
asset_dvs | Slot | Reference to child slot containing the dynamic variable components |
asset_count | int | Number of contained assets |
grabbable | Grabbable | Reference to Grabbable of asset (only if it exists) |
urlX | Uri | URL of the asset (only if asset is a static asset) |
assetX | IAssetProvider | Reference to an asset |
assetX | IAssetProvider<A> where A : IAsset | Reference to an asset (for each possible A) |
Note: X is an integer within range [0, asset_count-1], use a for loop to find the assets you are looking for. (no guaranteed order)
The dynamic variable space and its variables can be cleanly removed by deleting the slot asset_dvs - a DestroyProxy automatically deletes the DynamicVariableSpace component.