#14
19th May 2018 at 11:13 AM
Posts: 3,856
Thanks: 8485 in 67 Posts
28 Achievements
Okay so I took a good look at the sim file this time around (Tbh I totally missed the other tunings about curfew, possibly because the day I replied I just got back home from a really exhausting day :P) I think I see why the distance doesn't work. It's not about the world values, it's actually about the distance of the sim on the lot. Thus, why it's still not working
I did find these tunings in the code and can be found with the same name in the sim XML file:
[Tunable]
[TunableComment("Hour of day when child curfew starts (this must be greater than child curfew end).")]
public static float kChildStartCurfewHour = 22f;
[Tunable]
[TunableComment("Hour of day when child curfew ends (this must be less than child curfew start).")]
public static float kChildEndCurfewHour = 6f;
[Tunable]
[TunableComment("Max distance a child can be from an adult past curfew.")]
public static float kChildCurfewDistanceFromAdult = 5f;
So basically this (Which can be found in the same Sim file you edited the distance tuning):
<kChildStartCurfewHour value="22">
<!--Hour of day when child curfew starts (this must be greater than child curfew end).-->
</kChildStartCurfewHour>
<kChildEndCurfewHour value="6">
<!--Hour of day when child curfew ends (this must be less than child curfew start).-->
</kChildEndCurfewHour>
<kChildCurfewDistanceFromAdult value="25">
<!--Max distance a child can be from an adult past curfew.-->
</kChildCurfewDistanceFromAdult>
Probably the reason why your no homework mod doesn't work at the moment is because the tuning that mod is rewriting might actually rewriting the same xml file (the sim xml you edited). So my suggestions here would be: Check inside that package file, see what they edited and apply that with your own xml file. In this case you're pretty much merging them togetehr into one file so it doesn't overwrite each other