Forum Discussion
MR_TURBODRIVER
9 years agoSeasoned Veteran
Yes @Triplis, I am aware of the new account restrictions. :smiley:
So you're trying to refer to the 'Pack' enum? From what I can see in the code it's pretty restrictive with its content. Most of the existing enums don't seem to be like that. But nevermind, that doesn't seem to be your issue.
About editing the TagOccultTypeMapping file.
I am not sure if the 'TagOccultTypeMapping' is used for anything. It's just sort of there and it already refers to existing occults with the tag 'OccultType' so that's not the place to add them. I don't think it's even possible to add occults since they are hard-coded to the client. Occult names are only used in CAS parts and any in-game tests for occults are done with traits. I don't think you can add a new occult to the game.
Your use of JPEXS is really cool and I have no idea what is this, but this proofs that it's a client only check with 'OccultTypes' (which is not present in the scripting). I don't see a way you would fool the client to use a new occult.
I can only assume that there is an internal client enum for all of the occults and there is no way for you to edit it. Your custom menu might not be possible without tricking the game to think sorcerers are vampires. Sorcerers & Vampires.. sounds like a game.
So far I have not seen anybody do custom interfaces, this looks really interesting, I have to investigate this JPEXS thing, thanks for showing that!
Good Luck with figuring some other way to do this! :smile:
So you're trying to refer to the 'Pack' enum? From what I can see in the code it's pretty restrictive with its content. Most of the existing enums don't seem to be like that. But nevermind, that doesn't seem to be your issue.
About editing the TagOccultTypeMapping file.
I am not sure if the 'TagOccultTypeMapping' is used for anything. It's just sort of there and it already refers to existing occults with the tag 'OccultType' so that's not the place to add them. I don't think it's even possible to add occults since they are hard-coded to the client. Occult names are only used in CAS parts and any in-game tests for occults are done with traits. I don't think you can add a new occult to the game.
Your use of JPEXS is really cool and I have no idea what is this, but this proofs that it's a client only check with 'OccultTypes' (which is not present in the scripting). I don't see a way you would fool the client to use a new occult.
I can only assume that there is an internal client enum for all of the occults and there is no way for you to edit it. Your custom menu might not be possible without tricking the game to think sorcerers are vampires. Sorcerers & Vampires.. sounds like a game.
So far I have not seen anybody do custom interfaces, this looks really interesting, I have to investigate this JPEXS thing, thanks for showing that!
Good Luck with figuring some other way to do this! :smile:
About The Sims 4 Mods & Custom Content
Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.15,825 PostsLatest Activity: 8 minutes ago
Recent Discussions
- 4 hours ago
- 6 hours ago