How do I remove the age restrictions on certain objects and interactions?
When I try to change the age restriction via NRaas Retuner and the ITUN files it doesn't work on certain stuff. So i'm trying to make some mods that would change that. I'm assuming that the age values are also stored somewhere else in the game files but I don't know where. I tried to look in the dll files too but I couldn't find anything that tells the game which age groups are allowed to use certain objects and interactions.
It really depends because sometimes it's in the ITUN files and other times it's pretty much hardcoded into the script. Which I think is more for interactions that were done the other way around than the somewhat newer scripted ones Which Object(s) are you trying to change?
Plenty of things, a lot of things actually like for example I was able to change the table tennis and the pool table to be usable for children but only they could only initiate the interaction to play with adults,the adults can't select the children to play with them and simple things like playing skeeball or giving each other makeovers they can't even do even when I change the settings in NRass Retuner or the ITUN files.
I read a tutorial on Simlogical using the wayback machine and it says that changing an ITUN is not a guarantee that your change will work. Many times, the restrictions for an interaction are hard-coded. If you want to know for sure that a restriction is hard-coded, you have to use ILSpy (or some other decompiler) to look at the core libraries and find out. https://web.archive.org/web/2014070...hp?topic=1588.0. I'm wondering what Nona meant by saying look in the core libraries and what hard-coded means because I still couldn't find it in the dll files.
Okay I got a few answers on Stack Exchange telling me what hard code means. I got one saying 'This usually means it's in the program's code, rather than in say a configuration file or configurable by the user at run time. The designers of the game didn't intend you modify this and you'll have to modify the actual game code. This may be quite difficult.', 'Hard-coded withing programming means that the functionality can't be altered without changing the programs code.
Using age restriction as an example. This will have been done in such a way that the age required can only be changed by making a code change rather than it being configurable through a file that anyone could change.' and 'This is not really a programming question. In the context of video games, many games have files or assets available for users to change. This is called modding the game. Some games encourage this for users to make their own content for the game, others do not, but mods do exist for many games, especially PC ones.
Hard coded in this sense means that the code that controls this feature is not available in files that you have available for to change. Usually this means that it is set in the binary executable file of the game, and there is no easy way to get to that code.' https://softwareengineering.stackex...-like-in-gaming
I do know that a majority of the game's programming is stored in the .dll files and in the package files but that's all of what about this but I still haven't given up on this rather I just took a break from it.