|
Post by VPlumbobber on Aug 27, 2020 21:13:32 GMT -5
So I am trying to make a tuning mod that allows you to grab bar drink to fridge, but it only works on that exact fridge I used. I want to make it where all the fridges in game including cc can have this pie menu with bar drink interactions.
|
|
|
Post by MizoreYukii on Aug 27, 2020 23:35:12 GMT -5
Use XML Injector instead of overriding the files, then either setup your file to apply the interactions by tag (so Fridge) or by affordance (so Make, grab, etc.) scumbumbomods.com/xml-injector/So your package should have two files when done: 1. Your custom grab bar drink interaction (make it custom so you don't override EA files). 2. XMl Injector Snippet
|
|
|
Post by VPlumbobber on Aug 27, 2020 23:42:28 GMT -5
Thanks! Only reason I did an override was because I am not familiar with xml editors. Is there a tutorial?
|
|
|
Post by VPlumbobber on Aug 27, 2020 23:45:04 GMT -5
Scratch that, the XMLInjector has an index with exactly what I need!
|
|
|
Post by VPlumbobber on Aug 28, 2020 0:02:45 GMT -5
Okay scratch that. I am confused on how to use the XMLInjector. There are like no tutorials for objects. So how do I use it to add the interactions?
|
|
|
Post by VPlumbobber on Aug 28, 2020 0:06:05 GMT -5
|
|
|
Post by MizoreYukii on Aug 28, 2020 0:51:24 GMT -5
The XML Injector comes with documentation, you need to open the PDF and read it for more info. Here is what by affordance looks like though. If you want by tag, you need to adjust it based on what the documentation lists.
<?xml version="1.0" encoding="utf-8"?> <I c="XmlInjector" i="snippet" m="xml_injector.snippet" n="CreatorName:XMLInjector_InteractionObj_Etc" s="17023516074752987670"> <L n="add_interactions_to_objects"> <U> <V n="object_selection" t="objects_with_affordance"> <U n="objects_with_affordance"> <T n="affordance">000000<!--EA_Interaction--></T> </U> </V> <L n="_super_affordances"> <T>000000<!--CreatorName:Your_Interaction_Etc--></T> </L> </U> </L> </I>
|
|
|
Post by VPlumbobber on Aug 28, 2020 4:42:07 GMT -5
Thankssss!
|
|