hello Guru(s) I made a package that contains an STBL and access it with that: [CODE] _minutes=lambda **_:sims4.localization._create_localized_string(0xD6B7C27C) _mm=_minutes() [/CODE] Sadly _mm contains the requested hash instead of its content.
Is there a way to get the translated string into a python string ?
Hi, do you know how to generate these id 0xD6B7C27C from an object label? Like for instance I have this: action: 'cake_Grab' target: 'object_Food_PlateFork_FruitCake_Multi:0x05c90dcf043015d0' I want cake_Grab to become 0x811E69FB because it is shown "Take a Piece" and that's the ID of this string in the EN file.
Sorry for replying to this old thread, but I can't create a new thread.
Comments
In theory, there is no need for Python to access actual strings. In your case, if you want to display minutes, you can do: where your string is
Hope that helps.
action: 'cake_Grab'
target: 'object_Food_PlateFork_FruitCake_Multi:0x05c90dcf043015d0'
I want cake_Grab to become 0x811E69FB because it is shown "Take a Piece" and that's the ID of this string in the EN file.
Sorry for replying to this old thread, but I can't create a new thread.