University Degree Bonuses for Custom Careers

Apply within. 6 years of experience required. Must not like coffee.
Valecing
Reactions:
Posts: 95
Joined: July 23rd, 2017, 6:00 pm

University Degree Bonuses for Custom Careers

Post by Valecing » April 8th, 2018, 10:22 am

As the title says, how do you apply the "jump-start" bonus on custom careers that vanilla careers have with a related degree? Modded livelihoods like lawyer, boxer, or model; can one integrate them with communications, physical education or fine arts? Is there a mod that does this or does one have to the coding oneself?

Valecing
Reactions:
Posts: 95
Joined: July 23rd, 2017, 6:00 pm

Post by Valecing » April 9th, 2018, 10:03 am

Guys, I noticed that in the Nraas Academics add on module (to master controller) you associated active careers (e.g. Rider, Firefighter, Daycare) to degrees they originally received no bonus from. If I input the names of custom careers alongside those EA Active careers, beside <AssociatedOccupationNameEnum>, will it give the same effect to the custom career?

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 » December 21st, 2018, 2:35 pm

Unfortunately it appears that doesn't work. I'll take a stab and say the Degrees don't recognise the <altguid> field. Twallan said at one point he'd like to add a <Degree> field to the Careers mod, so you can assign an appropriate degree to your custom career. He didn't get around to it unfortunately but there's bound to be a way to make it work.
I've been working on this for ages and I bang my head against the wall every time because whatever I do, I just cannot make it work.

rrfish
Reactions:
Posts: 1
Joined: December 20th, 2018, 5:43 pm

University Degree Bonuses for Custom Careers

Post by rrfish » December 22nd, 2018, 9:09 pm

Please let me know if you find a way. All I've wanted is for Twallan's self-employed careers to connect to appropriate degrees.

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 » December 23rd, 2018, 8:08 am

Of course I will. I'd love to get many of my careers to link to a degree and therefore benefit from the advance. Eventually, I do want to do custom degrees myself but it'll feel reasonably pointless if I can then link them to my existing careers.

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

University Degree Bonuses for Custom Careers

Post by franzilla » December 27th, 2018, 9:18 pm

I haven't tried to associate a degree with a custom career via the .xml alone because I assumed that was left to rest on Twallan's "to-do" list. I'd be interested in this if someone figured it out though!

However, associating a custom career with one of the default degrees is pretty simple with some additions to the .dll in your .package. There's probably a less dumb/clunky way than how I did it, but I was able to iterate through the degrees in AcademicDegreeManager's dictionary until I hit the target one. From there, I added the FNV64 hashed form of my custom career's name to the target degree's AssociatedOccupation's list. I believe I explicitly cast the hashed name as an OccupationName as well

Linking a custom career to a custom degree, however, is not something I've tried. I was definitely wanting to give a stab at it though. I have a degree in the works and a four-day weekend on the horizon. Woo!

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 » December 28th, 2018, 3:27 am

I never thought of trying that out. Thanks for the tip, that could prove handy at the very least for the time being! :D
Good luck with the custom degree! I can't get mine to show on the Aptitude Test (but then the Education Degree doesn't show on their either) nor does it show on the panel when I enrol the Sim in University but again, I can't find the Education on either.

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 8th, 2019, 5:23 pm

franzilla wrote:
December 27th, 2018, 9:18 pm
Linking a custom career to a custom degree, however, is not something I've tried. I was definitely wanting to give a stab at it though. I have a degree in the works and a four-day weekend on the horizon. Woo!
Did you have any luck with this? I still can't get the degree to show up, even with MC.

franzilla wrote:
December 27th, 2018, 9:18 pm

However, associating a custom career with one of the default degrees is pretty simple with some additions to the .dll in your .package. There's probably a less dumb/clunky way than how I did it, but I was able to iterate through the degrees in AcademicDegreeManager's dictionary until I hit the target one. From there, I added the FNV64 hashed form of my custom career's name to the target degree's AssociatedOccupation's list. I believe I explicitly cast the hashed name as an OccupationName as well


So to clarify...did you put this just in your .dll in your .package, or did you also create an AcademicDegree XML within your .package?

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

University Degree Bonuses for Custom Careers

Post by franzilla » January 8th, 2019, 6:47 pm

Missy_Hissy wrote:
January 8th, 2019, 5:23 pm
Did you have any luck with this? I still can't get the degree to show up, even with MC.

Yes, I did! (Sorry for not coming back to update. I fell down another career-related rabbit hole.) My degree appears as an option (as does the custom Education degree) in the Enrollment Options but ONLY the second+ time after opening the Send Sims to University menu. I've no idea why it doesn't show up the first time, and I haven't looked into it yet. I was also able to successfully link it to a custom career via the AcademicDegree .xml, and the bonus appears as expected. :)

Missy_Hissy wrote:
January 8th, 2019, 5:23 pm
So to clarify...did you put this just in your .dll in your .package, or did you also create an AcademicDegree XML within your .package?

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!

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

University Degree Bonuses for Custom Careers

Post by franzilla » January 8th, 2019, 10:32 pm

I forgot to mention that the Education degree and my custom degree only appeared in MasterController's version of the Send Sims to University menu. Neither appeared under the default menu for me.

Post Reply