Page 1 of 1

Afterschool Activity Auditions/Recitals

Posted: April 18th, 2019, 6:29 am
by Missy_Hissy
I've been browsing through some of the opportunity files for the game and stumbled across the file for EP4 (Generations), which includes the Recitals/Auditions for the afterschool activities in that expansion. The file is straightforward enough but I have a query. I can't see anywhere to allocate the audition/recital to the activities. Here's an example:

<OpportunitiesSetup>
<ProductVersion>EP4</ProductVersion>
<GUID>EP4_Activity_MusicAudition</GUID>
<Icon>aa_club_music,EP4</Icon>
<Timeout>AfterschoolRecitalOrAudition</Timeout>
<TimeoutData>1</TimeoutData>
<TimeoutEnd>8:00PM</TimeoutEnd>
<CompletionEvent>kAttendedAudition</CompletionEvent>
<ChanceToGetOnPhone>0</ChanceToGetOnPhone>
<OpportunityType>Location</OpportunityType>
<Target>RabbitHole</Target>
<TargetData>School</TargetData>
</OpportunitiesSetup>

I don't see anywhere to link the audition to the actual music club. This all goes into the OpportunityFile in the package but having looked through EA's Events file, there's no further reference. Normally for career opportunities, there's a reference in the Events file, stating the GUID of the career and levels to appear etc. So how would one go about linking a custom audition/recital to a custom afterschool activity? I've looked in Twallans Schools module for the Careers mod but I don't think he did any auditions for them, so I can't reference that. Any thoughts?
If not, I'll simply code away, test and see if the school explodes or not :D

Afterschool Activity Auditions/Recitals

Posted: April 18th, 2019, 8:46 pm
by Chain_Reaction
This is hard coded I'm afraid. When the game decides to give an audition/recital opportunity it uses a core function to determine which to give based on what club they are in. From a glance I don't think he worked around this which probably explains why he didn't do any custom auditions for them.

Afterschool Activity Auditions/Recitals

Posted: April 19th, 2019, 3:02 am
by Missy_Hissy
Now that explains it. Ahh well, thanks for clarifying, Chain!