University Degree Bonuses for Custom Careers

Apply within. 6 years of experience required. Must not like coffee.
User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

University Degree Bonuses for Custom Careers

Post by Missy_Hissy » January 9th, 2019, 7:23 am

franzilla post_id=62227 time=1546991233 user_id=17722 wrote: Originally, I didn't use an AcademicDegree .xml file within my .package to associate my career with a default degree. However, I changed how I associate the career with a degree, and now I use the AcademicDegree .xml to associate them. In the .dll, instead of iterating through the degree dictionary and adding it that way, I just add my career to the OccupationNames enum early on. This makes it easily accessible later!
I'm obviously overlooking something obvious here because I still cannot get these degrees to link to my careers (either that or I'm being exceptionally thick at the moment). Do you have an AdcademicDegree XML within your .package? That's what I've been doing (and associating that in the .dll file) but the sims don't get the bonus? An example:

Within the [numbers].dll:
<AcademicDegreeFile>
<File></File>
</AcademicDegreeFile>
<AcademicDegreeFile>
<File>Banking.AcademicDegree</File>
</AcademicDegreeFile>

Then within the .package:
Banking.AcademicDegree XML

And finally within that:
<?xml version="1.0"?>
<AcademicDegrees>
<Degrees>
<AcademicDegreeEnum>Undefined</AcademicDegreeEnum>
<AcademicDegreeName></AcademicDegreeName>
<AcademicDegreeDesc></AcademicDegreeDesc>
<ResponsibilityTooltipKey></ResponsibilityTooltipKey>
<AcademicDegreeIcon></AcademicDegreeIcon>
<AcademicDegreeRequiredCreditHours>0</AcademicDegreeRequiredCreditHours>
<AcademicDegreeCostPerCredit>0</AcademicDegreeCostPerCredit>
<AcademicDefaultCourseID>AcademicsGenericRabbitHoleCourse</AcademicDefaultCourseID>
<AcademicDefaultLectureID>Invalid</AcademicDefaultLectureID>
<AcademicDefaultLabID>Invalid</AcademicDefaultLabID>
<AssociatedOccupationNameEnum>Undefined</AssociatedOccupationNameEnum>
<GrantedOccupationNameEnum>Undefined</GrantedOccupationNameEnum>
<SkillsThatGrantXP></SkillsThatGrantXP>
<BeneficialTraits></BeneficialTraits>
<DetrimentalTraits></DetrimentalTraits>
<SuggestedTraits></SuggestedTraits>
</Degrees>
<Degrees>
<AcademicDegreeEnum>Business</AcademicDegreeEnum>
<AssociatedOccupationNameEnum>Banking</AssociatedOccupationNameEnum>
</Degrees>
</AcademicDegrees>

So what have I missed? I feel like this is staring me in the face and there's a little sign over my head that's saying "Not Getting It" :D

User avatar
franzilla
Reactions:
Posts: 10
Joined: March 4th, 2018, 6:00 pm

University Degree Bonuses for Custom Careers

Post by franzilla » January 31st, 2019, 5:33 am

I do have an AcademicDegree .xml file, and I associated my career with my custom degree (and a default EA degree) there. When I mentioned editing the .dll, however, I meant the actual .dll (S3SA tag in s3pe?) rather than the .xml file with ".dll" in the name.

When the custom degrees are loaded, I don't believe they recognize the custom career guids right off the bat. So, I just added my degree to the OccupationNames enum upon application start in my .dll. I can't view it now, but I believe it was something small along the lines of the
following with an appropriate method to handle it:

Code: Select all

AddEnum&lt;OccupationNames&gt;("YourCustomCareerName", 12345678902109876543uL);
It's the same sort of thing I've used to add custom LTWs and traits. (I did borrow it from SimsMx's Hypochondriac and Velocitygrass's LTW tutorial after all!)

Also, I opened my game last night, and found both the Education degree and my custom degree in the normal Send Sims to University menu and the MasterController one, but I'd done nothing different. Perhaps I just wasn't waiting long enough during my initial tries? I've no idea. Unfortunately, when I went to go play around with my degree at university, I found that it is victim to the same issues I've had with the Education degree. Active sims with the major are unable to take the classes and auto-cancel such interactions from their queues. I have to use MC to just give them the degree, but the career bonus applies just fine! Getting a default degree and its respective bonus on a custom career works smoothly though.
---
Edited! (YourCustomCAREERName not DegreeName, ha!)

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

University Degree Bonuses for Custom Careers

Post by Missy_Hissy » January 31st, 2019, 5:59 am

So linking the default degrees to a custom career is along the script modding lines, is that right?

User avatar
franzilla
Reactions:
Posts: 10
Joined: March 4th, 2018, 6:00 pm

University Degree Bonuses for Custom Careers

Post by franzilla » January 31st, 2019, 6:05 am

That is what has worked for me. It is quite likely I totally overlooked an easier way that deals only with the .xml files.

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

University Degree Bonuses for Custom Careers

Post by Missy_Hissy » January 31st, 2019, 6:14 am

I don't think you've overlooked anything easier. I've tried multiple different methods using just XML and nothing seems to work. I've got no experience whatsoever with script modding so it looks like this might have to sit on the back burner for a while longer.

Thanks for the information though. If I can ever get my brain to grasp the script modding, I'll give this a go. At the moment that's unlikely to happen in the very near future.

Edit: Quick question while we're on the subject. Aside from jumping into the career at level 4, are there any other major benefits to gaining a degree, as far as careers go? I haven't worked much with the University system and certainly not for a while. I think I read somewhere they get higher pay, is that right? Just wondered if there was anything else that's a bonus and incentive to gain a degree.

User avatar
franzilla
Reactions:
Posts: 10
Joined: March 4th, 2018, 6:00 pm

University Degree Bonuses for Custom Careers

Post by franzilla » March 28th, 2021, 9:07 pm

It's been years a while, so you probably don't need an answer to this anymore, but I think this is the rundown of degree benefits:
  • A diploma (Ooo~ Ahhh~)
  • An extra trait slot
  • Degree-related socials
    • Compliment Degree
    • Brag About Degree
    • Make Fun of Degree
  • Career benefits
    • A Students
      • Start at level 4 of related career(s)
      • 150% career salary increase (2.5× base)
      • 100% career performance increase (2× base)
    • B Students
      • Start at level 3 of related career(s)
      • 75% career salary increase (1.75× base)
      • 75% career performance increase (1.75× base)
      C Students
      • Start at level 2 of related career(s)
      • 50% career salary increase (1.5× base)
      • 50% career performance increase (1.5× base)
      D Students
      • 25% career salary increase (1.25× base)
      • 25% career performance increase (1.25× base)
I hope your script modding has worked out for you! I've recently found time to get back to it for the first time in forever. :)

Post Reply