Forum Discussion
9 years ago
"TURBODRIVER;c-15779917" wrote:
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:
@TURBODRIVER
Oh, haha, I didn't realize the occult types are hard-coded to the client. Never would have guessed that. Thanks for sharing your knowledge about things! I appreciate it. :)
And yeah, I got the idea of using JPEXS from Neia related to another idea I had. If you're curious about checking out GFX files with JPEXS, I do have a few IDs written down, from looking through them (the only other method I know for looking through is opening them all, one at a time, trying to find what you're looking for... I'm guessing that GFX files can't be manually set as a file that should be indexed for searches like .py files, so I haven't even tried).
One of the ones I've written down is the one that has a bunch of Vampire-related UI references in it, like the special ui_render_style and the components for the Vampire Powers/Weaknesses UI that I was trying to access. Its ID is: S4_62ECC59A_00000000_093958A845E285BA
Then there's: S4_62ECC59A_00000000_5FFB8AE26BC11E96 (which has a lot of references to the Motives UI)
And then: S4_62ECC59A_00000000_63DDA367DE3564AB (which, if I recall correctly, has a lot of the Clubs UI in it)
I don't know if making custom UI changes or additions is feasible with modding, but I figure I might as well share the little I do know; make it a bit easier for those who might be curious, like yourself.
And yeah, you bet. Happy to show what I know.
I did think of an alternative approach last night, for showing people information about spells beyond temporary notifications. Haven't had time to test it yet, but we'll see how this one pans out. I'm hopeful about it. :)
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