|
Post by Teknikah on Sept 17, 2019 17:02:11 GMT -5
I've been playing around with the off the grid functionality, and I've looked into making a computer specifically work OTG. From my searching around the internet I hadn't found anything substantial that helped with making an item off the grid. All I really found was something like "use tuning for a similar object that works OTG" From searching through interaction tunings I found some code that looked promising. I'm trying to make my custom PC mod compatible OTG. So here is what I did to make it work, for anyone who might find this useful: Opened the interaction tuning I wanted to change, in this case it was computer_ChatI added this code at the bottom of the xml: <V t="zone"> <U n="zone"> <U n="zone_tests"> <V n="zone_modifiers" t="enabled"> <U n="enabled"> <V n="whitelist" t="specify"> <U n="specify"> <L n="whitelist"> <T>206665<!--zoneModifier_lotTrait_OffTheGrid--></T> </L> </U> </V> </U> </V> </U> </U> </V>
I also deleted this code from the same xml (it was at the bottom just above where I pasted the code above):
<V n="utility_info" t="enabled"> <L n="enabled"> <E>POWER</E> </L> </V> I haven't tested it but I don't see why this wouldn't work of other objects, not just a PC I hope this is helpful to someone
|
|
|
Post by naunakht on Feb 4, 2024 22:23:45 GMT -5
For those interested...you can also do this at the Object_Tuning level by adding the following code:
<L n="tests_to_bypass_utility_requirement"> <U> <E n="key">POWER</E> <L n="value"> <L> <V t="zone"> <U n="zone"> <V n="zone_source" t="use_current_zone"> <U n="use_current_zone" /> </V> <U n="zone_tests"> <V n="zone_modifiers" t="enabled"> <U n="enabled"> <V n="whitelist" t="specify"> <U n="specify"> <L n="whitelist"> <T>206665<!--zoneModifier_lotTrait_OffTheGrid--></T> </L> </U> </V> </U> </V> </U> </U> </V> </L> </L> </U> </L> You'll also need to remove the Off-the-Grid display options from the Object's Super Affordances. On a stereo, they look like this:
<T>220560<!--stereo_ListenTo_OffTheGrid_displayOnly--></T> <T>220561<!--stereo_TurnOn_OffTheGrid_displayOnly--></T> I haven't tried this with other electronics, but I assume the principle is the same.
Happy modding!
|
|