Custom Degree Modding

Talk nerdy to us here.
User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Custom Degree Modding

Post by MissPatTS3 » September 9th, 2020, 2:36 am

Hello! I've spent the last few days trying to understand how Twallan managed to get the "Education" degree to work.

My best result, based on following losely Missy's awesome tutorial for custom careers, and ensuring I got my strings, keys, FNV Hash values and descriptions without errors is this (screenshot below). As you can see, the game loads my custom degree properly but outputs EA game code, where it should show my custom degree's course, lecture and lab descriptions:
Image

I took more comparative screenshots to show how Twallan's degree shows up in the game (that is to say properly), versus how my custom degree shows up (or rather: fails to show up):
https://www.dropbox.com/s/zoszchq0w3zhj ... s.zip?dl=0

I've just started to learn more about script modding and looked up closely the code of Twallan's "Education" degree package. I couldn't see any file or piece of code that I could have possibly left out in my attempt to mod a custom degree like his. I'm down to thinking that I should rather be "adding" code to my package file... but what could that be?

Here is my Custom Degree package file so far: https://www.dropbox.com/s/aklic5wizbuox ... e.zip?dl=0

Could you give me suggestions on what to try to do next or tell me straight up if custom degrees are impossible to achieve? Will keep my fingers crossed until it hurts. (Or before. Likely way before.)

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

Custom Degree Modding

Post by Missy_Hissy » September 9th, 2020, 2:49 am

*Sets up camp in thread* Image

User avatar
crashley_1784
Reactions:
Posts: 32
Joined: August 14th, 2019, 11:57 pm
Location: Houston, TX
Contact:

Custom Degree Modding

Post by crashley_1784 » September 9th, 2020, 9:25 am

Missy_Hissy wrote:
September 9th, 2020, 2:49 am
*Sets up camp in thread* Image
Same!!

User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Custom Degree Modding

Post by MissPatTS3 » September 9th, 2020, 11:00 am

Also, to note::
  • making a sim quit my custom degree via MC only works 50% of the time, no matter if it is an active sim or a townie. The other 50% of the time, Error Trap generates a notification.
  • Making a sim quit my custom degree via the smartphone works 100% of the time, but requires to make the sim active in order to use the smartphone which is not ideal for rotational gameplay.
  • Sims enrolled in my custom degree cannot attend a class at this time: when their class is scheduled to start, the "go to class" icon is queued up, but as soon as they get in motion to go to the uni rabbithole (annex or school of arts), the interaction is suddenly cancelled. Clicking on "go to class" button in the career tab triggers the notification "this is not the time yet for your class" even though the career tab says "missing class!".

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

Custom Degree Modding

Post by Missy_Hissy » September 9th, 2020, 12:05 pm

You've achieved more than I did - I couldn't even get mine to show up! :yes:

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

Custom Degree Modding

Post by Chain_Reaction » September 11th, 2020, 2:38 am

Code: Select all

<Job_Id>AcademicFrenchLanguageLab</Job_Id>
<Job_Title>FrenchLanguageLab</Job_Title>

Does adding Academic in front of all Job_Title's change anything?

FYI I'd use a creator prefix when doing anything to keep the chance of conflict with other creators low. Notice how twallan's are prefixed with NRaas. But you can bother with that later so you don't blow things up just trying to get it working.

User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Custom Degree Modding

Post by MissPatTS3 » September 11th, 2020, 10:55 am

1) "Does adding Academic in front of all Job_Title's change anything?" I'll give it a shot and tell you later today.

2) Will add a creator prefix, it's ok, it should be quicker to change than if it was for a 10-level career.

User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Custom Degree Modding

Post by MissPatTS3 » September 12th, 2020, 1:39 am

I added my creator name everywhere!

Update:
1) Making the Job_Id match the Job_Title makes the class schedule empty. I can still see an empty slot for my custom degree in the university enrollment dialog, and I can still enroll active & townie sims in my custom degree, but the class schedule loads absolutely nothing. It also means that I never got to have the blue performance bar on my active sim's career tab.
2) It seems to be the mismatch between the Job_Id and the Job_Title that outputs the game code. Looks like my "progress" is just the result of a typo after all because the regular Uni degrees have matching code for "Job_Title" and "Job_ID". Ugh.
3) In the latest version of my custom degree file, I mismatched Job_Titles and Job_IDs again since it is what gets me to have the uni performance bar and the class schedule properly displayed. I also added all the uni rabbithole lots to the "Destination_arguments" of the top Job_ID (courses) and the Uni EP basic courses happening at the CollegeOfScience and CollegeOfBusiness rabbitholes showed up just fine. I seemed to be able to quit my custom degree via MC without any ErrorTrap notifications this round so that's still some progress. The problem remains that, the game code is still outputed in lieu of the course/lecture/tab descriptions and it is still impossible for my active sim to attend a custom degree class.

I guess the game doesn't really recognize my custom degree name and custom courses/lectures/labs since I can't get these elements to show up and function properly. Le sigh.

Any other idea on what I can try next?

Here is the latest version of my custom degree: https://www.dropbox.com/s/x0dupe2fu38ac ... 2.zip?dl=0

User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Custom Degree Modding

Post by MissPatTS3 » September 14th, 2020, 1:48 am

MissPatTS3 post_id=77015 time=1599889168 user_id=17350 wrote: 3) In the latest version of my custom degree file, I mismatched Job_Titles and Job_IDs again since it is what gets me to have the uni performance bar and the class schedule properly displayed.
My above statement is inaccurate, and the package file I shared in the same post easily contradicts it. I did have matching words for Job_Titles and Job_IDs. So the problem was elsewhere.

I kept playing with the file this week-end as I felt I was *this* close to solving The Great Twallan Mystery - aka the Education Custom Degree. Chain, I followed your advice because, well, you're the script modding boss - and also because your advice was consistent with EA's own code for their academic degree - and kept matching words for Job_Titles and Job_IDs.

Turns out, I finally found where the "real" problem was (it did not stop at the Job_Titles and Job_IDs) and I solved the mystery and my custom degree now works beautifully:

Image

More comparative images (compared to my failed attempts above, that is) can be found here: https://www.dropbox.com/s/d8bjhy2u2vtp1 ... s.zip?dl=0

The French Language Custom Degree career is officially queued for minor edits + beta testing.

Merci to you all for the powerful insights and support! Love this forum a little more every day <3

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

Custom Degree Modding

Post by Chain_Reaction » September 15th, 2020, 5:50 am

MissPatTS3 wrote:
September 14th, 2020, 1:48 am
Turns out, I finally found where the "real" problem was (it did not stop at the Job_Titles and Job_IDs)
Well I'm glad you got it working but what was the real problem?

Post Reply