Using Store Content for Opportunities

Apply within. 6 years of experience required. Must not like coffee.
User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Using Store Content for Opportunities

Post by MissPatTS3 » December 3rd, 2019, 5:17 pm

Missy_Hissy wrote:
December 2nd, 2019, 6:31 am
Now here's the interesting bit. The afterschool activities recognise the store content. I've got a Ceramics club which uses the store's Artisan skill and that works fine.
wow, that would open some seriously wide door to custom career creation if expanded to FT careers!

I would even say that for custom career creators, it would create a... wait for it... reaction in chain.

Hopefully Chain can jump in the conversation (and laugh at my joke). Fingers crossed (for the career thing, not for Chain laughing at my joke. I know he'll laugh. Why wouldn't he?)

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7617
Joined: December 30th, 2011, 6:00 pm
Answers: 82
Contact:

Using Store Content for Opportunities

Post by Chain_Reaction » December 3rd, 2019, 6:21 pm

I'm afraid I don't have any experience with creating custom careers so my knowledge on this doesn't go far. I do see that EA setup afterschool activities with using the store in mind which is likely why you had success with that. I don't immediately see where things might be failing with the store objects in careers.

One thing I know is some store content isn't merged with the core and that's likely producing some of your headache. These store items are difficult to support due to that and would require separate modules to accommodate.. It looks like the basketball hoop is though so that one must be falling apart elsewhere. Explain what you mean by doesn't stick? An XML example of what you've tried would also be helpful so I can lookup how that field is parsed and what EA does to it.

User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Using Store Content for Opportunities

Post by Missy_Hissy » December 4th, 2019, 4:00 am

That does explain the success with the afterschool activities. Thanks for that, makes sense.

When I say doesn't stick, what happens is the opportunity shows up all well and good and my Sim can accept it. However once I accept, it disappears from the panel altogether. Here's the XML from one I tried with the basketball hoop:
<OpportunitiesSetup>
<GUID>Basketball_ChallengeAccepted</GUID>
<Icon>Basketball_Pic_s</Icon>
<RepeatLevel>Always</RepeatLevel>
<CompletionEvent>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+ChallengePlayer+Definition,1,1</CompletionEvent>
<Target>Sim</Target>
<TargetData>Stranger,Athletic,2,10</TargetData>
</OpportunitiesSetup>

And here's the other one:

<OpportunitiesSetup>
<GUID>Basketball_PracticePerfect</GUID>
<Icon>Basketball_Pic_s</Icon>
<RepeatLevel>Always</RepeatLevel>
<CompletionEvent>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+UseHoops+Definition,1,1</CompletionEvent>
</OpportunitiesSetup>
Hope that helps. I can upload the whole career for you if you needed it? Thanks, Chain :)

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7617
Joined: December 30th, 2011, 6:00 pm
Answers: 82
Contact:

Using Store Content for Opportunities

Post by Chain_Reaction » December 4th, 2019, 5:28 am

Try

Code: Select all

<CompletionEvent>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+UseHoops+Definition,Sims3StoreObjects,1,1</CompletionEvent>

User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Using Store Content for Opportunities

Post by Missy_Hissy » December 4th, 2019, 6:20 am

Well, that's definitely allowing the opportunity to stay now, so thank you! You're a genius!
Now the only issue is it's refusing to acknowledge that as completed but that should be easy enough to solve (it happens to me all the time). Thank Chain! :D

User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Using Store Content for Opportunities

Post by Missy_Hissy » December 4th, 2019, 10:26 am

MissPatTS3 wrote:
December 3rd, 2019, 5:17 pm
wow, that would open some seriously wide door to custom career creation if expanded to FT careers!

I would even say that for custom career creators, it would create a... wait for it... reaction in chain.

Hopefully Chain can jump in the conversation (and laugh at my joke). Fingers crossed (for the career thing, not for Chain laughing at my joke. I know he'll laugh. Why wouldn't he?)
Well if I can get this working, then the sky's the limit when it comes to the opportunities and other careers I can do. All fingers crossed! :D

User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Using Store Content for Opportunities

Post by Missy_Hissy » December 4th, 2019, 12:00 pm

Chain_Reaction post_id=70371 time=1575455290 user_id=2 wrote: Try

Code: Select all

<CompletionEvent>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+UseHoops+Definition,Sims3StoreObjects,1,1</CompletionEvent>
Okay, so this is definitely getting the opportunities to stay in place, which is great.
The issue is, as above, they won't complete. The interaction completes as it should but the opportunity doesn't. It seems like it won't register that the interaction is done. :huh: Which has me puzzled, since I can't see what's gone wrong. The codes now look like this:

<OpportunitiesSetup>
<GUID>Basketball_PracticePerfect</GUID>
<Icon>Basketball_Pic_s</Icon>
<RepeatLevel>Always</RepeatLevel>
<CompletionEvent>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+UseHoops+Definition,Sims3StoreObjects,1,1</CompletionEvent>
</OpportunitiesSetup>

And:
<OpportunitiesSetup>
<GUID>Basketball_ChallengeAccepted</GUID>
<Icon>Basketball_Pic_s</Icon>
<RepeatLevel>Always</RepeatLevel>
<CompletionEvent>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+ChallengePlayer+Definition,Sims3StoreObjects,1,1</CompletionEvent>
<Target>Sim</Target>
<TargetData>Stranger,Athletic,2,10</TargetData>
</OpportunitiesSetup>

This sort of thing does happen to me quite a bit and I can't always solve them. So any thoughts on what might be doing this would be greatly appreciated! <3

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7617
Joined: December 30th, 2011, 6:00 pm
Answers: 82
Contact:

Using Store Content for Opportunities

Post by Chain_Reaction » December 4th, 2019, 11:32 pm

Does this change anything?

Code: Select all

<CompletionEvent>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+UseHoops+Definition,Sims3StoreObjects,1,1,Any</CompletionEvent>

User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Using Store Content for Opportunities

Post by Missy_Hissy » December 5th, 2019, 4:20 am

Chain_Reaction wrote:
December 4th, 2019, 11:32 pm
Does this change anything?

Code: Select all

<CompletionEvent>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+UseHoops+Definition,Sims3StoreObjects,1,1,Any</CompletionEvent>
Hmm. Now I get a Selector script error come up when clicking on the basketball hoop. It's only while either of those opportunities are active but it seems to disable all interactions with the hoop and generates a Selector error instead. If I remove the opportunity, the interactions come back and work just fine.
I've zipped all the errors up and uploaded them, in case they help at all: http://www.simfileshare.net/download/1483518/

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7617
Joined: December 30th, 2011, 6:00 pm
Answers: 82
Contact:

Using Store Content for Opportunities

Post by Chain_Reaction » December 5th, 2019, 5:31 am

Bad news. I think you're getting that because those two interactions don't have a standard instance like most interactions do. If you want to test my theory, use the 'PlayTogether' interaction instead and see if it works.

Post Reply