|
Post by katabug on Sept 20, 2021 0:13:03 GMT -5
I've noticed that you can only earn tips when you practice singing on a non-residential lot. So I'm trying to change that so you can earn tips singing anywhere (even at home, as long as there are people around).
I've imported the Interaction Tuning: 'singingSkill_TieredMenu_Self_Practice.xml' and changed the following <T n="negate">True</T> to False:
<V t="location"> <U n="location"> <U n="location_tests"> <V n="is_venue_type" t="enabled"> <U n="enabled"> <T n="negate">False</T> <T n="venue_type">28614<!--Venue: venue_residential--></T> </U> </V> </U> </U> </V> But that hasn't worked. I'm no coder, but I read this code as doing the following:
If singing, test to see where the location is. If the venue type is residential then negate 'something' (I thought it might be tips).
Clearly that's not right. Is there something else I need to do?
|
|
|
Post by katabug on Sept 20, 2021 6:55:34 GMT -5
Bummer! I thought I'd try changing the venue type to a Library (it makes sense that you shouldn't sing in a library).
<V t="location"> <U n="location"> <U n="location_tests"> <V n="is_venue_type" t="enabled"> <U n="enabled"> <T n="negate">True</T> <T n="venue_type">16874<!--Venue: venue_library--></T> </U> </V> </U> </U> </V>
But still no joy :-[
|
|
|
Post by MizoreYukii on Sept 20, 2021 9:47:04 GMT -5
That test is not in the file you mentioned. Either way though that's not the file you need, 'singing_Tip' interaction is what allows sims to tip singing sims, and the tests you want to remove are on line 175-177 (delete the whole testset) and 190-201 (that one tests for university, delete the whole thing as well or replace it with the library venue). Also, make sure you are using the TDESCs, easy to use version here: lot51.cc/tdescNegate in the TDESC says: "If enabled, the test will return true if the subject IS NOT at a venue of the specified type."
|
|
|
Post by katabug on Sept 20, 2021 20:41:55 GMT -5
Thank you so much MizoreYukii. It looks like I was on the right track (I just had the wrong file). Aha! I thought it meant something like that. I'm very pleased with myself that I'm starting to understand some of this stuff Question: I'm not very comfortable with deleting lines of code (I tend to stuff things up when I do that) so if I just change the following: <T n="negate">True</T> to <T n="negate">False</T> will it still achieve the result I'm after? Namely, being able to sing for tips anywhere?
|
|
|
Post by MizoreYukii on Sept 20, 2021 22:38:50 GMT -5
You can avoid errors by clicking the - to the left at the start of the line you want to delete. This will collapse the appropriate section, then you can highlight the box it collapses into, delete, and that takes care of it cleanly. If you make a mistake with the tags (<U> etc.) S4S will scream at you anyhow, and even if you made a mistake it doesn't break anything in-game. There are very few XML files that will cause issues if you make a mistake. And no, if you do then it tells the game that they must be on that lot and nothing else.
|
|
|
Post by katabug on Sept 21, 2021 1:44:27 GMT -5
Thank you again. I didn't know you could click the - and collapse the section. That makes things much easier. I think I know what to do now
|
|