| Search this Thread |
|
|
|
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
The tutorial is located in the wiki: Tutorial:Sims_3_Localized_Codingwiki If you have questions concerning the tutorial, this thread is the place to ask them. |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|
|
|
|
|
2 users say thanks for this.
[ Click here to view a longer list ] |
|
|
|
#2 |
|
cmomoney
Who wants to play video games?
|
Another good one, Buzzler. Keep up the good work.
|
|
"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish | (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕] |
|
|
|
|
|
|
#3 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
I'm new at modding and I'm getting errors about cannot change access modifiers when I copy the code given in the tutorial and try to build it to get the dll. I set up the Assembly file as shown in the Tutorial:Sims 3 Pure Scripting Modding . This is my code in my SayHello class: using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sims3.Gameplay.Interactions; using Sims3.Gameplay.Actors; using Sims3.Gameplay.Autonomy; using Sims3.SimIFace; using Sims3.UI; namespace Enirei { class SayHello : ImmediateInteraction<Sim, Sim>} I changed TwoBTech to Enirei since that was the namespace I was using. Any help or suggestions that could be given would be greatly appreciated. Thanks. Any help that could be gi |
|
|
|
|
|
#4 |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Enirei, change the access modfiers of the overridden methods from public to protected and it should compile. |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|
|
|
|
|
|
#5 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
Thanks
|
|
|
|
|
|
#6 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
Another thing is happening that I'm not sure about. I make the stbl file and add it to the package as in the tutorial. I put the package in to test it but I don't seem to have the say hello interaction. I look at the preview for the stbl file and it shows this: Unknown1: 0x0000 Again, any help/suggestions would be greatly appreciated. |
|
|
|
|
|
#7 |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
The FNV64 hash of "Enirei/LocalizedMod/SayHello:Message" is 0x3345B37043CBFBB2. I don't see that listed. When you change the string keys, e.g. from "TwoBTech/LocalizedMod/SayHello:Message" to "Enirei/LocalizedMod/SayHello:Message", you need to change that in the text file as well, not only in the code. |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|
|
|
|
|
|
#8 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
Oops. I had typed and retyped that part, when I re-pasted it, I forgot to change it again. Saved the package and noticed something when I looked at the STBL file. It says: Error reading resource 220557DA:00000000:06F1866BA6BEEEC3Any help/suggestions? Thanks for being patient with me. |
|
|
|
|
|
#9 |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Now that is interesting. I've seen that a couple times and reported it to Peter Jones, but since I was unable to re-enact it and nobody seemed to have these issues, I thought the cause was my computer. Seems like it's a general issue after all. You might want to report that over at Simlogical. Since the issue can't be provoked, Peter probably won't be able to do much about it unless he stumbles over it by chance. Still, is the right thing to tell him. The solution is pretty simple, though. Just delete the resource and add a fresh one in its place. |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|
|
|
|
|
|
#10 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
The thing is that I've gotten this result after deleting and adding a fresh one multiple times... T.T I seem to have bad luck with modding. Question: how come in your Clean House for everyone mod you don't have an stbl file, instead an itun and and xml? |
|
|
|
|
|
#11 | ||
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Quote:
Quote:
| ||
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|||
|
|
|
|
|
#12 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
Okay. I just created an account with Simlogical. Should I post it under sp3e downloads and support? Here's a zip with my package, my text file, and my stbl file. Thanks. |
|
|
|
|
|
#13 | ||
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Quote:
Quote:
| ||
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
|||
|
|
|
|
|
#14 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
I create a new resource, set it as an STBL, the group 0x0 and the instance 0x06F1866BA6BEEEC3. Then I do "replace" with the STBL that I created. Okay. I just tried it as importing the STBL and not doing the replace and it seemed to work just fine for building the package. Also, if I decide I want to do the replace function on the STBL I did the import on, it works fine... So it seems to not like me if I do a replace on an empty STBL resource. Weird. I can't seem to find the interaction anywhere now when I load the game. Further testing in this area is needed. |
|
|
Last edited by Enirei : 26th Mar 2011 at 06:10 PM.
|
|
|
#15 | |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Quote:
| |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
||
|
|
|
|
|
#16 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
I posted it to Simlogical. My testing seems to show it does not like doing a Replace on an empty STBL file created by Add Resource. When I did the import and then wanted to replace that file later on, it worked fine. Though as of right now I can't find the new interaction within the pie menu. T.T Mod creating does not agree with me it seems. Thanks for your patience. |
|
|
|
|
|
#17 | |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Quote:
| |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
||
|
|
|
|
|
#18 |
|
Enirei
Field Researcher
Join Date: Dec 2009 |
gack! I thought I was forgetting something. Thanks. |
|
|
|
|
|
#19 |
|
jtravers88
|
The tutorials for pure scripting are great. What I can't find a clue on how to do is dictating what submenu in the pie menu that an interaction should go. For instance, the Say Hello example defaults to the main menu when clicking a target sim. How would you specify that you want your interaction button to appear under Friendly, Mean, Funny, or Romantic? I can't see anything in any xml or the core that gives a clue how to do this. It's probably something simple... |
|
|
|
|
|
#20 | |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Quote:
| |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
||
|
|
|
|
|
#21 | |
|
jtravers88
|
Quote:
I knew GetPath probably had something to do with it. But I couldn't find an example of "Friendly" or "Romantic" anywhere in this fnc declaration of any definition. Thanks I'll try that out. |
|
|
|
Last edited by jtravers88 : 9th Apr 2011 at 11:54 PM.
|
|
|
#22 | |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Quote:
| |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
||
|
|
|
|
|
#23 | |
|
jtravers88
|
Quote:
Friendly and Friendly... don't work. It adds a new selection to the top level of the pie menu, even if identical to the Friendly that already exists. Twallan puts two interactions under the Friendly... in his woohooer mod. Gauge Attraction and Check Attraction. So far I haven't tracked down what causes it. |
|
|
|
|
|
|
#24 | |
|
Buzzler
Original Poster
1978 gallons of pancake batter
|
Yeah, I ran into that a couple times myself. Try
Code:
str can be "Friendly", "Insulting", "Funny" or "Amorous" for your purpose. ("Friendly" + Localization.Ellipsis) might work as well, but it would be better to use localized code from the start. | |
|
Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage. |
||
|
|
|
|
|
#25 |
|
smochina4000
Test Subject
Join Date: Jan 2006 |
How can I make a mod like "Driving cars cost money" ,"cell phones cost money"? It is possible? Thank you! |
|
|
|
![]() |

Do you like to roleplay?



Twitter
del.icio.us
StumbleUpon
Google