|
Post by bees123 on Feb 17, 2022 8:48:34 GMT -5
Hi,
Trying to use the injector to add interactions to a custom object. I've done this before for vanilla objects so I know the script and interaction are both fine (I also tested this specific interaction on a vanilla object, which worked as well)
I've converted the Object Definition Resource's hexadecimal tuning value to decimal and added that to my code, but it's not producing the same results. The only thing I can assume is that it's expecting a GameObject instead of an ObjectDefinition
How do I make a GameObject for an ObjectDefinition? And if that's not the issue, how do I solve this?
Thanks
|
|
|
Post by menaceman44 on Feb 17, 2022 13:21:57 GMT -5
What is the object you are working on? If it is completely custom, why not just edit the object tuning instead of using the injector? What are the interactions you are trying to add? Are you able to share the package for people to look at and get a better understanding?
|
|
|
Post by bees123 on Feb 17, 2022 20:22:01 GMT -5
I'd rather not share the package, it's NSFW. I'm basically just trying to add a regular SuperInteraction to the object, but when I use "Selective Clone" I don't seem to get any tuning files for the object at all. The object is currently just a clone of a debug item for testing purposes
|
|
|
Post by menaceman44 on Feb 18, 2022 8:01:45 GMT -5
You can manually find the tuning and add it to your package. Go to the warehouse view and select the Object Definition then scroll down on the right until you find the Tuning entry. Copy the name and then go to Tools> Extract Tuning and paste it into the search bar at the top. Select the tuning in the list and then click on Add to current package. Remember that if you edit the tuning you will need to make it custom so that it doesn't overwrite the original.
|
|
|
Post by bees123 on Feb 18, 2022 11:51:11 GMT -5
Looks like the Tuning entry is empty. I tried searching for the object manually in "Extract Tuning" and couldn't find it there either. Surely there's a way to make an object tuning file without copying it
|
|