Welcome to
Mod The Sims
Online: 2342
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 7 (Who?), Viewed: 3432 times.
Search this Thread
Old 30th Mar 2012, 02:34 PM DefaultEditing the pie menu - Ooops, new question (04/03) #1
ATS Sandy
Original Poster

Test Subject

Join Date: Dec 2006
Posts: 56


Sorry, I know this has been asked before and I remember having read precise instructions by Twallan, but I've searched and searched in the forums, without success, I don't find that thread...

How can we edit a pie menu to replace the phrasing of an action? I know it involves adding a script but I can't find the coding anymore. *blush*

Thank you for your help!
Last edited by ATS Sandy : 3rd Apr 2012 at 10:30 PM.
Old 30th Mar 2012, 05:23 PM #2
Buzzler
1978 gallons of pancake batter



Join Date: May 2006
Posts: 2,211
Thanks: 28087 in 74 Posts
22 Achievements

View My Journal


Quote:
Originally Posted by ATS Sandy
How can we edit a pie menu to replace the phrasing of an action?
If only want to change the phrasing, a custom STBL resource that overrides the related string should suffice. If you tell me what exact interaction it is, I can probably tell you the key of the entry you need to override. (It's a pain to find them in the game's STBL resources...)

Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage.
Old 30th Mar 2012, 07:12 PM #3
ATS Sandy
Original Poster

Test Subject

Join Date: Dec 2006
Posts: 56


Oooh, nice!
It's the one for "Play Dominoes". Thank you!
Old 31st Mar 2012, 09:26 PM #4
Buzzler
1978 gallons of pancake batter



Join Date: May 2006
Posts: 2,211
Thanks: 28087 in 74 Posts
22 Achievements

View My Journal


Quote:
Originally Posted by ATS Sandy
It's the one for "Play Dominoes". Thank you!
Ok, that's

"Gameplay/Objects/HobbiesSkills/DominoTable:PlayDominoesWith" - 0x4D442219037B2F52
"Gameplay/Objects/HobbiesSkills/DominoTable:DareDevilPlayDominoesWith" - 0xFEB30C18CDEA41FA
"Gameplay/Objects/HobbiesSkills/DominoTable:NBPPlayDominoesWith" - 0x19F8C786C4DED14A (NBP = Natural Born Performer)

You know how overriding strings basically goes?

Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage.
Old 1st Apr 2012, 02:56 PM #5
ATS Sandy
Original Poster

Test Subject

Join Date: Dec 2006
Posts: 56


Thank you again!
I'm afraid to not know what to do. I've read the "Localized coding" tutorial, but it helps to create a new STBL, not to replace... *blush*
So, extra help would be super welcome! I'm such a newbie. *rolleyes* Thanks for your time!
Old 2nd Apr 2012, 08:04 AM #6
Buzzler
1978 gallons of pancake batter



Join Date: May 2006
Posts: 2,211
Thanks: 28087 in 74 Posts
22 Achievements

View My Journal


Ok, just make a new package file with S3PE and add a new STBL resource in there.

The actual value of the resource ID isn't that important, but the first byte (from the left) must be the locale code of the language you want to overwrite, e.g. 00 for English. Also AFAIR the id must be lower than the value of the EAxian STBL's id containing the original entries.

So, if you got that far, you can just right-click on the STBL resource in S3PE and select "Edit STBL". That will open a simple editor. Enter one of the hash values in the text field on the lower left and click on Add. Then enter the text you want for that entry in the text field on the right. Repeat for all keys and finally click on Save. Save the package and try it in the game. HTH

Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage.
Old 3rd Apr 2012, 07:32 PM #7
ATS Sandy
Original Poster

Test Subject

Join Date: Dec 2006
Posts: 56


Thank you, it worked beautifully!


Edit: Ooops, I spoke too soon. It worked beautifully for the first game, but actually, it replaces the strings for the dominoes as well, and if I want to have a third game, it will use the same strings as well. I would have liked if it didn't replace the Dominoes strings, and if I could have had a "play monopoly", "play scrabble"...
What am I doing wrong here?
Last edited by ATS Sandy : 3rd Apr 2012 at 10:26 PM.
Old 16th Apr 2012, 12:30 PM #8
Buzzler
1978 gallons of pancake batter



Join Date: May 2006
Posts: 2,211
Thanks: 28087 in 74 Posts
22 Achievements

View My Journal


Hi, sorry for the late reply. Stupid RL and stuff.

String replacements are global and static. So if you want situation-specific behavior, you'll need a script mod, sorry.

Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.